[Pdns-dev] How to set PowerDNS Server with option any-to-tcp

Aki Tuomi cmouse at youzen.ext.b2.fi
Tue Aug 25 09:18:19 CEST 2015


On Tue, Aug 25, 2015 at 09:59:12AM +0300, Burak Ozalp wrote:
> Dear Tuomi,
> 
> Yes it works.Does it possible to force all UDP request with
> truncated packet, and force all to use TCP ?
> 
> Best Regards
> Burak Ozalp
> 

Not without some LUA script, and I'm pretty sure you do not want to do this
if you want your domains to work globally.

> 
> 
> Alinti Aki Tuomi <cmouse at youzen.ext.b2.fi>
> 
> >On Mon, Aug 24, 2015 at 03:36:02PM +0300, Burak Ozalp wrote:
> >>I install PowerDNS with MySql backend from here.I would like to set
> >>any-to-tcp=yes for PowerDNS Server. I tried to configure
> >>/etc/powerdns/pdns.conf file and add a line "any-to-tcp=yes". This
> >>option should reject UDP request from client and force to use tcp.
> >>But when i run dig @127.0.0.1 it doesn't set the truncated bit in
> >>response, so it doesn't work.
> >>
> >>How to set correctly any-to-tcp option ?
> >>
> >
> >It only truncates ANY query, try dig any domain.com @localhost
> >
> >>
> >>_______________________________________________
> >>Pdns-dev mailing list
> >>Pdns-dev at mailman.powerdns.com
> >>http://mailman.powerdns.com/mailman/listinfo/pdns-dev
> >>
> >
> 
> 
> 
> 



More information about the Pdns-dev mailing list