[Pdns-users] Multiple Entries in the Content field of NAPTR records.

Jonathan Hunter hunterj91 at hotmail.com
Fri Feb 20 17:28:53 UTC 2015


Hi All,
Is it possible when implementing NAPTR records in the records table to add multiple entries within the content field of a record?
Im just trying to reduce the number of entries in the database, so wondered if I could have more than one content entry, and if so how do you split them up?
So for example I have;

 select * from records;+----+-----------+---------------------------+-------+-------------------------------------------------------------+-------+------+-------------+| id | domain_id | name                      | type  | content                                                     | ttl   | prio | change_date |+----+-----------+---------------------------+-------+-------------------------------------------------------------+-------+------+-------------+
| 27 |         1 | *.0.3.7.7.4.4.e164.sip.mn | NAPTR | 2 10 "U" "E2U+sip" "!^(.*)$!sip:\\1 at 195.219.240.46!".       |   120 | NULL |        NULL || 26 |         1 | *.0.3.7.7.4.4.e164.sip.mn | NAPTR | 2 10 "U" "E2U+sip" "!^(.*)$!sip:\\1 at 195.219.240.50!".       |   120 | NULL |        NULL |
Can I add both 2 10 "U" "E2U+sip" "!^(.*)$!sip:\\1 at 195.219.240.46!". and 2 10 "U" "E2U+sip" "!^(.*)$!sip:\\1 at 195.219.240.50!". into the content of id 27  without breaking a query?
Many thanks
Jon
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20150220/42d449b7/attachment.html>


More information about the Pdns-users mailing list