Hello.
i have set up DNS zone for forward and backward resolutions.
here the content of the respective files:
forware zone:
Code:
$TTL 2d
@ IN SOA thewho.bsc-solutions.corp. root.thewho.bsc-solutions.corp. (
2012010601 ; serial
3h ; refresh
1h ; retry
1w ; expiry
1d ) ; minimum
sap.bsc-solutions.corp. IN NS thewho.bsc-solutions.corp.
hagen.sap.bsc-solutions.corp. IN A 192.168.0.17
reverse zone:
Code:
$TTL 2d
$ORIGIN .
0.168.192.in-addr.arpa. IN SOA thewho.bsc-solutions.corp (
2012010600 ; serial
3h ; refresh
1h ; retry
1w ; expiry
3h ) ; minimum
0.168.192.in-addr.arpa. IN NS thewho.bsc-solutions.corp.
17 IN PTR hagen.sap.bsc-solutions.corp.
forward name resolution is working fine, but reverse lookups fail.
here the output of "nslookup 192.168.0.17":
Code:
;; Got SERVFAIL reply from 127.0.0.1, trying next server
;; Got SERVFAIL reply from 127.0.0.1, trying next server
Server: ::1
Address: ::1#53
** server can't find 17.0.168.192.in-addr.arpa: SERVFAIL
the reverse zone file seems to be buggy, but i cannot find the error.
here the output of "named-checkzone" for the respective reverse zone domain/file:
Code:
dns_rdata_fromtext: /var/lib/named/192.168.0.zone:4: near '3h': not a valid number
/var/lib/named/192.168.0.zone:11: ignoring out-of-zone data (17)
zone 0.168.192.in-addr.arpa/IN: loading from master file /var/lib/named/192.168.0.zone failed: not a valid number
where is the mistake? "3h" seems to be a valid number from my point of view, this value is also used in other config files i found in www.
i am running BIND 9.5.0-P2
thanks for any input on this issue!