Hello,

This is my Zone File


$TTL 10000

@ IN SOA hp3bl5PSXDNS.testnet.com.  root.testnet.com. (
2017051700 ; Serial number (yyyymmdd-num)
8H ; Refresh
2M ; Retry
4W ; Expire
1D ) ; Minimum
     IN NS hp3bl5PSXDNS

hp3bl5PSXDNS              A                         10.54.213.8

testnet.com.      IN  NAPTR   22   32   "u"        "SIP+D2U"       ""      
_sip._udp.testnet.com.
atlanta.testnet.com.      IN  NAPTR   22   32   "u"        "SIP+D2U"       ""   
   _sip._udp.testnet.com.
_sip._udp.testnet.com.    IN  SRV       0        30      7700 
atlanta.testnet.com.
_sip._udp.testnet.com.    IN  SRV       0        20      7701 
atlanta.testnet.com.
atlanta.testnet.com.      IN  AAAA    fd00:10:6b50:4500::78
_sip._udp               IN  SRV       0        40      51380 
arizona.testnet.com.
arizona.testnet.com.  IN A    10.54.80.14
atlanta1.testnet.com.          IN AAAA   fd00:10:6b50:4500::22
atlanta.testnet.com.      IN A   10.54.80.14




When i do a dig for NAPTR and SRV records the answer is different

Question A: Why does not NAPTR Response additional section contain the 
responses for A RR too?  Why is it answering only NS A RR Answer?


hp3bl5PSXDNS:/var/lib/named # dig atlanta.testnet.com. NAPTR

; <<>> DiG 9.9.5-rpz2+rl.14038.05-P1 <<>> atlanta.testnet.com. NAPTR
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12911
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;atlanta.testnet.com.                               IN           NAPTR

;; ANSWER SECTION:
atlanta.testnet.com.                10000    IN           NAPTR  22 32 "u" 
"SIP+D2U" "" _sip._udp.testnet.com.

;; AUTHORITY SECTION:
testnet.com.                  10000    IN           NS          
hp3bl5PSXDNS.testnet.com.

;; ADDITIONAL SECTION:
hp3bl5PSXDNS.testnet.com. 10000 IN                A             10.54.213.8

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed May 24 17:00:08 IST 2017
;; MSG SIZE  rcvd: 143


hp3bl5PSXDNS:/var/lib/named # dig _sip._udp.testnet.com. SRV

; <<>> DiG 9.9.5-rpz2+rl.14038.05-P1 <<>> _sip._udp.testnet.com. SRV
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26243
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 1, ADDITIONAL: 5

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;_sip._udp.testnet.com.                           IN           SRV

;; ANSWER SECTION:
_sip._udp.testnet.com.            10000    IN           SRV        0 40 51380 
arizona.testnet.com.
_sip._udp.testnet.com.            10000    IN           SRV        0 20 7701 
atlanta.testnet.com.
_sip._udp.testnet.com.            10000    IN           SRV        0 30 7700 
atlanta.testnet.com.

;; AUTHORITY SECTION:
testnet.com.                  10000    IN           NS          
hp3bl5PSXDNS.testnet.com.

;; ADDITIONAL SECTION:
atlanta.testnet.com.                10000    IN           A             
10.54.80.14
atlanta.testnet.com.                10000    IN           AAAA    
fd00:10:6b50:4500::78
arizona.testnet.com. 10000    IN           A             10.54.80.14
hp3bl5PSXDNS.testnet.com. 10000 IN                A             10.54.213.8

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed May 24 17:00:35 IST 2017
;; MSG SIZE  rcvd: 273

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to