Hello Kenneth,

On Sat, 2019-07-27 at 21:02 +0000, Kenneth Bengtsson wrote:
> Dear all
>  
> I’m setting up a service that uses NAPTR records for service discovery. 
> Everything looks good in the (MySQL) records but when requesting the 
> resources, PowerDNS escapes the regex group characters (“(“ and “)”) with a 
> backslash character. So for example, a regular expression that looks like 
> “{(*.)}” in the DB record comes back as “{\(*.\)}”.
>  
> I’ve tried different examples, both my own and what I’ve found lying around 
> including on this mailing list, and the result is very consistent. For some 
> reason, PowerDNS insists on escaping the ( and ) characters in the regular 
> expression.

PowerDNS does not that, but a client like 'dig' might do it on output. To make 
sure what's happening, can you show your data, your output, etc.?

Kind regards,
-- 
Peter van Dijk
PowerDNS.COM BV - https://www.powerdns.com/

_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to