<html><head></head><body><div style="color:black;font-size:14px">Hello.<br></div><div style="color: black;font-size: 14px;">We are testing a powerdns authoritative server installation and we are trying to figure out the maximum query rate in TCP mode.<br></div><div style="color: black;font-size: 14px;"><br></div><div style="color: black;font-size: 14px;">We use the "dnsperf" tool with the following syntax:<br></div><div style="color: black;font-size: 14px;"><br></div><blockquote style="border-left: 2px solid rgb(168, 168, 168); padding-left: 10px; margin-top: 0.5rem; margin-block-start: 0px; margin-inline-start: 0px;"><div style="color:black;font-size:14px">dnsperf -m tcp -s xxx.xxx.xxx.xxx -d barbeuk.elenco  -c 10 -T 200 -l 180   -Q 200000 -S 1<br></div></blockquote><div style="color: black;font-size: 14px;">where: <br></div><div style="color: black;font-size: 14px;">xxx.xxx.xxx.xxx is the IP address of the powerdns server<br></div><div style="color: black;font-size: 14px;">barbeuk.elenco is a file containing a list random third level domains.<br></div><div style="color: black;font-size: 14px;"><br></div><div style="color: black;font-size: 14px;">What we are finding is that we can't go above 1000 queries per second and we can't understand why since using UDP we can handle more than 30000 queries per second.<br></div><div style="color: black;font-size: 14px;"><br></div><div style="color: black;font-size: 14px;">We are probably missing something relevant in the configuration, but we can't understand what.<br></div><div style="color: black;font-size: 14px;">Which are the most important configurations to be considered concerning the performances in TCP?<br></div><div style="color: black;font-size: 14px;"><br></div><div style="color: black;font-size: 14px;">We are using powerdns version 4.7.3.<br></div><div style="color: black;font-size: 14px;">Thanks.<br></div><div style="color: black;font-size: 14px;">Riccardo</div><div style="color:black;font-size:14px" class="signature"><br></div></body></html>