我刚刚在Debian上安装bind9。
我想我没有configuration,因为我仍然有一个DNS和传播的问题。 我认为这个问题是由nslookup说的:
Server: 127.0.0.1 Address: 127.0.0.1#53
命令 :
root@ks3309528:~# nslookup stats.yt Server: 127.0.0.1 Address: 127.0.0.1#53 Name: stats.yt Address: 5.135.160.63 root@ks3309528:~# nslookup cakebox.stats.yt Server: 127.0.0.1 Address: 127.0.0.1#53 Name: cakebox.stats.yt Address: 5.135.130.63
也许这是我的/etc/resolv.conf
nameserver 127.0.0.1 nameserver 213.186.33.99 search ovh.net
我的名字.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; auth-nxdomain no; # conform to RFC1035 listen-on-v6 { ::1; }; listen-on port 53 { any; }; allow-recursion { 127.0.0.1;}; };
我的db.statsyt
$TTL 86400 @ IN SOA ks3309528.kimsufi.com. root.stats.yt. ( 2014012514 ;serial 3600 ;refresh 600 ;retry 2419200 ;expire 600) ;minimum @ IN NS ks3309528.kimsufi.com. @ IN NS ns.kimsufi.com. stats.yt. IN A 5.135.160.63 www IN CNAME stats.yt. cakebox IN A 5.135.130.63
和db.statsyt.inv
$TTL 86400 @ IN SOA ks3309528.kimsufi.com. root.stats.yt. ( 2014012501 3600 600 2419200 600) @ NS ks3309528.kimsufi.com. 63 IN PTR stats.yt.
所以问题是我想服务器和地址的IP。
如果我做https://www.whatsmydns.net/#A/cakebox.stats.yt
没关系,但为什么我不能访问cakebox.stats.yt ?
或问题是从Apache?
您的区域中存在拼写错误:
stats.yt. IN A 5.135.**160**.63 www IN CNAME stats.yt. cakebox IN A 5.135.**130**.63
提示:使用CNAME来避免类似于www 。