Re: resolver problem
From: Dances With Crows (danceswithcrows_at_usa.net)
Date: 07/15/03
- Next message: Dances With Crows: "Re: Which Linux distribution would work with my system"
- Previous message: Tony Curtis: "Re: resolver problem"
- In reply to: Michael Lodman: "resolver problem"
- Next in thread: John Hasler: "Re: resolver problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Dances With Crows: "Re: Which Linux distribution would work with my system"
- Previous message: Tony Curtis: "Re: resolver problem"
- In reply to: Michael Lodman: "resolver problem"
- Next in thread: John Hasler: "Re: resolver problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|