DHCP & /etc/resolv.conf
Alexandre Oliva
aoliva at redhat.com
Thu Oct 23 10:13:51 UTC 2003
On Oct 23, 2003, Lauri Jutila <lists at reforge.fi> wrote:
> Is there a way to have a permanent setting in /etc/resolv.conf and let
> DHCP client change the rest regarding to where I'm located?
Besides setting PEERDNS=no, I have this file in /etc:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhclient-enter-hooks
Type: application/octet-stream
Size: 440 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20031023/c8511e94/attachment.obj>
-------------- next part --------------
and ${NAMEDDIR}/etc/named.conf.in contains:
options {
forwarders {
@DNS@ ;
};
};
Works beautifully :-)
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer
More information about the fedora-test-list
mailing list