因此,我已将服务器位置从美国更改为立陶宛,并且我的服务器停止工作
我可以连接到我的数据库和虚拟主机,但只能使用我的 IP
/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;
};
答案1
您的域名服务器是:
Nameserver: ns1.goodjobs.ro
Nameserver: ns2.goodjobs.ro
由于它们位于同一域内,因此需要胶水记录在父.ro
区域,但它们缺少:
goodjobs.ro. 86400 IN NS ns1.goodjobs.ro.
goodjobs.ro. 86400 IN NS ns2.goodjobs.ro.
/usr/bin/dig: couldn't get address for 'ns1.goodjobs.ro': no more
您可以通过您的注册商设置胶水记录。
此外,您至少需要两个名称服务器。您的区域的屏幕截图显示您正在尝试将两者指向ns1
同ns2
一个 IP 地址。获取辅助名称服务器或完全使用外部 DNS 服务。