[OT] resolv.conf and dhclient

Lyndon Nerenberg lyndon at orthanc.ca
Mon Jun 5 19:24:06 UTC 2006


> Unfortunately, supersede doesn't cut it (for me).
>
> I have two interfaces, one wired and one wireless.  Both addresses are
> negotiated via DHCP.  However, I do /not/ want to use the DNS servers
> provided via the wireless connection.


interface "ath0" {
 	supersede domain-name "orthanc.ca";
 	supersede domain-name-servers 127.0.0.1;
}

interface "bge0" {
 	supersede domain-name "orthanc.ca";
 	supersede domain-name-servers 127.0.0.1;
}

And then just run a local instance of named.

--lyndon


More information about the freebsd-stable mailing list