Rod_Hutchinson
IS-IT--Management
So I ran through this tutorial on digital ocean and I got to a part where you run checkconf and checkzone, and I got the following error in the checkzone portion.
ran this command rahutch@ns1 $ sudo named-checkzone 1.168.192.in-addr.arpa /etc/bind/zones/db.192.168.1
This is the error I got back:
zone 1.168.192.in-addr.arpa/IN: NS 'ns1.domain.com.1.168.192.in-addr.arpa' has no address records (A or AAAA)
zone 1.168.192.in-addr.arpa/IN: not loaded due to errors.
I have tried several things, added an entry into the /etc/bind/named.conf.local showing ns1.domain.com as an A entry, but that didn't help. Not sure where I went wrong.
this is my db.192.168.1 file:
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA ns1.domain.com. admin.domain.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
; name servers - NS records
IN NS ns1.domain.com
; PTR Records
205.1 IN PTR ns1.domain.com. ; 192.168.1.205
204.1 IN PTR dc1.domain.com. ; 192.168.1.204
203.1 IN PTR web1.domain.com. ; 192.168.1.203
202.1 IN PTR fp1.domain.com. ; 192.168.1.202
(domain name has been substitued)
Any suggestions of where to start looking?
Thanks in advance.
Rod Hutchinson
ran this command rahutch@ns1 $ sudo named-checkzone 1.168.192.in-addr.arpa /etc/bind/zones/db.192.168.1
This is the error I got back:
zone 1.168.192.in-addr.arpa/IN: NS 'ns1.domain.com.1.168.192.in-addr.arpa' has no address records (A or AAAA)
zone 1.168.192.in-addr.arpa/IN: not loaded due to errors.
I have tried several things, added an entry into the /etc/bind/named.conf.local showing ns1.domain.com as an A entry, but that didn't help. Not sure where I went wrong.
this is my db.192.168.1 file:
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA ns1.domain.com. admin.domain.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
; name servers - NS records
IN NS ns1.domain.com
; PTR Records
205.1 IN PTR ns1.domain.com. ; 192.168.1.205
204.1 IN PTR dc1.domain.com. ; 192.168.1.204
203.1 IN PTR web1.domain.com. ; 192.168.1.203
202.1 IN PTR fp1.domain.com. ; 192.168.1.202
(domain name has been substitued)
Any suggestions of where to start looking?
Thanks in advance.
Rod Hutchinson