BIND-resolving name (dig -x ipaddr answer: 0)
i configure bind and i cant access my fqdn in another pc. but my server is running when nslookup but when dig -x "addr" it OUTPUTS ANSWER: 0. what's missing. im configuring this locally and i do not own apc.com
nslookup
> 192.168.1.8
Server: 192.168.1.8
Address: 192.168.1.8#53
8.1.168.192.in-addr.arpa name = rolem.apc.com.
>
8.192.in-addr.arpa name = rolem.apc.com.
> rolem.apc.com
Server: 192.168.1.8
Address: 192.168.1.8#53
Name: rolem.apc.com
Address: 192.168.1.8
root@rolem named]# dig rolem.apc.com
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.6 <<>> rolem.apc.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27060
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;rolem.apc.com. IN A
;; ANSWER SECTION:
rolem.apc.com. 86400 IN A 192.168.1.8
;; AUTHORITY SECTION:
apc.com. 86400 IN NS rolem.apc.com.
;; Query time: 0 msec
;; SERVER: 192.168.1.8#53(192.168.1.8)
;; WHEN: Wed Sep 4 06:46:15 2013
;; MSG SIZE rcvd: 61
but when i dig "my addr" the ANSWER: 0
[root@rolem named]# dig -x 192.168.1.1
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.6 <<>> -x 192.168.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 3390
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;1.1.168.192.in-addr.arpa. IN PTR
;; AUTHORITY SECTION:
1.168.192.in-addr.arpa. 86400 IN SOA rolem.apc.com. root.apc.com. 106071990 21600 3600 604800 86400
;; Query time: 0 msec
;; SERVER: 192.168.1.8#53(192.168.1.8)
;; WHEN: Wed Sep 4 06:46:42 2013
;; MSG SIZE rcvd: 96
Last edited by rpmacaspac; 09-02-2013 at 05:49 PM.
|