DNS using TCP only

I

Idcrisis

Hi,

I was wondering if there was a way to configure XP to use TCP based DNS
only for its DNS lookups and not use UDP at all.

I have the need to tunnel DNS over SSH and for the life of me I can't get
the UDP->TCP->UDP working.

So I thought that if there was a way to configure XP to use only TCP for
its hosts lookups then my problem is solved.

Thanks for your help,
Id
 
T

Todd H.

Idcrisis said:
Hi,

I was wondering if there was a way to configure XP to use TCP based
DNS only for its DNS lookups and not use UDP at all.

I have the need to tunnel DNS over SSH and for the life of me I can't
get the UDP->TCP->UDP working.

So I thought that if there was a way to configure XP to use only TCP
for its hosts lookups then my problem is solved.

Thanks for your help,
Id

Two random thoughts come to mind

OpenVPN
Create a local DNS server confirgured for caching only to the remote one.

Not sure you can force XP's resolver to tcp only. Or if you'd really
want to if you could.

comp.protocols.dns.bind might give a better answer.
 
S

Spin

Todd H. said:
Two random thoughts come to mind

OpenVPN
Create a local DNS server confirgured for caching only to the remote one.

Not sure you can force XP's resolver to tcp only. Or if you'd really
want to if you could.

comp.protocols.dns.bind might give a better answer.

To idcrisis -

I believe tcp is only for zone transfers when it comes to DNS. UDP is for
query. And that one can't use tcp for query. I could be wrong though.
 
J

Jonathan de Boyne Pollard

Not sure you can force XP's resolver to tcp only. Or if you'd really want to if you could.



comp.protocols.dns.bind  might give a better answer.



I believe tcp is only for zone transfers when it comes to DNS.  UDP is for query.  And that one can't use tcp for query.  I could be wrong though.



You are. The protocol falls back from DNS/UDP to DNS/TCP in the event of large responses that exceed the 512 byte limit, or whatever limit is negotiated via EDNS0.  Moreover some softwares do perform queries using DNS/TCP in the first instance.  (The only widely used softwares that do this are "zone transfer" clients, though.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top