[dns-operations] DNS Performance Test Over TCP

Peter Andreev andreev.peter at gmail.com
Wed May 22 15:33:14 UTC 2013


2013/5/22 Jared Mauch <jared at puck.nether.net>

>
> On May 22, 2013, at 10:06 AM, Kareem Ali <kareem.ali at centralnic.com>
> wrote:
>
> > Hi,
> >
> > I'm trying to run a DNS TCP performance test to a DNS server in a
> > lab environment. I'm doing the test from another server connected
> > directly with a 1 Gb link. Both servers are running CentOS 6.4. I use
> > dnsperf to run my DNS performance test on UDP, and it's giving me what I
> > want on both IPv4 and IPv6, but I can't find a proper tool to do it with
> > TCP.
> >
> > I tried querytcp, but it won't let me limit the maximum queries per
> > second. Also, couldn't get queryperf++ to install on my boxes because it
> > has some dependencies that it needs to run.
>

querytcp's "maximum outstanding queries" option is quite suitable for
setting qps limit.


> >
> > Does anybody know a good tool to do DNS performance tests over TCP?
>
> [without research random musing]
>
> 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).
>

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.


>
> - Jared
> _______________________________________________
> dns-operations mailing list
> dns-operations at lists.dns-oarc.net
> https://lists.dns-oarc.net/mailman/listinfo/dns-operations
> dns-jobs mailing list
> https://lists.dns-oarc.net/mailman/listinfo/dns-jobs
>



-- 
AP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dns-oarc.net/pipermail/dns-operations/attachments/20130522/22961d39/attachment.html>


More information about the dns-operations mailing list