Ubuntu查看并修改DNS | 您所在的位置:网站首页 › 虚拟机的dns怎么查看 › Ubuntu查看并修改DNS |
1. 查看当前DNS systemd-resolve --status 或 resolvectl status 2. 修改DNS sudo vi /etc/systemd/resolved.conf sudo systemctl restart systemd-resolved.service 附常见DNS: 腾讯 DNS: 119.29.29.29、182.254.116.116 阿里 DNS: 223.5.5.5、223.6.6.6 百度 DNS: 180.76.76.76 114 DNS: 114.114.114.114、114.114.115.115 CNNIC DNS: 1.2.4.8、210.2.4.8 北京联通DNS: 202.106.195.68 |
CopyRight 2018-2019 实验室设备网 版权所有 |