LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-29-2006, 07:36 AM   #1
eddie.plan9
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, 05:28 PM   #2
Darin
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.
 
  


Reply



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 07: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 08:29 AM
problems with udp and dns server wedgeworth Linux - Software 1 04-30-2004 02:24 PM
RH 9.0 DNS resolution over UDP not happening joeswaminathan Linux - Newbie 2 11-10-2003 09:26 AM
Rehat machine won't do dns lookup via udp Ross Clement Linux - Networking 3 10-22-2003 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:07 PM.

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