Hi,

I know actually discussing DNS on a Linux system is wildly off topic, 
and I'm still waiting to find out if KFC was successful in forcing 
that family to sign an NDA, but, my laptop is pissing me off today :)

It is my understanding that if there is a line in /etc/resolve.conf 
which lists several domain names, that each will be tried in turn.  
Therefore, if I have:

        search foo.com corp.foo.com eng.foo.com

then, I try from the command line something like:

        host penguin

that I should get an answer if there is a system 'penguin' which 
exists in any of the domains listed in the 'search' line with the 
caveat being that the search will stop on the first match.  Thus, if 
'penguin' exists in all three domains listed above, I will only get a 
return for 'penguin.foo.com' and not the others.

According to the resolv.conf man pages:

    The search  list is  normally determined from the local domain name;
    by default, it contains only the local domain name. This  may  be
    changed by listing the desired domain search  path  following  the
    search  keyword  with spaces or tabs separating the names.  Most
    resolver queries will be attempted using each  component  of the
    search  path  in  turn until a match is found.

Which is pretty much what I stated above.  However, this does not 
seem to be the way my resov.conf file is working:

    $ cat /etc/resolv.conf

    search eng.lab eng.foo.com corp.foo.com
    nameserver 10.241.38.12
    nameserver 10.241.38.13

    $ host redsox
    redsox.eng.lab does not exist (Authoritative answer)

Yet, I know for a fact that 'redsox.eng.foo.com' does in fact exist.

The two nameservers listed are mine and run the 'eng.lab' domain, and 
I thought were set up for recursion.  And, if I specify the domain of 
a system, I do get a response:

    $ host redsox.eng.foo.com
    redsox.eng.foo.com      A       10.254.140.221

Am I doing something wrong, or am I misunderstanding the /etc/
resolv.conf file?  *Should* this work?

Thanks,


-- 

Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE

        It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

         If you're not having fun, you're not doing it right!


_______________________________________________
gnhlug-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss

Reply via email to