Re: script to update dyndns IP

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Duncan Patton a Campbell
Date: Friday, March 19, 2010 - 12:54 am

On Thu, 18 Mar 2010 21:52:28 -0400
"Brad Tilley" <brad@16systems.com> wrote:


I've done a similar thing by hacking /sbin/dhclient-script to hook
out from add_new_address().  I also suppress add_new_resolv_conf()
and reupping from /etc/resolv.conf.save found in the main section.
Suppressing update of resolv.conf is optional but it's useful
to have the dns pointed at the nameserver for the domain and
just leave it there.

The hook out has to then call nsupdate with the newip address.  
The advantage to this approach is that is driven off the event
of a new address by dhcp and not by polling.  

Dhu
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
script to update dyndns IP, Brad Tilley, (Thu Mar 18, 6:52 pm)
Re: script to update dyndns IP, Brad Tilley, (Thu Mar 18, 7:54 pm)
Re: script to update dyndns IP, Aaron Stellman, (Fri Mar 19, 12:20 am)
Re: script to update dyndns IP, Duncan Patton a Campbell, (Fri Mar 19, 12:54 am)
Re: script to update dyndns IP, Vadim Zhukov, (Fri Mar 19, 4:04 am)
Re: script to update dyndns IP, Brad Tilley, (Fri Mar 19, 7:41 am)
Re: script to update dyndns IP, Duncan Patton a Campbell, (Fri Mar 19, 10:08 am)
Re: script to update dyndns IP, Corey, (Fri Mar 19, 1:17 pm)