Background
We have seen some DNS servers block the queries where both ipv4 and ipv6 are queries together from DNS in a single TCP command
The RFC says this is something called DNS pipelining, 6.2.1.1
Query
I am trying to understand how to simulate this from the command line or C code.
I came across this link but it doesn't issue a single query rather 2 queries one after the other. That is not what I need
Basically I need a way to issue such queries at will to prove to the customer that their DNS is at fault :)
Any pointers how to achieve this ? I am wondering how glibc/resolver is doing it. Tried digging there but could not figure out
Can someone point me to some code ?