Maximum limit in a NAPTR RR

Harshith Mulky harshith.mulky at
Wed Mar 31 10:53:03 UTC 2021

Hello Experts,

Need a help,
How do I know what is the maximum limit in a NAPTR RR which I am trying to configure?

If I configure as below IN NAPTR 8 0 "u" "sip+E2U" "!^(.*)(....)(..)$!sip:\\1 at;maddr=\\2.\\;x-nortel-profile=canadian.destinations;lata=0000;tgrp=EGRESS;name=example;place=india;animal=peacock;thing=wheel;test1=AAAA;test2=BBBB;test3=CCCC;test4=DDDD;test5=EEEE;test6=FFFF;test7=GGGG!".

I am getting Error as below:
# named-checkzone
dns_rdata_fromtext: syntax error
zone loading from master file failed: syntax error
zone not loaded due to errors.

But if I have a reduced response removing few lines/characters as below IN NAPTR 8 0 "u" "sip+E2U" "!^(.*)(....)(..)$!sip:\\1 at;maddr=\\2.\\;x-nortel-profile=canadian.destinations;lata=0000;tgrp=EGRESS;name=example;place=india;animal=peacock;thing=wheel;test1=AAAA;test2=BBBB;test3=CCCC;test4=DDDD;test5=EEEE;test6=FFFF!";

I have no issues with loading the Zone file
# named-checkzone
zone loaded serial 2021033103

My question:

  1.  Is there a limit to the number of characters in a Resource Record?
  2.  If yes, is there a possibility to increase this limit in the RR?

Thanks in Advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the bind-users mailing list