#1  
Old 1st May 2006, 00:21
thesquib thesquib is offline
Member
 
Join Date: Mar 2006
Location: New Zealand
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to thesquib
Default Problems with DNS

Hey all,

I've been running through a few issues on a test server i've setup using the perfect debian setup. Its been sitting around for a month or so, and isn't not in use for another month.

Basically service drops every now and again.. and i'm pretty sure its DNS related. Currently I cannot ping any ip or name outside of our local network. If I try and ping a name I do not get any response. If I ping an ip address I get the same result. However, on the reverse side of things, web services running on the server are accessible.

I have been attempting to fix up an issue where all network services go down on the machine (web services, mail, etc) and this is probably related. I'm new to all of this so I may have configured things the wrong way.

Cheers for any help.

this is my /sbin/route
Destination Gateway Genmask Flags Metric Ref Use Iface
203.109.145.64 * 255.255.255.192 U 0 0 0 eth1
default 203.109.145.66 0.0.0.0 UG 0 0 0 eth1

Now this is a bit confusing - because technically 203.109.145.64 doesn't exist.. And i'm not sure how it got into the route table.


When I attempt a dig:
; <<>> DiG 9.2.4 <<>> google.co.nz
;; global options: printcmd
;; connection timed out; no servers could be reached


When I attempt to restart networking:
>Setting up IP spoofing protection: rp_filter.
>Reconfiguring network interfaces...ifup: interface lo already configured
>done.


Contents of resolv.conf:
search thinkdata.co.nz
nameserver 203.109.145.75


When I check the hostname:
hostname
torpedo


The contents of the hosts file:
127.0.0.1 localhost.thinkdata.co.nz localhost
203.109.145.75 torpedo.thinkdata.co.nz torpedo

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Reply With Quote
Sponsored Links
  #2  
Old 1st May 2006, 15:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Is your server in a local network (behind a router), or is it connected directly to the internet? If the first, what's the gateway IP address? What's the server's IP address?
What's in /etc/network interfaces? What's the output of
Code:
ifconfig
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 2nd May 2006, 05:21
thesquib thesquib is offline
Member
 
Join Date: Mar 2006
Location: New Zealand
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to thesquib
Default

eth1 Link encap:Ethernet HWaddr 00:08:C7:91:C4:BB
inet addr:203.109.145.75 Bcast:203.109.145.255 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:337109 errors:1 dropped:0 overruns:0 frame:1
TX packets:55375 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28037319 (26.7 MiB) TX bytes:48418516 (46.1 MiB)
Interrupt:34 Base address:0xc020 Memory:f4be0000-f4be0038

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:678300 errors:0 dropped:0 overruns:0 frame:0
TX packets:678300 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:63058004 (60.1 MiB) TX bytes:63058004 (60.1 MiB)
Reply With Quote
  #4  
Old 2nd May 2006, 15:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

So it's connected directly to the internet? What's in /etc/network interfaces?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 2nd May 2006, 21:40
thesquib thesquib is offline
Member
 
Join Date: Mar 2006
Location: New Zealand
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to thesquib
Default

<interfaces>

auto lo
iface lo inet loopback

# The primary network interface
auto eth1
iface eth1 inet static
address 203.109.145.75
netmask 255.255.255.192
gateway 203.109.145.66
network 203.109.145.0
broadcast 203.109.145.255
Reply With Quote
  #6  
Old 2nd May 2006, 22:41
thesquib thesquib is offline
Member
 
Join Date: Mar 2006
Location: New Zealand
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to thesquib
Default

I can ping fine now... i had the gateway wrong. sorry to waste your time on that. I must have mistyped it when I was going through all my config files in an effort to fix the weird problem with the drop in mail/web/ssh services. will continue monitoring it
Reply With Quote
  #7  
Old 3rd May 2006, 15:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

You can use www.subnetmask.info to find out if your network settings are fine.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 3rd May 2006, 21:37
thesquib thesquib is offline
Member
 
Join Date: Mar 2006
Location: New Zealand
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to thesquib
 
Default

Thanks falko,
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with groups/grpconv linuxfast General 28 21st April 2008 09:35
Empty Recycle Bin jon335 General 40 6th May 2006 11:56
Help! Real newbie having problems installing Linux t-kiss Kernel Questions 5 4th April 2006 15:14
problems mysql rayit General 15 1st April 2006 04:57
Problems getting through the installation klausagnoletti Installation/Configuration 4 26th September 2005 12:23


All times are GMT +2. The time now is 10:34.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.