Name resolution with Sinus-111 wireless DSL router

Hudson Delbert J Contr 61 CS/SCBN Delbert.Hudson at LOSANGELES.AF.MIL
Wed Nov 10 20:35:28 UTC 2004


randomz....?,

anyway, small lesson in dns...

resolv.conf is used to help BIND configure dns server lookups.

if it ain't there, the resolver code assumes the name server is on your
local host (127.0.0.1).

the nameserver option gives the IP-address of the name server(S) to use.

one can put upto 3 ? (not sure if more than this) in the list and they are
tried in list order, so
put the most reliable server first.

the domain option and search option deal with default domains that are
tacked onto a hostname
if BIND fails to resolve it with the first query.

The search option specifies a list of domain names to be tried. The list
items are separated by spaces or tabs.

If this sounds confusing to you, consider this sample resolv.conf file for
the piranha domain:

           # /etc/resolv.conf
           domain         piranha.com
           #
           # We use fishtank as central internal nameserver:
           nameserver     172.16.1.1


When resolving the name sharktank, the resolver would look up...

1.	sharktank

	-- failing this...

2.	sharktank.piranha.com

	-- failing this.....

3.  sharktank.com.

-----Original Message-----
From: ubuntu-users-bounces at lists.ubuntu.com
[mailto:ubuntu-users-bounces at lists.ubuntu.com]On Behalf Of randomZ
Sent: Wednesday, November 10, 2004 12:13 PM
To: ubuntu-users at lists.ubuntu.com
Subject: Re: Name resolution with Sinus-111 wireless DSL router



Hi,

Zugwrack Wrote: 
> I had trouble once where my D-Link router was trying to renew the DHCP
> release and it was writing back to resolv.conf the incorrect ip
> address...it could be something similar...If you find this is the case
> you can add PEERDNS=No(where on Ubuntu I am unsure of)...in the other
> distro it was modules.conf...perhaps this will help...

Thanks a lot, but I have no idea what you're talking about. :(
What is resolv.conf? What is saved there? Where might I add the
mentioned option?
My /etc/resolv.conf file contains only the entry "nameserver
192.168.2.1", which is my router, so I'd think it is correct.

Perhaps adding my provider's DNS server to the list of known DNS
servers would help? If so, how could I find out what this server's
address is?

Can anyone help with this? Thanks in advance.

-Sebastian


-- 
randomZ

-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list