Ubuntu18.04 修改DNS
sudo vim /etc/systemd/resolved.conf
修改如下:
[Resolve]
DNS=119.29.29.29
保存退出后
systemctl restart systemd-resolved.service
标签:修改dns category .com rest com span conf markdown info
sudo vim /etc/systemd/resolved.conf
修改如下:
[Resolve]
DNS=119.29.29.29
保存退出后
systemctl restart systemd-resolved.service
标签:修改dns category .com rest com span conf markdown info
原文地址:https://www.cnblogs.com/sandea/p/9784634.html