Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-29-2006, 08:36 AM   #1
LQ Newbie
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
DNS over UDP problem

I am having problem with the DNS resolver on my debian box. The problem arises when I use wireless network and use UDP for DNS request.

The problem is that the resolver always fails with a timeout in connection. It happens only when I am using my wireless card with some wireles access points/network. I have tried troubleshooting with dig. dig complains that it cannot connect to the name server after some timeout, although a tcpdump shows that the packages are actually transmitted and some response message is also received. However, if I use +tcp option to force dig to use DNS over TCP rather than UDP, there is no problem. It is not the problem of the name server coz other users, and even the same machine when wired network is used instead, can use the name server flawlessly. Anybody has similar experience or any suggestions? I have been searching google for a way to force resolver to use TCP but got no luck. Any suggestion will be highly appreciated.
Old 03-30-2006, 06:28 PM   #2
Senior Member
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
AFAIK there isn't a way to force the default name resolution to use TCP over UDP. My advice is that if you have pinned it down to only wireless on one system that appears to not be able to handle UDP transmissions, it's probably bad hardware/driver ie bad NIC and should be replaced. I've never seen wireless that could hold a TCP connection but not a UDP one, so my guess is there is some layer 2 thing it's not doing right.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
UDP: Short Packets: and UDP bad checksum: entries in dmesg minutes2memories Linux - Networking 2 02-26-2006 08:28 PM
Is it possible to set the udp packet size for a DNS query in BIND 9.2.1?? Paul_Randle Linux - Networking 0 10-17-2005 09:29 AM
problems with udp and dns server wedgeworth Linux - Software 1 04-30-2004 03:24 PM
RH 9.0 DNS resolution over UDP not happening joeswaminathan Linux - Newbie 2 11-10-2003 10:26 AM
Rehat machine won't do dns lookup via udp Ross Clement Linux - Networking 3 10-22-2003 03:12 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration