Results 1 to 4 of 4

Thread: /etc/resolv.conf is good but DNS is not working

Hybrid View

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Posts
    2

    /etc/resolv.conf is good but DNS is not working

    Using Knoppix 3.6, booted straight off the CD with no customisations

    DHCP correctly gives my machine an IP address, and the correct default route, and correctly populates /etc/resolv.conf

    I can "dig" the name servers (not with any kind of finesse, but I can at least connect to them), and I can ping hosts inside and outside of my LAN by using IP addresses. However, when I try to ping by hostname, it fails to resolve the name to a number and fails with "unknown host".

    I have not found the first few pages of Google results helpful. What troubleshooting steps would you recommend next?

    <edit>

    You wanna hear something odd? I jusyt tried booting again to see if I could gather any other useful data, and I *can* resolve (i.e. ping by name) a.root-servers.net through m.root-servers.net, but still no other hosts that I've tried.

    </edit>

    Thanks for your time,

  2. #2
    Senior Member registered user
    Join Date
    Oct 2004
    Location
    london town
    Posts
    220
    i would try some trouble shoting with ethereal if i was you. what happens when you try to ping www.google.com does it say host not found. if it did say host not found then i would guess you wouldnt beable to surf the web at all. if you can surf the web then i guess your resolve is actuly working but it may need a few attempts to reslove the host.normaly i find with in lans pinging via host names does not always work 100% correctly

  3. #3
    Member registered user
    Join Date
    Jan 2005
    Posts
    71
    Hi,

    what does /etc/resolv.conf look like, then?

    Thomas

  4. #4
    Junior Member
    Join Date
    Feb 2005
    Posts
    2
    Quote Originally Posted by tom p
    what does /etc/resolv.conf look like, then?
    One "search" line, and three "nameserver" lines, just as a resolv.conf should. The domain name is correct (at least, it matches my ISP), and I can ping, traceroute and dig all three nameservers listed. FWIW, the same box with Win2K has no (apparent) problems.

    Pureone suggested using ethereal to see exactly what is being requested and when. I suppose it's plausible that the dig mechanism is independent of -- and in my case not as broken as -- the method ping uses, but I thought they both relied on the same calls. FWIW, on this subject "host" doesn't work either.

    I'm supposed to be doing a college assignment right now, though, so I can't be as useful as perhaps I should be...

Similar Threads

  1. Change resolv.conf in LiveCD?
    By knoppa in forum Networking
    Replies: 0
    Last Post: 03-08-2006, 02:01 AM
  2. smb.conf Help
    By Vyper in forum Hardware & Booting
    Replies: 1
    Last Post: 02-13-2006, 01:45 PM
  3. lilo.conf
    By A. Jorge Garcia in forum Hdd Install / Debian / Apt
    Replies: 11
    Last Post: 12-05-2003, 05:03 PM
  4. edited /etc/resolv.conf will not stick
    By Geist3 in forum Networking
    Replies: 6
    Last Post: 08-01-2003, 12:49 PM
  5. sym link to /etc/dhcpc/resolv.conf & hd install
    By Joseph Schiller in forum Networking
    Replies: 1
    Last Post: 06-12-2003, 06:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1599.99



DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR picture

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR

$1100.00



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER picture

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER

$349.99



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$111.70



IBM POWER9 3.4GHz 8-Core Server CPU Processor Module 02CY577 01DE682 Pull picture

IBM POWER9 3.4GHz 8-Core Server CPU Processor Module 02CY577 01DE682 Pull

$24.99



IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1) picture

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)

$150.00



IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671 picture

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671

$230.00



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$225.00