On Tue, Apr 26, 2011 at 18:45, James Cloos <[email protected]> wrote: > I tried out a naptr again.
> insert into records (domain_id, name, type, content) > values ( 1, '4.3.example.com', 'NAPTR', $C$100 10 "u" "E2U+sip" > !^\+*([^\*]*)!sip:\[email protected]!$C$); I've never tried NAPTR records, but my immediate thought on this is, shouldn't those be double backslashes in the regex part? One layer of escaping because it follows the zone file rules for TXT-like record parts, one layer on the regex level? > The regexp is from an existing, valid NAPTR in current production use, > with only the domain changed to example.com. Have you checked how dig serializes the record to text and put exactly that into the table column? _______________________________________________ Pdns-dev mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-dev
