You are not logged in.
Pages: 1
Hey guys I'm unable to figure out how to change my dns server, I tried editing /etc/resolv.conf but it didnt work, I also tried edtitng /etc/dhcpd.conf but it was blank, nonetheless i added
static domain_name_servers=1.1.1.1 1.0.0.1 8.8.8.8 8.8.4.4 84.200.69.80 84.200.70.40but it still didn't change the dns server my computer is using (the one provided by isp, it's bad!)
Last edited by Kamey (2020-12-07 19:55:39)
CPU: Intel i7-4790 (8) @ 4.000GHz
RAM: 16GB DDR3
GPU: Intel HD 4600
DE: Mate
Offline
Offline
systemd-networkd
CPU: Intel i7-4790 (8) @ 4.000GHz
RAM: 16GB DDR3
GPU: Intel HD 4600
DE: Mate
Offline
Since you use systemd-networkd, DNS is managed through systemd-resolved.
First systemd-networkd can be configured to use or ignore DNS settings received by DHCP (UseDNS= ...)
You can also manually specify DNS servers specifically in the .network files. (DNS= ...)
https://wiki.archlinux.org/index.php/Systemd-networkd
Then you can set global fallback servers and a global override for the DNS server in the systemd-resolved configuration
https://wiki.archlinux.org/index.php/Systemd-resolved
Last edited by progandy (2020-12-07 19:40:29)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Thanks to progandy and my friend i figured it out.
Here's what i did:
i opened this file with my preferred editor /etc/systemd/network/20-wired.network
and i added dns server adresses under [Network]
like this:
DNS=1.1.1.1
DNS=1.0.0.1
DNS=8.8.8.8
DNS=8.8.4.4
DNS=84.200.69.80
DNS=84.200.70.40i haven't removed anything from that file i just added dns if anyone is wondering, and that seems to solved my issue so I'm leaving the solution here if anyone else encounter the same issue.
Last edited by Kamey (2020-12-07 19:43:20)
CPU: Intel i7-4790 (8) @ 4.000GHz
RAM: 16GB DDR3
GPU: Intel HD 4600
DE: Mate
Offline
How are you managing your network connection?
I'm very new to this, but how do I find what is managing my network?
Having no destination.
I am never lost.
Offline
Pages: 1