LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-16-2006, 08:24 PM   #1
rhb327
Member
 
Registered: May 2004
Distribution: Slackware Current
Posts: 161

Rep: Reputation: 30
DHCP resoving seems slow


Hi & thanks for reading. I recently upgraded to Slack 11. I've noticed my DNS resolution seems slow via my cable modem setup using DHCP. I followed the DHCP mini HOWTO to set it up. Here are some pertinent details:

-----

1) rc.inet1.conf snippet:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
MTU[0]="1500" # The default MTU is 1500, but you might need
DHCP_KEEPRESOLV[0]="no" # If you dont want /etc/resolv.conf overwritten

2) resolv.conf <<< created using netconfig
# Generated by dhcpcd for interface eth0
search ahvl.nc.charter.com
nameserver 24.197.97.134
nameserver 24.197.97.135

3) Charter speed test:
Preparing Speedtest . . . . . . . . . . . . . . . . . . Done
running 10s outbound test (upload) . . . . . 287.74Kb/s
running 10s inbound test (download) . . . . . . 2.84Mb/s
Your speed is 51.69 times faster than 56Kb dialup
Your Workstation is connected to a Cable/DSL modem
click START to re-test

------

So the speed looks good but it seems to take a while to resolve names via NDS! Any ideas where to look or other useful information I could provice? Perhaps a few neighbors now have cable modems too!

Thanks
 
Old 10-16-2006, 09:59 PM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Unfortunatley Im not that savy when it comes to networks, but Im having a problem similiar to yours in that internet browsing is slow in the sense that when I type in a URL it takes a while to find the page or load it up, but once it does its fine, does that sound familiar to your problem?
 
Old 10-16-2006, 10:01 PM   #3
rhb327
Member
 
Registered: May 2004
Distribution: Slackware Current
Posts: 161

Original Poster
Rep: Reputation: 30
Yes...that is the symptom.
 
Old 10-16-2006, 10:27 PM   #4
alienux
Member
 
Registered: Sep 2006
Location: Dayton, Ohio
Distribution: Slackware 12, Fedora Core, PCLinuxOS
Posts: 194

Rep: Reputation: 30
I've noticed this to be a problem when the first nameserver entry is offline or unreachable. If the first one doesn't respond, it often takes a little while before the secondary server is queried. Try pinging both of the DNS servers and make sure they both reply. If the first one doesn't, comment it out and try again. If they both reply, try reversing the order they're listed in to see if it makes a difference.

I run two DNS servers on my home network, and the behavior you described is exactly what happens on my Linux boxes if I ever have to take the primary DNS server down for anything.

Last edited by alienux; 10-16-2006 at 10:29 PM.
 
Old 10-16-2006, 10:59 PM   #5
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Thanks for the sugestion, but that didn't work, I just cant figure out whats causing this, when I reboot to windows it runs fine, Weird.
 
Old 10-17-2006, 12:02 AM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Take out the first line (search ahvl.nc.charter.com) and try again.
 
Old 10-17-2006, 05:44 AM   #7
rhb327
Member
 
Registered: May 2004
Distribution: Slackware Current
Posts: 161

Original Poster
Rep: Reputation: 30
Interesting...I pinged both and received very similar times. I commented out the first line and there is a noticeable difference in the browser response time now. Thanks!
 
  


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
Suse 9.2 & SATA - Slow, Slow, Slow jess1975 SUSE / openSUSE 6 01-28-2007 12:17 PM
resoving DNS in Apache sailu_mvn Linux - Software 5 12-23-2005 05:23 PM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 01:39 PM
Slow web browsing behind router w/ DHCP on DSL connection johngcarlsson Linux - Newbie 20 10-18-2004 03:32 PM
slow bootup when loading networking, possibly dhcp problem? vdemuth Linux - Networking 2 04-12-2004 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:46 AM.

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