freebsd-ports/dns/ddns/files/ddns_server.conf.sample
Frederic Culot ed8be0acde ddns is a lightweight UDP-based dynamic DNS updater.
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>
2013-07-01 12:53:39 +00:00

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))