Saya mengatur server dns untuk dijalankan secara publik dan semuanya berjalan ok, kecuali untuk zona balik, yang secara lokal berhasil tetapi melakukan kueri di dns lain memberikan kesalahan berikut:
root@ns1:/# nslookup
> server
Default server: 168.121.42.16
Address: 168.121.42.16#53
> labtech.inf.br
Server: 168.121.42.16
Address: 168.121.42.16#53
Name: labtech.inf.br
Address: 168.121.42.16
> 168.121.42.16
Server: 168.121.42.16
Address: 168.121.42.16#53
16.42.121.168.in-addr.arpa name = ns1.labtech.inf.br.
> server 8.8.8.8
Default server: 8.8.8.8
Address: 8.8.8.8#53
> labtech.inf.br
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: labtech.inf.br
Address: 168.121.42.16
> 168.121.42.16
Server: 8.8.8.8
Address: 8.8.8.8#53
** server can't find 16.42.121.168.in-addr.arpa: NXDOMAIN
> exit
File zona saya:
root@ns1:/# cat /etc/bind/zones/db.168.121.42
$TTL 604800
@ IN SOA labtech.inf.br. hostmaster.labtech.inf.br. (
20160607 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
; Name servers
IN NS ns1.labtech.inf.br.
; PTR records
16 IN PTR ns1.labtech.inf.br.
root@ns1:/# cat /etc/bind/zones/db.labtech.inf.br
$TTL 604800
@ IN SOA ns1.labtech.inf.br. hostmaster.labtech.inf.br. (
20160608 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
; Name servers
labtech.inf.br. IN NS ns1.labtech.inf.br.
labtech.inf.br. IN A 168.121.42.16
; A records for name servers
ns1 IN A 168.121.42.16
; MX records
@ 3600 IN MX 1 mail.labtech.inf.br.
; Other a records
www IN CNAME labtech.inf.br.
mail IN A 184.107.51.101
Apa yang bisa menjadi masalah dengan zona terbalik ini?
networking
dns
bind
SoabTI
sumber
sumber