Why does dig queries for NAPTR not return Additional Section info as Detailed returned in SRV dig response

Mark Andrews marka at isc.org
Fri May 26 00:24:02 UTC 2017


RFC 3404

   At this time only four flags, "S", "A", "U", and "P", are defined.
   The "S", "A" and "U" flags are for a terminal lookup.  This means
   that the Rule is the last one and that the flag determines what the
   next stage should be.  The "S" flag means that the output of this
   Rule is a domain-name for which one or more SRV [9] records exist.
   See Section 5 for additional information on how URI and URN
   Resolution use the SRV record type.  "A" means that the output of the
   Rule is a domain-name and should be used to lookup either A, AAAA, or
   A6 records for that domain.  The "U" flag means that the output of
   the Rule is a URI [15].

Named examines the Flags field to determine what additional data to add.

"S" -> SRV records
"A" -> A and AAAA records

Mark

In message <PN1PR01MB0381F23A8E1E8509879A829881FF0 at PN1PR01MB0381.INDPRD01.PROD.OUTLOOK.COM>, Harshith Mulky writes:
> 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

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-users mailing list