Loading ...
Sorry, an error occurred while loading the content.

Strange dns problems

Expand Messages
  • hillboll
    Hi! I m running slugos 5.3-beta, with kernel 2.6.27.8, on a NSLU2. Accessing the machine via ssh or web works fine. But I have some strange dns problems. I
    Message 1 of 1 , Dec 12, 2009
    • 0 Attachment
      Hi!

      I'm running slugos 5.3-beta, with kernel 2.6.27.8, on a NSLU2.
      Accessing the machine via ssh or web works fine.
      But I have some strange dns problems.
      I can't ping hosts with by their names. But it works if I ping their ip-address.

      What works: dig, host, nslookup, dnstrace, ping -4 <hostname>, ping <ip-address>
      What don't work: ping <hostname>, websurf, ipkg install, etc

      A workaround to the get ipkg to work was to enter its server
      ip-address+hostname in to /etc/hosts.

      Configuration files

      /etc/network/interfaces
      # The loopback interface
      auto lo
      iface lo inet loopback
      #
      # The interface used by default during boot
      auto eth0
      iface eth0 inet static
      address 192.168.0.180
      netmask 255.255.255.0
      broadcast 192.168.0.255
      gateway 192.168.0.1

      /etc/resolv.conf
      nameserver 192.168.0.1

      Routing table:
      Kernel IP routing table
      Destination Gateway Genmask Flags Metric Ref Use Iface
      192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
      default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

      ifconfig eth0
      eth0 Link encap:Ethernet HWaddr 00:1D:7E:AB:65:DE
      inet addr:192.168.0.180 Bcast:192.168.0.255 Mask:255.255.255.0
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:20810 errors:0 dropped:0 overruns:0 frame:0
      TX packets:25633 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:100
      RX bytes:1655670 (1.5 MiB) TX bytes:26765050 (25.5 MiB)


      Any suggestions of what I'm missing here.
      Pleas.

      /H
    Your message has been successfully submitted and would be delivered to recipients shortly.