[Pdns-users] Using pipe-regex to filter on query type

Dan Campbell pdns at w3eta.net
Tue May 4 00:55:15 UTC 2010


I've been using the pipebackend for a while and I don't think I've  
ever seen request for an A record in my backend.

The doc does talk about the necessity of handling ANY requests inthe  
pipebackend.
--
Dan Campbell


On May 2, 2010, at 7:17 PM, Patrick Wendell <patrickw at princeton.edu>  
wrote:

> Hi There,
>
> The documentation says that an A record query for www.powerdns.com  
> will be represented as "www.powerdns.com;A" to the pipe-regex  
> checker. However, if I write a rule like:
>
> pipe-regex=^.*;A$
>
> With the intent of sending only A records to the pipe-backend, it  
> doesn't work. I'm guessing what is happening, is that the pipe-regex  
> is actually checking against "www.pwerdns.com;ANY" which is usually  
> the first query sent to the backend. Can anyone confirm this?
>
> If so, it would be nice to change the documentation in a way that  
> reflects this limitation. I.e. explaining that there isn't really a  
> way to match on record type.
>
> - Patrick
>
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20100503/8feb77fb/attachment-0001.html>


More information about the Pdns-users mailing list