LinuxQuestions.org
Review your favorite Linux distribution.
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 11-15-2004, 04:52 AM   #1
kwiksand
Member
 
Registered: Jun 2003
Location: Perth, AUS
Distribution: Gentoo
Posts: 35

Rep: Reputation: 15
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 (192.168.0.1) resolv.conf goes like:
nameserver 203.161.xxx.xxx
nameserver 203.161.xxx.xxx

and each LAN PC is setup (standard machines through DHCP):
IP: 192.168.0.x
Netmask: 255.255.255.0
Gateway: 192.168.0.1
DNS: 192.168.0.1

Route table reads:
Destination Gateway Genmask Flags Metric Ref Use Iface
172.31.150.1 * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default 203.161.103.103 0.0.0.0 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).

Last edited by kwiksand; 11-15-2004 at 05:44 AM.
 
  


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
Webalizer with DNS lookups jnichel Linux - Software 21 01-23-2009 11:13 AM
Caching DNS lookups vikasa Linux - Networking 0 06-26-2003 12:30 PM
Sendail and DNS lookups Hessian Rider Linux - Networking 3 11-05-2002 07:03 AM
Allow DNS lookups through ipchains? ifm Linux - Security 4 08-09-2002 08:17 AM
Reverse DNS Lookups ascii2k Linux - Networking 2 08-08-2001 09:01 AM

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

All times are GMT -5. The time now is 06:47 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