Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DNS using TCP only

107 views
Skip to first unread message

Idcrisis

unread,
Mar 11, 2009, 2:00:28 AM3/11/09
to
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

Todd H.

unread,
Mar 19, 2009, 3:51:55 AM3/19/09
to
Idcrisis <dho...@hotmail.com> writes:

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.

--
Todd H.
http://www.toddh.net/

Spin

unread,
May 4, 2009, 9:07:58 AM5/4/09
to
"Todd H." <comp...@toddh.net> wrote in message
news:84eiwu9ch084d4c...@newsguy.com...

> 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.

Jonathan de Boyne Pollard

unread,
Jan 20, 2010, 12:11:30 PM1/20/10
to

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.)

0 new messages