[dnsdist] DnsDist Disable TCP

Burak Ozalp burak.ozalp at metu.edu.tr
Tue Sep 1 14:22:41 UTC 2015


Hi Bert,

I tested wrongly the commit you did about disable-tcp, i got some  
compilation errors when i run make command with new 3 files.

Here is the output of compilation : http://codepad.org/H8PybIbW

Best Regards
Burak Özalp

Alinti Burak Ozalp <burak.ozalp at metu.edu.tr>

> Hi Bert,
>
> It works perfectly! Thank you for the commit.
>
> I have another question. I want the limit the  queries per second.  
> For this purpose i wrote;
>
> newServer{address="8.8.8.8", qps=5}
>
> Then i test with DNS flood attack, and i assumed that the max answer  
> query per second is 5. Bu it wasn't. What is the main purpose of qps  
> limit? Is it for forwarding queries?
>
> Thank you.
>
> Best Regards
> Burak Ozalp
>
>
>
>
> Alinti bert hubert <bert.hubert at netherlabs.nl>
>
>> On Mon, Aug 31, 2015 at 10:47:07AM +0300, Burak Ozalp wrote:
>>> Is it possible to disable TCP connections like pdns set disable-tcp
>>> (https://doc.powerdns.com/md/authoritative/settings/#disable-tcp) in
>>> dndist?
>>> How should I configure dnsdistconf.lua file to nor listen TCP queries.
>>
>> Hi Burak,
>>
>> I just implemented this in
>> https://github.com/PowerDNS/pdns/commit/652a7355dcdfc4d162b54df75d5214b4329231b5
>>
>> Can you test if this does what you want? If you do: addLocal('127.0.0.1',
>> false), it won't do TCP/IP on that address
>>
>> 	Bert
>>
>>>
>>> Best Regards
>>> Burak Ozalp
>>>
>>>
>>> _______________________________________________
>>> dnsdist mailing list
>>> dnsdist at mailman.powerdns.com
>>> http://mailman.powerdns.com/mailman/listinfo/dnsdist
>>>
>>
>
>
>
>
> _______________________________________________
> dnsdist mailing list
> dnsdist at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/dnsdist
>






More information about the dnsdist mailing list