On Sunday 13 January 2002 21:34, Michael D. Schleif wrote:

> I believe that I am quite clear on what I'm asking.  Unfortunately, I
> think that you missed my point entirely . . .
>
> Where is it documented that dhclient will re-write resolv.conf?

Thank-you for being direct. After a 30 second Google search on
resolv.conf, I found the information below. Sorry I did not take the 
30 seconds before posting originally. 


/etc/dhclient.conf

Here it is, with some thing changed to protect the innocent.  Note the 
extra space within the quotes at the end of the domain-name line.  Note 
that although I mention the supersede command in resolv.conf is being 
modified, and not by me, it is not included below.  I have no idea why 
that is.   But I know the below worked for me. timeout 60;
retry 60;
reboot 10;
select-timeout 5;
initial-interval 2;
script "/etc/dhclient-script";

prepend domain-name "mydomain.com ";
prepend domain-name-servers 127.0.0.1;

interface "eth0" {
        request subnet-mask, broadcast-address, routers, 
domain-name-servers,
        domain-name, host-name;
        require domain-name-servers;
        media "link2";
}


This was copied from:
        http://www.freebsddiary.org/resolv.php
It seems to be a somewhat documented problem with dhclient that affects
all systems running it. I'll go through the dhclient package if you 
want.
Hope this helps.
-- 

~Lynn Avants
aka Guitarlynn

guitarlynn at users.sourceforge.net
http://leaf.sourceforge.net

If linux isn't the answer, you've probably got the wrong question!

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to