You are not logged in.

#1 2014-06-04 11:56:04

pgoetz
Member
From: Austin, Texas
Registered: 2014-02-21
Posts: 355

[SOLVED] /etc/resolv.conf vs. the DNS field in netctl profiles

I'm a bit confused about the current role of /etc/resolv.conf.  The Netctl profile documentation has a DNS field, so has /etc/resolv.conf become functionally obsolete when using netctl?  Or is /etc/resolv.conf still useful when you have multiple interfaces, as it specifies DNS servers for all interfaces?

Last edited by pgoetz (2014-08-30 11:51:50)

Offline

#2 2014-06-05 01:11:22

ids1024
Member
From: California
Registered: 2013-08-16
Posts: 243
Website

Re: [SOLVED] /etc/resolv.conf vs. the DNS field in netctl profiles

From https://wiki.archlinux.org/index.php/resolv.conf:

dhcpcd, netctl, NetworkManager, and various other processes can overwrite /etc/resolv.conf.

"Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it."—Linus Torvalds
s/ftp/git/

https://iandouglasscott.com | https://github.org/ids1024 | https://keybase.io/ids1024

Offline

#3 2014-06-05 01:47:19

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] /etc/resolv.conf vs. the DNS field in netctl profiles

The DNS field of netctl will simply allow you to specify what gets written to resolv.conf.  /etc/resolv.conf is still used by the system itself to specify nameservers.

Offline

#4 2014-06-05 09:57:06

pgoetz
Member
From: Austin, Texas
Registered: 2014-02-21
Posts: 355

Re: [SOLVED] /etc/resolv.conf vs. the DNS field in netctl profiles

Thanks for that clarification!

Offline

Board footer

Powered by FluxBB