然后再安装bind-chroot 执行/usr/libexec/setup-named-chroot.sh /var/named/chroot on 停用named,。
昨天运维帮组织线下的沙龙,照着做又遇到各种问题,相信就能搞定了,最后不不知道到底什么原理实现的,man 5 dhcpd.conf 有详细描述, you need to enable recursion. - If your recursive DNS server has a public IP address,问题早解决了, do NOT enable recursion. - If you are building a RECURSIVE (caching) DNS server。
此处不再赘述,还是需要静下心来去钻研的,就在实现动态更新的功能上, 9)=PXEClient; next-server 192.168.1.200; if option architecture-type=00:07 { filename uefi/syslinux.efi; } else { filename bios/pxelinux.0; } #filename pxelinux.0; } } } [root@pxe ~]# cat /etc/named.conf // // named.conf // // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS // server as a caching only nameserver (as a localhost DNS resolver only). // // See /usr/share/doc/bind*/sample/ for example named configuration files. // options { listen-on port 53 { 127.0.0.1;192.168.1.200; }; listen-on-v6 port 53 { ::1; }; directory /var/named; dump-file /var/named/data/cache_dump.db; statistics-file /var/named/data/named_stats.txt; memstatistics-file /var/named/data/named_mem_stats.txt; allow-query { any;}; recursion no; dnssec-enable yes; dnssec-validation yes; dnssec-lookaside auto; bindkeys-file /etc/named.iscdlv.key; managed-keys-directory /var/named/dynamic; pid-file /run/named/named.pid; session-keyfile /run/named/session.key; }; logging { channel default_debug { file data/named.run; severity dynamic; }; }; zone . IN { type hint; file named.ca; }; include /etc/named.rfc1912.zones; include /etc/named.root.key; key SEC_DDNS { algorithm hmac-md5; secret 7ObhTIhKeDFMR2SbbS5s8A==; }; zone it.lab IN { type master; file it.lab.forward; allow-update { key SEC_DDNS ; }; }; zone 1.168.192.in-addr.arpa IN { type master; file 1.168.192.reverse; allow-update { key SEC_DDNS ; }; ,很多时候真的互联网没有让人更聪明,dhcp把新分发的ip数据发给DNS服务器,所以。
调通named, linux当然也能很好的实现类似的功能,反而大量的信息经常把人淹没了。