Hello i have problem with reverse DNS. Local is working:
Code:
[lch@srv ~]$ dig -x 165.98.61.50 @127.0.0.1
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>> -x 165.98.61.50 @127.0.0.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10395
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;50.61.98.165.in-addr.arpa. IN PTR
;; ANSWER SECTION:
50.61.98.165.in-addr.arpa. 86400 IN PTR condor.com.ni.
;; AUTHORITY SECTION:
61.98.165.in-addr.arpa. 86400 IN NS ns.condor.com.ni.
61.98.165.in-addr.arpa. 86400 IN NS ns2.condor.com.ni.
;; ADDITIONAL SECTION:
ns.condor.com.ni. 86400 IN A 165.98.61.50
ns2.condor.com.ni. 86400 IN A 165.98.60.2
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Oct 17 10:40:01 2014
;; MSG SIZE rcvd: 137
BUT if i execute :
Code:
[lcha@srv ~]$ dig -x 165.98.61.50
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>> -x 165.98.61.50
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 43951
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;50.61.98.165.in-addr.arpa. IN PTR
;; Query time: 263 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Fri Oct 17 10:43:12 2014
;; MSG SIZE rcvd: 43
[lcha@srv ~]$
This is my reverse zone:
Code:
$TTL 86400
@ IN SOA ns.condor.com.ni. hostmaster.condor.com.ni. (
2014101502 ; serial, todays date + todays serial #
28800 ; Refresh
7200 ; Retry
604800 ; Expire
86400 ) ; Minimun
NS ns.condor.com.ni.
NS ns2.condor.com.ni.
50 IN PTR condor.com.ni.
51 IN PTR mail.condor.com.ni.
Please help me with this