- 论坛徽章:
- 0
|
ddns-update-style interim;
#ignore client-updates;
authoritative;
subnet 10.190.0.0 netmask 255.255.0.0 {
# --- default gateway
option routers 10.190.17.3;
option subnet-mask 255.255.0.0;
# option nis-domain "domain.org";
option domain-name "tnt.com";
option domain-name-servers 10.190.17.16;
option time-offset -18000; # Eastern Standard Time
# option ntp-servers 192.168.1.1;
# option netbios-name-servers 10.190.17.3
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
range dynamic-bootp 10.190.18.1 10.190.18.254;
default-lease-time 259200;
max-lease-time 777600;
# we want the nameserver to appear at a fixed address
# host ns {
# next-server marvin.redhat.com;
# hardware ethernet 12:34:56:78:AB:CD;
# fixed-address 207.175.42.254;
# }
}
key myddns {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret 22PY+d5MqWzUXvsinSmGhg==;
}
zone tnt.com. {
primary 10.190.17.16;
key myddns;
}
zone 17.190.10.in-addr.arpa. {
primary 10.190.17.16;
key myddns;
}
==============================================
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
forwarders {219.150.32.132;211.90.216.129;};
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
key myddns {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
secret 22PY+d5MqWzUXvsinSmGhg==;
};
zone "tnt.com" IN {
type master;
file "tnt.com";
allow-update {key myddns; };
};
zone "17.190.10.in-addr.arpa" IN {
type master;
file "10.190";
allow-update {key myddns; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
include "/etc/rndc.key";
=============================================y
一下是问题:
Sep 28 16:39:46 dns dhcpd: if IN A kslinportege.tnt.com domain doesn't exist add 129600 IN A kslinportege.tnt.com 10.190.18.217 add 129600 IN TXT kslinportege.tnt.com "3104ddb26b0eeb2124040a59b5804d5253": success.
Sep 28 16:39:46 dns dhcpd: delete IN PTR 217.18.190.10.in-addr.arpa. add 129600 IN PTR 217.18.190.10.in-addr.arpa. kslinportege.tnt.com: timed out.
我的反向纪录添加失败。 |
|