I'm want to use local dnsmasq. I added this line to dhclient.conf:
prepend domain-name-servers 127.0.0.1;
But got in resolv.conf *ONLY* "127.0.0.1", and no NS from dhclient.
This problem exists starting from FreeBSD-10, on some older release this options was worked properly.
I was meant to report this a short while ago on CURRENT:
I think the append/prepend issue affects more than just 'domain-name-server' as well.
I'm not checked all prepend options, but option "prepend domain-name" works propely.
FreeBSD uses openresolv.
If openresolv sees 127.0.0.1 then it assumes that the local resolver is configured correctly.
You should see your DHCP provided nameservers still with
You can change the default by adding this to /etc/resovlconf.conf