Mike Burger <[EMAIL PROTECTED]> wrote:
>In the resolv.conf file, you should have a line, for each domain you want
>to search, like this:
>
>domain domainname.here
I guess I didn't make myself quite clear. The dhcp server at work tells
my laptop what to put on the "search" line of my resolv.conf. So after
booting at work, resolv.conf contains
search domain1.work domain2.work domain3.work
nameserver www.www.www.www
nameserver www.www.www.www
(where www.www.www.www are nameservers at work). Whatever was in resolv.conf
before is overwritten.
When I get home and boot, I'd like my home dhcp server to tell the laptop
to search some other domains, e.g.,
search localdomain domain1.work domain2.fun
nameserver hhh.hhh.hhh.hhh
nameserver hhh.hhh.hhh.hhh
(where hhh.hhh.hhh.hhh are nameservers at home). I'd rather not have to
edit resolv.conf by hand all the time, because it just gets overwritten
when I get to work. But I can't figure out how to get my dhcpd to feed
the additional domains to my laptop's dhcp client. I can get it to feed
the nameservers and localdomain (using 'option domain-name "localdomain"),
but no documentation that I've found tells me how to feed domain1.work and
domain2.fun.
Hope that makes my question clearer. Thanks.
>On Mon, 22 Jan 2001, Matthew Saltzman wrote:
>
>> I know how to get dhcpd to tell a client what DNS servers to use, but
>> is there any way to have it tell a client which domains to search?
>>
>> I have a laptop that I move between two nets (home and work). The
>> dhcp server at work sets the search parameter in resolv.conf to search
>> a few different domains, but I can only find examples in the man page
>> and HOWTO for setting mine at home to search my local domain, not
>> others.
>>
>> Thanks.
Matthew Saltzman
Clemson University Math Sciences
[EMAIL PROTECTED]
http://www.math.clemson.edu/~mjs
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list