On 29.09.2014 13:39, Duncan Patton a Campbell wrote:
On Mon, 29 Sep 2014 05:28:27 -0600
Duncan Patton a Campbell <[email protected]> wrote:

/etc/dhclient.conf used to contain a

script "tosomfile" ;

option that could, amongst other things, be used to
set a dynamic assigned dns address to a named server.

This functionality has been removed and I am trying to
figure out if there was some other mechanism to accomplish
this but I can't find any refs to it in the changes
between 5.1 and 5.5.

Any info would be appreciated.

Thanks,

Dhu

--
Ne obliviscaris, vix ea nostra voco.




I found it in the 5.3 changes..

"Removed dhclient-script(8) and dhclient.conf(5) "script" directive.
Do all interface and route configuration via ioctl's and routing
sockets. "

Unfortunately this mechanism was used for more than just routing.  And
without a dhclient-script to
hack I don't see how a dynamic address can be updated vi the named/key
mechanism.

Dhu

If your goal is to set entries in DNS for a machine which acts as DHCP client there are two other possibilities I know of:

1. Use a reservation in DHCP server together with fixed entries in DNS

2. Get ISC DHCP from ports and configure it to make dynamic updates to BIND

Depending on your exact setup there may be other ways to achieve the same as you did with the script.

Bruno

Reply via email to