[Pdns-users] Exception: unknown escape sequence on NAPTR regex

Duane duane at e164.org
Tue Aug 5 03:08:43 UTC 2008


Peter Fern wrote:

> All I'm trying to do is get PDNS to return a record verbatim from the
> backend (actually, I've just reviewed the RFC, which says a
> double-backslash in the zone must return a single in the response). 
> Simply matching '\\' and returning '\' is a low-cost operation, and
> required for RFC compliance - I can't believe that this will result in a
> significant load increase.  In any case, load is not an issue for our
> application - we can through more hardware at it.  And expanding the
> regex before adding to the backend is entirely impractical since we'd
> potentially have to insert hundreds of thousands of records to match a
> single pattern with a backref, depending on the numbering scheme.

I'm assuming you are talking about consecutive numbering, in which case
you just use a wildcard.

-- 

Best regards,
 Duane

http://www.freeauth.org - Enterprise Two Factor Authentication
http://www.nodedb.com - Think globally, network locally
http://www.sydneywireless.com - Telecommunications Freedom
http://e164.org - Global Communication for the 21st Century

"In the long run the pessimist may be proved right,
    but the optimist has a better time on the trip."

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20080805/a30b3fab/attachment-0001.sig>


More information about the Pdns-users mailing list