-   Linux - Networking (
-   -   DNS Lookups Slow (

kwiksand 11-15-2004 05:52 AM

DNS Lookups Slow
I've just set up a router running on a Debian box with IPTables at work, so that it routes from two external IP's to different PC's and services inside the network. Ever since installing the router (Taking the place of a DLink 604+), all the PC's behind the router on the LAN take about ten seconds to resolve hostnames. If I change the DNS Servers on the LAN PC's to our ISP's external DNS server, hostname lookups are perfect. So the problem must be on the router side. The routers ( resolv.conf goes like:

and each LAN PC is setup (standard machines through DHCP):
IP: 192.168.0.x

Route table reads:
Destination Gateway Genmask Flags Metric Ref Use Iface * UH 0 0 0 ppp0 * U 0 0 0 eth0
default UG 0 0 0 ppp0

Can anybody think of any reasons why this might be happening?? Running BIND on the router as a transfer DNS from ISP's maybe?? Any suggestions would be much appreciated. I've googled this, but can't find any answers that work..

Note: LAN PC's can, of course connect and ping a raw IP perfectly fine (so its not a problem with net link, or the routers IP forwarding in general).

All times are GMT -5. The time now is 08:49 PM.