Problems with DNS

Discussion in 'Server Operation' started by thesquib, May 1, 2006.

  1. thesquib

    thesquib New Member

    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 * U 0 0 0 eth1
    default UG 0 0 0 eth1

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

    When I attempt a dig:
    ; <<>> DiG 9.2.4 <<>>
    ;; 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: localhost 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
  2. falko

    falko Super Moderator ISPConfig Developer

    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
  3. thesquib

    thesquib New Member

    eth1 Link encap:Ethernet HWaddr 00:08:C7:91:C4:BB
    inet addr: Bcast: Mask:
    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: Mask:
    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)
  4. falko

    falko Super Moderator ISPConfig Developer

    So it's connected directly to the internet? What's in /etc/network interfaces?
  5. thesquib

    thesquib New Member


    auto lo
    iface lo inet loopback

    # The primary network interface
    auto eth1
    iface eth1 inet static
  6. thesquib

    thesquib New Member

    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
  7. falko

    falko Super Moderator ISPConfig Developer

  8. thesquib

    thesquib New Member

    Thanks falko,

Share This Page