From 327e8bf5b85d705b9c4f7ad15403f73f7ffbb60f Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 26 Jun 2024 04:55:06 +0000 Subject: feat: try use ali cloud DNS shown in ECS console for faster DNS --- etc/systemd/resolved.conf.d/resolved.conf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 etc/systemd/resolved.conf.d/resolved.conf (limited to 'etc/systemd/resolved.conf.d/resolved.conf') 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=~. -- cgit v1.2.3-70-g09d2