Problems with DNS
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
188.8.131.52 * 255.255.255.192 U 0 0 0 eth1
default 184.108.40.206 0.0.0.0 UG 0 0 0 eth1
Now this is a bit confusing - because technically 220.127.116.11 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
Contents of resolv.conf:
When I check the hostname:
The contents of the hosts file:
127.0.0.1 localhost.thinkdata.co.nz localhost
18.104.22.168 torpedo.thinkdata.co.nz torpedo
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback