Jump to content

/etc/resolv.conf file [solved]


Rama Murthy
 Share

Recommended Posts

Hi,

My internet connection is very slow in my Mandriva compared to the connection speed in Windows XP. Just did a google search for this problem. One of the forums said

"Check your DNS servers in your /etc/resolv.conf file. If it shows your router as the nameserver this might be the issue. Change this entry to your ISP's DNS servers."

 

My /etc/resolv.conf file says-

 

search Belkin

nameserver 192.168.2.1
nameserver 65.24.7.3
nameserver 65.24.7.6

 

I am pretty sure Belkin is the name of my router. What exactly should I change this to? What is " entry in my ISPs DNS server"?

 

Thanks so much for all ur help!!

 

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

The search line can slow things down a bit you can always comment this line out using the # and put it at the beginning of the line. Then see if it is any faster. Also, I'm assuming that the first nameserver listed is the router, and therefore this should be providing proxy DNS to the internet DNS servers anyhow, then responding to your request afterwards. This shouldn't cause any speed hit as such.

 

Another reason for speed problems could be due to IPV6. If you are using Firefox, then in the url bar where you type your web addresses, type this:

 

about:config

 

filter for ipv6 and then enable this to disable IPV6 and see if it's any better. If it's still not better, then you need to disable IPV6 on your system. This can be done in a number of ways, check this link:

 

http://www.linuxsolutions.org/index.php?op...5&Itemid=26

 

in addition to what I've listed here, if none of this does it you might also have to add to /etc/modprobe.conf:

 

alias ipv6 off

 

and see if that does it. You can check if ipv6 is enabled, because when you do an ifconfig, it will show an ipv6 entry. Alternatively, lsmod will also show this if you do:

 

lsmod | grep -i ipv6

 

and if a module is listed, then ipv6 is enabled, and not disabled.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...