<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2013/5/22 Jared Mauch <span dir="ltr"><<a href="mailto:jared@puck.nether.net" target="_blank">jared@puck.nether.net</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="im"><br>
On May 22, 2013, at 10:06 AM, Kareem Ali <<a href="mailto:kareem.ali@centralnic.com">kareem.ali@centralnic.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> I'm trying to run a DNS TCP performance test to a DNS server in a<br>
> lab environment. I'm doing the test from another server connected<br>
> directly with a 1 Gb link. Both servers are running CentOS 6.4. I use<br>
> dnsperf to run my DNS performance test on UDP, and it's giving me what I<br>
> want on both IPv4 and IPv6, but I can't find a proper tool to do it with<br>
> TCP.<br>
><br>
> I tried querytcp, but it won't let me limit the maximum queries per<br>
> second. Also, couldn't get queryperf++ to install on my boxes because it<br>
> has some dependencies that it needs to run.<br></div></blockquote><div><br>querytcp's "maximum outstanding queries" option is quite suitable for setting qps limit. <br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="im">
><br>
> Does anybody know a good tool to do DNS performance tests over TCP?<br>
<br>
</div>[without research random musing]<br>
<br>
I would imagine you could just modify the source to use SOCK_STREAM instead of SOCK_DGRAM unless it uses sendto or recvfrom. It would also need to utilize connect(). The packet formats are nearly identical (you need to send the packet length in the TCP message per RFC 1035 4.2.2).<br>
</blockquote><div><br>I tried to do this without luck. Dnsperf is depending on Bind's API, which is very poor documented. Also it opens and uses only one socket, that's not an option for TCP tests.<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><font color="#888888"><br>
- Jared<br>
</font></span><div class=""><div class="h5">_______________________________________________<br>
dns-operations mailing list<br>
<a href="mailto:dns-operations@lists.dns-oarc.net">dns-operations@lists.dns-oarc.net</a><br>
<a href="https://lists.dns-oarc.net/mailman/listinfo/dns-operations
dns-jobs" target="_blank">https://lists.dns-oarc.net/mailman/listinfo/dns-operations<br>
dns-jobs</a> mailing list<br>
<a href="https://lists.dns-oarc.net/mailman/listinfo/dns-jobs" target="_blank">https://lists.dns-oarc.net/mailman/listinfo/dns-jobs</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>AP
</div></div>