1. 程式人生 > >Ubuntu18.04 修改DNS

Ubuntu18.04 修改DNS

target body bsp markdown href service ostc mark tar

Ubuntu18.04 修改DNS

sudo vim /etc/systemd/resolved.conf

修改如下:

[Resolve]

DNS=119.29.29.29

保存退出後

systemctl restart systemd-resolved.service
分類: Linux學習筆記

Ubuntu18.04 修改DNS