Can't find server name, Non-existent domain解决方法
提供配置:SourceByrd's Weblog-https://note.t4x.org/error/non-existent-domain/
1:修改named.rfc1912.zones增加如下内容
0 1 2 3 4 5 6 7 8 9 10 |
zone "t4x.org" IN { type master; file "t4x.org.zone"; allow-update { none; }; }; zone "28.172.in-addr.arpa" { type master; file "172.28.zone"; allow-update { none; }; }; |
图片:
2:正向配置新建t4x.org.zone增加内容如下
0 1 2 3 4 5 6 7 8 9 10 11 12 13 |
$TTL 1D $TTL 600 @ IN SOA ns.t4x.org. admin.t4x.org. ( 0 ; serial 1D ; refresh 1H ; retry 1W ; expire 3H ) ; minimum IN NS ns IN A 192.168.1.250 www IN A 192.168.1.191 ns IN A 192.168.1.250 ns1 IN A 192.168.1.251 qwer IN A 4.3.2.1 |
图片:
3:反向配置新增172.28.zone增加内容如下
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
$TTL 1D @ IN SOA ns.t4x.org. admin.t4x.org. ( 0 ; serial 1D ; refresh 1H ; retry 1W ; expire 3H ) ; minimum IN NS ns.t4x.org. AAAA ::1 PTR localhost. 1.94 IN PTR ns1.t4x.org. 3.94 IN PTR ns2.t4x.org. 1.87 IN PTR nginx.t4x.org. 134.254.18 IN PTR note.t4x.org. <pre>[/cc] |
图片:
参考:Centos Bind配置完整版SourceByrd's Weblog-https://note.t4x.org/error/non-existent-domain/
申明:本文由BYRD原创(基于Centos6.4 X64),未经许可禁止转载!SourceByrd's Weblog-https://note.t4x.org/error/non-existent-domain/ SourceByrd's Weblog-https://note.t4x.org/error/non-existent-domain/
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
Trackbacks