Re: resolver problem

From: Dances With Crows (danceswithcrows_at_usa.net)
Date: 07/15/03


Date: 15 Jul 2003 00:40:24 GMT

On Tue, 15 Jul 2003 00:16:27 GMT, Michael Lodman staggered into the
Black Sun and said:
> Platform: Intel xscale BE
> OS: MV 2.4.17

MV? This a distro, or what? If this isn't a Linux distro of some sort,
you're in the wrong newsgroup. This message assumes Linux behavior,
other OSes may vary, "man resolv.conf" for the complete story.

> I can't seem to get the resolver working. I have a resolv.conf file,
> but the system will never translate a name for me. I can ping
> addresses directly on the internet, just not by name.

/etc/resolv.conf 's format is quite simple:

search example.org
nameserver 1.2.3.4
nameserver 5.6.7.8

The "search" line is optional but recommended. You set this to the
domain name of wherever you are, and if you try to resolve "machine",
the resolver appends "example.org" and then tries to resolve
"machine.example.org".

There must be at least one "nameserver" line, and it must contain the IP
address of a valid Domain Name Server. If there are 2 nameserver lines,
the first one is used as the primary DNS, and the second one gets
queried if the first one doesn't respond. If you don't know the IP of
your DNS machine, talk to your sysadmin and find out. If your device
gets its IP via DHCP, the DHCP server should fill in the DNS entries
automatically.

You can use "host -v somewhere.org" to get a better look at what the
name resolver is doing. HTH,

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / 
http://www.brainbench.com     /  "He is a rhythmic movement of the
-----------------------------/    penguins, is Tux." --MegaHAL


Relevant Pages

  • Re: host/domain dns resolution conflict
    ... I have a linux ... > which is registered publicly to resolve to say 10.1.1.100. ... > addresses of my dns servers. ... > Do I need to rename my domain? ...
    (microsoft.public.win2000.dns)
  • Re: bind problem
    ... > would leave you with only one delegated nameserver, ... I would suggest instead that you moved your DNS hosting ... PDNS and SDNS for all the domains we are hosting. ... resolve any domains which is binded to it. ...
    (Fedora)
  • Re: bind problem
    ... >> nameserver, which is not a great idea anyway from a reliability point ... >> you moved your DNS hosting elsewhere, ... > able to resolve any domains which is binded to it. ...
    (Fedora)
  • Re: resolver problem
    ... If this isn't a Linux distro of some sort, ... nameserver 1.2.3.4 ... domain name of wherever you are, and if you try to resolve "machine", ... your DNS machine, talk to your sysadmin and find out. ...
    (comp.os.linux.misc)
  • Re: Why Unnacceptable DNS With Cable Provider But Not DSL?
    ... [RoadRunner's DNS were taking 20-45 seconds to resolve names] ... > This is a typical DHCP=fed home account. ... Use ethereal on Linux and Windows XP to trace the DNS resolving. ...
    (comp.os.linux.networking)