ed8be0acde
It consists of a client that regularly sends UDP packets and a server that updates a bind zone file or runs a command using the peer IPv4 address of recieved UDP packets. WWW: http://fossil.instinctive.eu/ddns/home PR: ports/179316 Submitted by: Natacha Porte <natbsd@instinctive.eu>
22 lines
633 B
Text
22 lines
633 B
Text
(listen 24680)
|
|
(defaults
|
|
(effector
|
|
(system "logger 'shell script for " (name) " switching to address " (addr) "'")
|
|
(zone /etc/namedb/master/example.com)
|
|
(kill HUP /var/run/named/pid))
|
|
(flags allow-unsafe)
|
|
(interval 70 10)
|
|
(timeout 900))
|
|
(account
|
|
(name host-1)
|
|
(key # 0123456789ABCDEF 0123456789ABCDEF
|
|
0123456789ABCDEF 0123456789ABCDEF
|
|
0123456789ABCDEF 0123456789ABCDEF
|
|
0123456789ABCDEF 0123456789ABCDEF #))
|
|
(account
|
|
(name ntpless-host-2)
|
|
(key # FEDCBA9876543210 FEDCBA9876543210
|
|
FEDCBA9876543210 FEDCBA9876543210
|
|
FEDCBA9876543210 FEDCBA9876543210
|
|
FEDCBA9876543210 FEDCBA9876543210 #)
|
|
(interval 86400))
|