Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2005 11:30:38 +0200
From:      Fabian Anklam <greatnorthern@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Prevent DHCP from changing resolv.conf
Message-ID:  <467b1e7a05042202305325e262@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi All,

I have a minor problem regarding my network configuration,
specifically that the external interface on my router gets it's IP via
DHCP from the ISP, so in rc.conf

ifconfig_xl0=3D"DHCP"

is set. This leads to the single entry in resolv.conf that I want to
be there, namely

nameserver 127.0.0.1

being replaced with my ISP's nameservers, which in return makes
resolving of LAN IPs or even localhost via the installed BIND
difficult for the machine. I don't want dhclient to change the
resolv.conf.

I checked the man pages for resolv.conf, rc.conf and dhclient but
couldn't find anything there relating to my problem.

Thanks, Fabian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?467b1e7a05042202305325e262>