[TriLUG] OT: DNS not following routes
Brian Henning
brian at strutmasters.com
Wed Oct 11 16:35:21 EDT 2006
Hi Gang,
Is it normal for DNS lookups (which are UDP, right?) to not obey
routing tables? I have a machine on network "A" configured to route
through a router that sits between "A" and "B", and use the gateway on
"B" as its default. The "B" gateway also knows how to get packets to
machines on "A". With this setup, I can successfully ping random hosts
"out there", and traceroute indicates that packets are going along the
path I want them to.. but DNS lookups fail. I can ping the DNS servers
with no trouble; just can't (seem to) get an actual query through to
them. i.e. (yes, the client machine is windows... the router and
gateway are linux, though!)
C:\> ping 4.2.2.4
Pinging 4.2.2.4 with 32 bytes of data:
Reply from 4.2.2.4: bytes=32 time=276ms TTL=246
Reply from 4.2.2.4: bytes=32 time=374ms TTL=246
Reply from 4.2.2.4: bytes=32 time=217ms TTL=246
Reply from 4.2.2.4: bytes=32 time=344ms TTL=246
Ping statistics for 4.2.2.4:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 217ms, Maximum = 374ms, Average = 302ms
C:\> ping www.yahoo.com
Ping request could not find host www.yahoo.com. Please check the name
and try again.
I'm at a loss.. Any suggestions?
Thanks,
~Brian
--
----------------
Brian A. Henning
strutmasters.com
336.597.2397x238
----------------
More information about the TriLUG
mailing list