You are not logged in.
I want to use OpenDNS servers in Arch Linux. My /etc/resolv.conf.head
nameserver 208.67.222.222
nameserver 208.67.220.220However, a local DNS server is still being used
$ dig archlinux.org
; <<>> DiG 9.11.0 <<>> archlinux.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4099
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;archlinux.org. IN A
;; ANSWER SECTION:
archlinux.org. 3600 IN A 66.211.214.131
;; Query time: 322 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)Offline
Is the content of /etc/resolv.conf.head inserted into /etc/resolv.conf?
Depending on the tool, resolvconf may be used (by netctl). https://wiki.archlinux.org/index.php/Re … openresolv
This silver ladybug at line 28...
Offline
>>Is the content of /etc/resolv.conf.head inserted into /etc/resolv.conf?
by whom?
>>Depending on the tool,
what tool?
Offline
>>Is the content of /etc/resolv.conf.head inserted into /etc/resolv.conf?
by whom?
I was asking you to check /etc/resolv.conf, because your nameservers must be added to this file to take effect.
>>Depending on the tool,
what tool?
As mentioned in my post, as well as the wiki page I linked, netctl, for one.
This silver ladybug at line 28...
Offline
/etc/resolv.conf.head is used by dhcpcd , but other network managing tools use different methods for changing resolv.conf .
Which tool are you using to manage your network : dhcpcd , dhclient, netctl, networkmanager, systemd-networkd (just mentioning a few, there are more) ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Arch itself doesn't touch your resolv.conf configuration, so unless you choose to use a tool that overwrites it (such as systemd-resolved or dhcpcd), you just edit that file yourself.
Offline
>>Which tool are you using to manage your network : dhcpcd , dhclient, netctl, networkmanager, systemd-networkd (just mentioning a few, there are more) ?
dhcpcd and networkmanager
Offline
>>Arch itself doesn't touch your resolv.conf configuration, so unless you choose to use a tool that overwrites it (such as systemd-resolved or dhcpcd), you just edit that file yourself.
what tool is it?
Offline
Are you fucking kidding me. I ask again, what does your /etc/resolv.conf look like?
This silver ladybug at line 28...
Offline
>>Arch itself doesn't touch your resolv.conf configuration, so unless you choose to use a tool that overwrites it (such as systemd-resolved or dhcpcd), you just edit that file yourself.
what tool is it?
To edit the file? Your text editor of choice.
>>Which tool are you using to manage your network : dhcpcd , dhclient, netctl, networkmanager, systemd-networkd (just mentioning a few, there are more) ?
dhcpcd and networkmanager
You shouldn't be using those together. Pick one core networking tool and stick with it. If you're using networkmanager, it handles dhcp itself. To set networkmanager up, follow the directions here. If you're using networkmanager, just edit resolv.conf yourself.
Offline
Are you fucking kidding me.
Yes.
Offline
cat /etc/resolv.conf
# Generated by resolvconf
nameserver 208.67.222.222
nameserver 208.67.220.220
search WirelessAP
nameserver 192.168.1.1
nameserver fe80::1%wlp4s0Offline
so it's working?
This silver ladybug at line 28...
Offline
Yes. But I also remember that a couple days ago it didn't work for some website and it used a local dns server, although it did work for archlinux.org. How could that be?
Offline
Well you didn't provide enough info for us to start with. The opportunity is gone. Be happy with what you have. Have a good life. Let it be.
This silver ladybug at line 28...
Offline