diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-06-26 04:55:06 +0000 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-06-26 04:55:06 +0000 |
commit | 327e8bf5b85d705b9c4f7ad15403f73f7ffbb60f (patch) | |
tree | 2627b7afd0b9fc96ea73522ff87bfc974dc84eca | |
parent | 37ea16cbd50bebf277a41795704f732247813c2d (diff) |
feat: try use ali cloud DNS shown in ECS console for faster DNS
-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=~. |