DNS Configure Problem

Cricket Liu cricket at nxdomain.com
Wed Jan 29 01:39:08 UTC 2003



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.

cricket



More information about the bind-users mailing list