dhclient.conf is being ignored
Giorgos Keramidas
keramida at ceid.upatras.gr
Thu Dec 1 09:29:59 PST 2005
On 2005-12-01 11:24, Doug Poland <doug at polands.org> wrote:
>On Thu, December 1, 2005 11:00, Giorgos Keramidas wrote:
>> On 2005-12-01 10:48, Doug Poland <doug at polands.org> wrote:
>>> Hello,
>>>
>>> I'm running 6.0-STABLE and having an issue with dhclient "ignoring"
>>> dhclient.conf(5).
>>>
>>> On this dual-homed host, I've created dhclient.conf in it's proper
>>> location with the option modifiers I want. However, everytime
>>> dhclient negotiates a new lease, I get my ISP's values in
>>> resolv.conf(5) and not my over-rides.
>>>
>>> and my dhclient.conf file:
>>>
>>> # cat /etc/dhclient.conf
>>> interface "fxp0" {
>>> supersede domain mydomain.com
>>> supersede domain-name-servers 172.16.1.17, 172.16.1.32;
>>> }
>>
>> You're missing a semicolon after the first supersede line:
>>
>> interface "fxp0" {
>> supersede domain mydomain.com;
>> supersede domain-name-servers 172.16.1.17, 172.16.1.32;
>> }
>
> Duh. Thanks for pointing that out Giorgos. It would be nice if
> dhclient informed me of the error of my ways.
That's what I'd expect too. If it doesn't, it's probably a usability
bug and you should file a problem report, IMHO.
More information about the freebsd-questions
mailing list