gremwell
asked on
Can I send multiple DNS queries over one TCP connection?
I would like to know whether it is possible to send more than one DNS query over the same TCP connection.
I am aware that DNS queries usually go over UDP and TCP is used for large requests and zone transfers only, no need to point it out. I want to make a bunch of DNS request over the same TCP connection. Is this possible?
Answers to this specific question hopefully referring to RFC or other reputable sources are greatly appreciated.
I am aware that DNS queries usually go over UDP and TCP is used for large requests and zone transfers only, no need to point it out. I want to make a bunch of DNS request over the same TCP connection. Is this possible?
Answers to this specific question hopefully referring to RFC or other reputable sources are greatly appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Chris, I really appreciate you taking care to answer to the specific question I have asked.
PS. Yes, I also have not manage to simulate it with resolvers. Even if I run 'dig' in batch mode ('-f' command line key) it reopens the connection to every request. I trust there are some Perl modules will help.
PS. Yes, I also have not manage to simulate it with resolvers. Even if I run 'dig' in batch mode ('-f' command line key) it reopens the connection to every request. I trust there are some Perl modules will help.
Fingers crossed then :)
As far as I know Net::DNS does the same thing (one TCP connection per query), but it's been a very long time since I looked at it.
Chris
As far as I know Net::DNS does the same thing (one TCP connection per query), but it's been a very long time since I looked at it.
Chris
Can you please provide a little more information on what you are attempting to do?