CachyOS / CachyOS-Settings

Settings used for CachyOS
GNU General Public License v3.0
98 stars 23 forks source link

systemd-resolved do not respect dns-priority neither ipv6 #83

Open leleobhz opened 1 month ago

leleobhz commented 1 month ago

Hello!

After https://github.com/CachyOS/CachyOS-Settings/commit/74e64c2df538bd432b345e21181a59b2a99e08bf when systemd-resolved is the new default for CachyOS, neither dns-priority and IPv6 was respected:

Evidence:

[root@miriam ~]# nmcli con show RedeArmorial58 | grep -E "(ipv[46].method|ipv[46].dns:|ipv[46].dns-priority:)"
ipv4.method:                            auto
ipv4.dns:                               --
ipv4.dns-priority:                      1000
ipv6.method:                            auto
ipv6.dns:                               --
ipv6.dns-priority:                      1000
[root@miriam ~]# nmcli con show dummy-zt-dns | grep -E "(ipv[46].method|ipv[46].dns:|ipv[46].dns-priority:)"
ipv4.method:                            manual
ipv4.dns:                               192.168.196.253
ipv4.dns-priority:                      -10
ipv6.method:                            auto
ipv6.dns:                               fd56:5799:d8f6:66d5:a99:9343:24:782c
ipv6.dns-priority:                      -10
[root@miriam ~]# resolvectl dns
Global:
Link 2 (eno1):
Link 3 (wlan0): 192.168.42.31
Link 4 (zt-dns): 192.168.196.253
Link 5 (virbr0):
Link 6 (ztr2q76dp4):
Link 7 (br-9d78f4bb988f):
Link 8 (br-fbafef41dab1):
Link 10 (docker0):
Link 12 (veth440ed70):
Link 13 (kube-bridge):
Link 14 (veth5477e2fa):
Link 15 (veth1773e93c):
Link 16 (veth12f03ac1):
Link 17 (veth0e955977):
Link 18 (veth5dc3ffea):
Link 19 (vethe2a9a3b9):
Link 20 (veth8532c27f):
Link 21 (veth01930232):
Link 22 (veth6aa7f61e):
Link 23 (veth8531b5df):
Link 24 (vethfbc6a515):
Link 25 (vethdfa1d601):
Link 26 (veth2f3ea1e7):
Link 27 (veth2c768f63):
[root@miriam ~]#