Hello,
I'm using a FreeBSD 8.1 gateway on my LAN. This gateway connects to the Internet using DHCP. The public interface is defined in my rc.conf as:
and it works. The file resolv.conf is properly updated with my ISP's DNS addresses.
I want to prepend my own local DNS address, but it fails. I've edited /etc/dhclient.conf:
but when the DHCP bail is renewed, resolv.conf contains only my ISP DNS addresses. Any idea?
I'm using a FreeBSD 8.1 gateway on my LAN. This gateway connects to the Internet using DHCP. The public interface is defined in my rc.conf as:
Code:
ifconfig_fxp0="DHCP"
and it works. The file resolv.conf is properly updated with my ISP's DNS addresses.
I want to prepend my own local DNS address, but it fails. I've edited /etc/dhclient.conf:
Code:
interface "fxp0" {
prepend domain-name-servers 127.0.0.1;
}
but when the DHCP bail is renewed, resolv.conf contains only my ISP DNS addresses. Any idea?