免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1246 | 回复: 1
打印 上一主题 下一主题

[DNS] bind + dhcpd ddns 问题。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-09-28 17:46 |只看该作者 |倒序浏览
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.


我的反向纪录添加失败。

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2004-09-29 11:40 |只看该作者

bind + dhcpd ddns 问题。

若手工跑 nsupdate 來更新如何?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP