更换服务器IP后Bind DNS服务器停止工作的问题求助
更换服务器IP后Bind DNS服务器停止工作的问题求助
大家好,我最近碰到个头疼的问题——把服务器从美国迁移到立陶宛之后,Bind DNS服务器直接罢工了。现在我只能用自己的IP地址连接数据库和Virtualmin,域名完全没法正常对外解析,外网根本访问不了我的服务。
我把当前Bind的核心配置文件贴出来,麻烦各位帮忙看看哪里出问题了:
/etc/bind/named.conf 配置内容:
include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.local"; include "/etc/bind/named.conf.default-zones"; key rndc-key { algorithm hmac-sha256; secret "...."; }; controls { inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { rndc-key; }; };
/etc/bind/named.conf.options 配置内容:
options { directory "/var/cache/bind"; // If there is a firewall between you and nameservers you want // to talk to, you may need to fix the firewall to allow multiple // ports to talk. See http://www.kb.cert.org/vuls/id/800113 // If your ISP provided one or more IP addresses for stable // nameservers, you probably want to use them as forwarders. // Uncomment the following block, and insert the addresses replacing // the all-0's placeholder. // forwarders { // 0.0.0.0; // }; //======================================================================== // If BIND logs error messages about the root key being expired, // you will need to update your keys. See https://www.isc.org/bind-keys //======================================================================== dnssec-validation auto; listen-on-v6 { any; }; //dnssec-enable yes; };
我自己初步检查了防火墙,已经开放了53端口的UDP和TCP,而且域名注册商那边也更新了NS记录指向新的服务器IP,但问题还是没解决。有没有大佬能指点一下,我接下来该排查哪些地方?
备注:内容来源于stack exchange,提问作者Alex Totolici
相关产品推荐
相关产品推荐

