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

Peter Fern pdns at obfusc8.org
Tue Jul 29 16:09:36 UTC 2008


bert hubert wrote:
> On Tue, Jul 29, 2008 at 05:08:26PM +1000, Peter Fern wrote:
>   
>> No one else is serving NAPTR E2U expressions from PowerDNS?
>>     
>
> Peter,
>
> Sorry for the late replay. In fact, quite a number of people are doing such
> things with PowerDNS.
>   

No problem Bert, thank you for the reply.

> Can you try doubling the \, so:
>
> 100 0 "u" "E2U+sip" "!^\\+([0-9][0-9][0-9])$!sip:\\1 at somesiphost.com!" .
>   

I did actually try this, I should have mentioned - the problem then is
that the double-backslash is passed verbatim, so the record is sent with
two slashes...

I will retry this in the morning to confirm.

Regards,
Pete




More information about the Pdns-users mailing list