Quote:
Now, everytime I run the command
named-checkzone 192.168.1.rev mydomain.com.db
I then get the following error
|
The correct is
Code:
named-checkzone mydomain.com mydomain.com.db
named-checkzone 1.168.192.in-addr.arpa 192.168.1.rev
But you have many errors in both your zone files. Try the following:
Code:
$TTL 604800
@ IN SOA ns1.mydomain.com. info.mydomain.com. (
2 ; Serial
7200 ; Refresh
120 ; Retry
2419200 ; Expire
604800) ; Minimum
;
@ IN NS ns1.mydomain.com.
@ IN NS ns2.mydomain.com.
ns1.mydomain.com. IN A x.x.x.x
ns2.mydomain.com. IN A y.y.y.y
Code:
$TTL 1d ;
$ORIGIN 1.168.192.IN-ADDR.ARPA.
@ IN SOA ns1.mydomain.com. info.mydomain.com. (
2
7200
120
2419200
604800
)
IN NS ns1.mydomain.com.
IN NS ns2.mydomain.com.
1 IN PTR ns1.mydomain.com.
2 IN PTR ns2.mydomain.com.
Regards