diff options
Diffstat (limited to 'etc/systemd/resolved.conf.d/resolved.conf')
-rw-r--r-- | etc/systemd/resolved.conf.d/resolved.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/systemd/resolved.conf.d/resolved.conf b/etc/systemd/resolved.conf.d/resolved.conf new file mode 100644 index 00000000..0a4f0be0 --- /dev/null +++ b/etc/systemd/resolved.conf.d/resolved.conf @@ -0,0 +1,7 @@ +# one way to manual set DNS, seems work +# https://wiki.archlinux.org/title/Systemd-resolved#Manually +# Without the Domains=~. option in resolved.conf(5), systemd-resolved might use the per-link DNS servers, if any of them set Domains=~. in the per-link configuration. +# xyzaa 1.1.1.1 and 9.9.9.9 both high ping, so I choose to try ali cloud DNS shown in ECS concole +[Resolve] +DNS=100.100.2.136 100.100.2.138 +Domains=~. |