How can I configure a Zone File to support multiple NAPTR RR for a single query Record?

Harshith Mulky harshith.mulky at outlook.com
Fri Jun 24 05:55:25 UTC 2016


How can I configure a Zone File to support multiple NAPTR RR for a single query Record
I tried the below example here on Zone file "example.com"
named-checkzone example.com example.com did not return any Errors

I am able to dig the Record for 6.4.3.2.1.0.6.8.9.9.example.com.

But when I dig for 8.7.6.5.4.3.2.1.0.1.6.example.com. with $ORIGIN directive included I receive the error as NXDOMAIN

What am I doing wrong?

$TTL  600
$ORIGIN example.com.
@    IN               SOA  1 e164-contacts  (
                                2002022402 ; serial
                                3H ; refresh
                                15 ; retry
                                1w ; expire
                                3h ; minimum
                               )
; Name Server (NS) records
                              IN  NS  1.example.com.

; A records
1.example.com.      IN  A   10.54.78.28

; NAPTR records

6.4.3.2.1.0.6.8.9.9.example.com. IN NAPTR 10 100 "u" "E2U+pstndata:cnam" "!^.*$!pstndata:cnam/+15052121111;;charset=us-ascii,Test%20User!" .
1.2.6.4.9.9.9.9.9.9.example.com. IN NAPTR 10 100 "u" "E2U+pstndata:cnam" "!^.*$!pstndata:cnam/+15052121111;;charset=us-ascii,User%20Defined!" .
$ORIGIN 8.7.6.5.4.3.2.1.0.1.6.
                IN NAPTR 100 10 "u" "E2U+sip" "!^.*$!sip:bob at sip.telebob.au!" .
                IN NAPTR 100 10 "u" "E2U+sip" "!^.*$!sip:bob2 at sip.telebob.au!" .

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20160624/d2af4b74/attachment.html>


More information about the bind-users mailing list