nsupdate from a dhclient

dukzcry lomka at gero.in
Sun Jul 28 13:41:35 UTC 2013

Okay, now the solution to the first problem:

On 7/22/64 11:05 PM, Ralph Blach wrote:
> Is there a way to get dhclient to use nsupdate update the A ptr of the DNS
> server instead of using the the DHCP server to do it.

Considering you're on OS with an old ISC dhclient code not having dynDNS
updates support in base, like OpenBSD or DFBSD (they've imported this
particular OBSD code) for example, and you don't want to use vanilla ISC
version by some reason.

You may use this simple patch then:
You need to have BIND tools installed to make it work.

2012/7/11 dukzcry <lomka at gero.in>
> On 7/22/64 11:05 PM, Ralph Blach wrote:
>> ...
>> Also, in the dhclient.conf file, is there a way to specify the maximum lease
>> time which will be allowed.
>> So if a dhcp server supplied the cleint with a leas time of 8 days, then a a
>> lease time of 1 day would be used?
>> Thanks
>> Chip
> This is very old post, but the "problem" is still actual, and here is a solution, as well:
> https://raw.github.com/druga/aeriebsd-tree/master/sbin/dhclient/patch-dhclient.2
> Be noticed, that this is a hack. Take with care, and use then, and only then, when
> end-side DHCP server is improperly configured for low lease time and isn't under
> your control.


More information about the dhcp-users mailing list