Manjaro Difference between revisions of "Networking"

Difference between revisions of "Networking"

From Manjaro
imported>Handy
(Created page with "= What's this all about? = Generally, if you are using a different Domain Name Server (DNS) than that provided by your ISP, or you are using the likes of Google's nameservers...")
 
imported>Handy
Line 20: Line 20:
  nameserver 208.67.222.222
  nameserver 208.67.222.222
  nameserver 208.67.220.220
  nameserver 208.67.220.220
= If Pacman times out on you sometimes =
You can create the '''/etc/resolv.conf.tail''' file & add the following to it, (I'm using the OpenDNS address, you could use any other DNS or nameserver that you have access to):
options timeout:1
# OpenDNS servers, used as alternative when default DNS is too slow:
nameserver 208.67.222.222
nameserver 208.67.220.220
After you have saved the edited file use the following command to restart your network (most Manjaro users, use Network Manager):
sudo systemctl restart NetworkManager.service


= Support =
= Support =


Use this thread in the forum if you have any need for further information on this topic: [http://forum.manjaro.org/index.php?action=post;board=15.0]
Use this thread in the forum if you have any need for further information on this topic: [http://forum.manjaro.org/index.php?action=post;board=15.0]

Revision as of 05:41, 20 July 2013

What's this all about?

Generally, if you are using a different Domain Name Server (DNS) than that provided by your ISP, or you are using the likes of Google's nameservers from your Google account you will find that your DNS or other non-standard nameserver addresses will, after you have set them up, get lost on reboot as /etc/resolv.conf is overwritten during the boot process.

How do we solve this problem?

We can input our settings to the /etc/resolv.conf.head file. If this file does not exist then create it. The contents of /etc/resolv.conf.head get sent to the top of /etc/resolv.conf during the boot process.

Examples please?

To use the Google nameservers associated with your Google account, you would add the following to /etc/resolvconf.conf

# Google nameservers
nameserver 8.8.8.8
nameserver 8.8.4.4

You would add any DNS entries that you had the need to. So those that want to use OpenDNS for example you would add the following:

# OpenDNS servers
nameserver 208.67.222.222
nameserver 208.67.220.220

If Pacman times out on you sometimes

You can create the /etc/resolv.conf.tail file & add the following to it, (I'm using the OpenDNS address, you could use any other DNS or nameserver that you have access to):

options timeout:1

# OpenDNS servers, used as alternative when default DNS is too slow:
nameserver 208.67.222.222
nameserver 208.67.220.220

After you have saved the edited file use the following command to restart your network (most Manjaro users, use Network Manager):

sudo systemctl restart NetworkManager.service

Support

Use this thread in the forum if you have any need for further information on this topic: [1]

Cookies help us deliver our services. By using our services, you agree to our use of cookies.