Re: [Pdns-users] pdns-recursor: Block domains

2013-04-27 Thread Peter van Dijk
Hello Michael,

On Apr 26, 2013, at 18:57 , Michael Ströder wrote:

 What's the simplest and hopefully efficient way to block domains from being
 resolved by pdns-recursor?
 
 I'd like to just NXDOMAIN being returned for all RRs in unwanted domains.

Like JP said, Lua is a very good option. The other option is using local-zones 
or forward-zones.

Kind regards,
-- 
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/


___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] pdns-recursor: Block domains

2013-04-27 Thread Michael Ströder
Peter van Dijk wrote:
 On Apr 26, 2013, at 18:57 , Michael Ströder wrote:
 
 What's the simplest and hopefully efficient way to block domains from being
 resolved by pdns-recursor?

 I'd like to just NXDOMAIN being returned for all RRs in unwanted domains.
 
 Like JP said, Lua is a very good option. The other option is using 
 local-zones or forward-zones.

Hmm, in case of forward-zones I'd need an additional DNS server generating the
NXDOMAIN. So I will try with pseudo local-zones.

Ciao, Michael.



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


[Pdns-users] pdns-recursor: Block domains

2013-04-26 Thread Michael Ströder
HI!

What's the simplest and hopefully efficient way to block domains from being
resolved by pdns-recursor?

I'd like to just NXDOMAIN being returned for all RRs in unwanted domains.

Ciao, Michael.



smime.p7s
Description: S/MIME Cryptographic Signature
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] pdns-recursor: Block domains

2013-04-26 Thread Jan-Piet Mens
n'Abend Michael,

 What's the simplest and hopefully efficient way to block domains from being
 resolved by pdns-recursor?
 
 I'd like to just NXDOMAIN being returned for all RRs in unwanted domains.

I think your best bet is using the Lua interface [1]. 

Regards,

-JP

[1] http://wiki.powerdns.com/trac/wiki/Lua

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users