DHCPD DDNS issue



你好,我尝试在我的DHCPD服务器上实现DDNS,在这里你可以找到我的配置

authoritative;
default-lease-time 151200;
max-lease-time 259200;
log-facility local7;
ddns-update-style interim;
ddns-updates on;
ddns-domainname "ducamps.win";
ddns-rev-domainname "1.168.192.in-addr.arpa";
use-host-decl-names on;
allow client-updates;
allow unknown-clients;
include "/etc/dhcp.key";
zone ducamps.win. {
primary 192.168.1.10;
key dhcp;
}
zone 1.168.192.in-addr.arpa. {
primary 192.168.1.10;
key dhcp;
}
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
pool {
range 192.168.1.100 192.168.1.140;
}
}
host zen-pc {

但是在我的dhcpd日志中,我没有看到DNS上的任何请求

oct. 25 21:37:27 VMAS-BUILD dhcpd[2531]: Server starting service.
oct. 25 21:37:33 VMAS-BUILD dhcpd[2531]: DHCPRELEASE of 192.168.1.100 from ee:35:20:fc:7b:04 via ens3 (found)
oct. 25 21:37:33 VMAS-BUILD dhcpd[2531]: DHCPDISCOVER from ee:35:20:fc:7b:04 via ens3
oct. 25 21:37:34 VMAS-BUILD dhcpd[2531]: DHCPOFFER on 192.168.1.100 to ee:35:20:fc:7b:04 via ens3
oct. 25 21:37:34 VMAS-BUILD dhcpd[2531]: DHCPREQUEST for 192.168.1.100 (192.168.1.53) from ee:35:20:fc:7b:04 via ens3
oct. 25 21:37:34 VMAS-BUILD dhcpd[2531]: DHCPACK on 192.168.1.100 to ee:35:20:fc:7b:04 via ens3

你能帮助我,如果我做了一个错误在我的配置文件?(我的DNS服务器是一个synology DNS)

ok,只是忘记了option:

ddns-domainname "ducamps.win.";
ddns-rev-domainname "1.168.192.in-addr.arpa.";

相关内容

  • 没有找到相关文章

最新更新