Maximum limit in a NAPTR RR
Harshith Mulky
harshith.mulky at outlook.com
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
5.4.7.7.7.0.1.telus.com. IN NAPTR 8 0 "u" "sip+E2U" "!^(.*)(....)(..)$!sip:\\1 at 154.11.143.16;maddr=\\2.\\3.prim-sc.RL.telus.com;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 telus.com telus.zone
dns_rdata_fromtext: telus.zone:35: syntax error
zone telus.com/IN: loading from master file telus.zone failed: syntax error
zone telus.com/IN: not loaded due to errors.
But if I have a reduced response removing few lines/characters as below
5.4.7.7.7.0.1.telus.com. IN NAPTR 8 0 "u" "sip+E2U" "!^(.*)(....)(..)$!sip:\\1 at 154.11.143.16;maddr=\\2.\\3.prim-sc.RL.telus.com;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 telus.com telus.zone
zone telus.com/IN: loaded serial 2021033103
OK
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
Harshith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20210331/1a029b40/attachment.htm>
More information about the bind-users
mailing list