DNS Configure Problem
Danny Mayer
mayer at gis.net
Sat Feb 1 17:15:30 UTC 2003
At 08:39 PM 1/28/03, Cricket Liu wrote:
>On Tuesday, January 28, 2003, at 02:36 PM, Kevin Darcy wrote:
>
> > Barry Fawthrop wrote:
> >
> >> /etc/resolv.conf
> >>
> >> has
> >> nameserver 65.32.1.70
> >> nameserver 65.32.1.65
> >> nameserver 24.73.2xx.xxx <-- My IP Address
> >> search domain1 domain2
> >> domain domain2
> >>
> >> I think ??? the line domain domain2 is my problem I'm trying to take
> >> it out
> >> is the search line correct and what does this do >???
> >
> > The "search" directive overrides the "domain" directive, and causes the
> > resolver to try appending each of those domains in attempt to resolve
> > the name.
> > Whether it's "correct" or not depends on what you're trying to
> > accomplish.
>
>Actually, if I remember correctly, the last directive used will "win,"
>so it's
>the domain directive that will take effect.
That's exactly how it's implemented in BIND 9 for the tools: dig, host,
nslookup
and lwres. search and domain are mutually exclusive.
Danny
>cricket
More information about the bind-users
mailing list