[95869] in RedHat Linux List
Re: resolver search domains
daemon@ATHENA.MIT.EDU (Eric Lee Green)
Wed Oct 21 21:21:10 1998
Date: Wed, 21 Oct 1998 21:22:06 -0400 (EDT)
From: Eric Lee Green <eric@linux-hw.com>
To: Mike Blatchley <mblatch@orci.com>
cc: redhat-list@redhat.com
In-Reply-To: <Pine.BSI.3.95.981020114108.24916B-100000@rocky.orci.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Tue, 20 Oct 1998, Mike Blatchley wrote:
> I have a question regarding the resolver routines when they receive a
> query from a Win-95 host and that query is not fully qualified.
> i.e., if the Win client machine does not know it's domain name and it does
> a name server query for "mail", I see that the query request for "mail" is
> received at my Linux box, but bind/resolve does not find an address.
Err, BIND and the resolver are two different sets of software. The
resolver lives in the "C" library and, when you try to open a network
connection using a name, it uses /etc/resolv.conf to basically do these
steps (assuming "order hosts,bind"):
1) try the "raw" name against /etc/hosts
2) try the "raw" name against the first...second...third nameserver
3) Try the "extended" name(name+domain) against /etc/hosts
4) Try the "extended" name against first...second...third nameserver.
BIND, on the other hand, is a separate piece of software which sits
and sucks on a network socket as a daemon and implements a
nameserver. It does not add anything to the name that it's sent. It
simply tries to look it up in its various dictionaries. BIND knows nothing
about /etc/resolv.conf.
--
Eric Lee Green eric@linux-hw.com http://www.linux-hw.com/~eric
"To call Microsoft an innovator is like calling the Pope Jewish ..."
-- James Love (Consumer Project on Technology)
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.