From Bugzilla Helper: User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux) Description of problem: According to the dhclient.conf man page you should be able to prepend and/or append statements to the resolv.conf which is written upon successful dchp. I have looked through the script and there appears to be no support for this. I realize I can set PEERDNS = NO to disable writing, but there are instances where prepending/appending would be very desirable. Version-Release number of selected component (if applicable): dhclient-3.0pl1-23 How reproducible: Always Steps to Reproduce: 1. add statement "prepend nameserver 127.0.0.1;" to the appropriate dhclient*.conf 2. perform an ifdown/ifup on the appropriate dhcp interface Actual Results: the resulting resolv.conf file will not have the desired prepended entry Expected Results: 3. the resulting resolv.conf file would have the desired prepended entry Additional info:
dhclient-3.0.1+ (latest version) now fully supports and honours the prepend, append, and supersede options in /etc/dhclient-${IF}.conf (eg./etc/dhclient-eth0.conf if eth0 is being configured with DHCP).
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2004-566.html