LinuxQuestions.org
Visit Jeremy's Blog.
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 07-21-2004, 02:27 AM   #1
voidmain
LQ Newbie
 
Registered: May 2004
Location: Turkey
Distribution: Slackware Linux 10.0
Posts: 6

Rep: Reputation: 0
Slow DNS Problem Solved Entirely..


Hello everybody. I found a solution to slow DNS resolution under Slackware. This applies for cable connection. The process must be the same for other distros around too.

It's very simple, so let's get started:

1. Disable automatic dhcp lookups.

Under Slackware, the option to use dhcp for an ethernet card is located at /etc/rc.d/rc.inet1.conf file. There must be a line looks like:

USE_DHCP[n]="yes"

in that file, where n is your ethernet card number. You can learn which ethernet you are using to connect internet via ifconfig command. Check the ip of the ethernet card for reference.

2. Delete the /etc/resolv.conf file's content. It must be empty.

3. Edit the /etc/rc.c/rc.local, and add three lines to it:

echo Slow DNS Workaround
dhcpcd -R ethN
named

where N is your ethernet number again.

4. Save the file and reboot.

This is working faster than compared to Windows

Hope this helps!
 
Old 07-21-2004, 07:05 AM   #2
voidmain
LQ Newbie
 
Registered: May 2004
Location: Turkey
Distribution: Slackware Linux 10.0
Posts: 6

Original Poster
Rep: Reputation: 0
Please let me know if it works for you too. So then we will know whether it is a global workaround or not. It may be specific to my system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slow upload speed solved Whitesocks Linux - Networking 0 09-16-2005 06:16 AM
Extremely Slow Internet (DNS problem?) AdmiralFreezbee Linux - Networking 1 04-02-2005 09:18 AM
'PEAR.php' (include_path=''.:/usr/local/lib/php'') SOLVED SOLVED adengua Linux - Software 0 04-02-2004 03:34 AM
DNS still slow after installing caching DNS mooreted Linux - Networking 16 01-01-2004 12:18 AM
Slow FTP logins: NOT DNS problem... TruckStuff Linux - Networking 3 05-09-2002 12:07 AM

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

All times are GMT -5. The time now is 02:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration