Documentation for sysad 2 DDNS server
Setup using BIND 9
#######################/etc/named.conf##########
zone "mike.local"{
file "/etc/test";
allow-update{
127.0.0.1;
};
type master;
};
[root@Cent53Full etc]# cat /etc/named.conf
zone "mike.local"{
file "/etc/test";
allow-update{
127.0.0.1;
};
type master;
};
####################################################
#################/etc/test###################
mike.local. 60 IN SOA ns.mike.local mike.captsolo.com (
1 ;serial number
9999999 ;refresh
9999999 ;retry
9999999 ; expiry
9999999 ;minimium
)
mike.local. IN NS ns.mike.local.
test 99 IN A 10.2.3.4
yourmom 99 IN A 192.168.33.4
#############################################
Test procedures
using nsupdate
$nsupdate
>server 127.0.0.1
>zone mike.local
>update add new.mike.local 600 A 1.2.3.4
>
>
in the precceding example, the 600 is the TTL
Pitfalls
If there is a permissions error with an unknown file, nsupdate will return servfail
If you have forgotten to configure allow-update, nsupdate will return refused