i am configuring dns in centos 6.4. mine forward zone is working properly gives following output :-
Code: Select all
[root@serverora11gr2 Desktop]# dig serverora11gr2.db.net
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.el6_10.3 <<>> serverora11gr2.db.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60891
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;serverora11gr2.db.net. IN A
;; ANSWER SECTION:
serverora11gr2.db.net. 2592000 IN A 192.168.20.50
;; AUTHORITY SECTION:
db.net. 2592000 IN NS serverora11gr2.db.net.
;; Query time: 0 msec
;; SERVER: 192.168.20.50#53(192.168.20.50)
;; WHEN: Sat Oct 26 07:20:49 2019
;; MSG SIZE rcvd: 69
but when i tried to dig reverse zone this shows following error:-
Code: Select all
[root@serverora11gr2 Desktop]# dig -x 192.168.20.60
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.68.rc1.el6_10.3 <<>> -x 192.168.20.60
;; global options: +cmd
;; connection timed out; no servers could be reached
Code: Select all
$TTL 1D
@ IN SOA serverora11gr2.db.net. root.serverora11gr2.db.net. (
10 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
@ IN NS serverora11gr2.db.net.
50 IN PTR serverora11gr2.db.net.
60 IN PTR server75.db.net.
70 IN PTR centos75client.db.net.
80 IN PTR centos64client.db.net.
content of data/named.run
Code: Select all
zone 20.168.192-in-addr.aprpa/IN: loaded serial 10
zone 0.in-addr.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone db.net/IN: loaded serial 10
managed-keys-zone ./IN: loaded serial 19
running
error (network unreachable) resolving './NS/IN': 2001:503:ba3e::2:30#53
error (network unreachable) resolving 'centos.excellmedia.net/A/IN': 2001:503:ba3e::2:30#53
error (network unreachable) resolving 'centos.excellmedia.net/AAAA/IN': 2001:503:ba3e::2:30#53