I'm trying to use the following statement in /etc/dhclient.conf
supersede domain-name-servers [127.0.0.1]:40;
But when the machine boots and the network starts it fails to apply the
setting. The error message is:
/etc/dhclient.conf line 4: expecting decimal octet.
supersede domain-name-servers [127.0.0.1]:40;
^
I've also tried quoting the value "[127.0.0.1]:40" and escaping it
\[127.0.0.1\]:40 without success.
Using the resolv.conf.tail method is undesirable as I only want a single
nameserver entry in /etc/resolv.conf
Any suggestions on how to resolve this?