我对这些DNS的东西完全是个新手。我安装了BIND9 ISPConfig和nginx,我通过域提供者面板(Natro)为我的帐户定义了一些名称服务器,它是ns1.ostimdenevar.com,ip是37.148.208.22。我的问题是:我无法到达我的域名,但我的ip工作。我用http://www.intodns.com/ostimdenevar.com检查了配置
错误:一个或多个名称服务器没有响应:没有响应的名称服务器是: 37.148.208.22 37.148.208.32
我试图通过ISPConfig对其进行配置。但是错误并没有改变。我尝试手动配置绑定,但没有更改。
我没有办法解决这个问题,甚至不知道去哪里找。我该从哪里开始?
这是我现在使用的绑定配置文件:
文件: named.conf.local
zone "ostimdenevar.com" {
type master;
file "/etc/bind/db.ostimdenevar.com";
};文件: db.ostimdenevar.com
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns1.ostimdenevar.com. root.ostimdenevar.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.1.ostimdenevar.com.
ns IN A 37.148.208.22文件: 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 {
89.19.21.250;
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};发布于 2013-08-26 14:04:30
首先看这个,你的NS记录有一个额外的。(点)
ns.1.ostimdenevar.com应该是ns1.ostimdenevar.com
你的A记录,应该是"ns1“而不是" NS”来匹配NS记录。
简言之:
$TTL 604800
@ IN SOA ns1.ostimdenevar.com. root.ostimdenevar.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns1.ostimdenevar.com.
@ IN NS ns2.ostimdenevar.com.
ns1 IN A 37.148.208.22
ns2 IN A 37.148.208.32除了区域文件中的错误外,您还有一个ip : 37.148.208.32,我在您的区域文件中没有看到这一点,因此将其添加为ns2.ostimdenevar.com。
如果这是“家”或“工作”,请使用NAT。不要忘了将端口53转发到任何服务器,这是照顾您的dns。
https://serverfault.com/questions/533834
复制相似问题