![在 Windows10 上的 VirtualBox 上新安装的 Ubuntu 上,“对 DNS 服务器 8.8.8.8 使用降级功能集 (UDP)”](https://linux22.com/image/915999/%E5%9C%A8%20Windows10%20%E4%B8%8A%E7%9A%84%20VirtualBox%20%E4%B8%8A%E6%96%B0%E5%AE%89%E8%A3%85%E7%9A%84%20Ubuntu%20%E4%B8%8A%EF%BC%8C%E2%80%9C%E5%AF%B9%20DNS%20%E6%9C%8D%E5%8A%A1%E5%99%A8%208.8.8.8%20%E4%BD%BF%E7%94%A8%E9%99%8D%E7%BA%A7%E5%8A%9F%E8%83%BD%E9%9B%86%20(UDP)%E2%80%9D.png)
我在 Windows 10 主机上的虚拟机上新安装的 ubuntu 18.04 的 /var/log/syslog 上收到了很多这样的消息。我在同一台机器上之前安装的 ubuntu 上也收到过这些消息,并尝试了我在互联网上找到的所有解决方案(例如用 bind9 替换 solved),但都没有任何效果,也就是说 bind9 在解析主机时出现问题。这会使上网和使用互联网的任何其他软件变慢。
请注意,该问题发生在 8.8.8.8 以及 10.255.255.0 上的内部 DNS 服务器。
我正在使用最新的虚拟盒来运行我最新的 ubuntu 18.04。有什么解决方法吗?到目前为止,我尝试过:
- 用 bind9 替换 systemd-resolved(bind9 解析有问题,并且 dns 解析很慢)
- 删除 /etc/resolved.conf 符号链接并将值硬编码到该文件中
将 DNS 解析设置为使用 8.8.8.8(同一问题)
Sep 20 11:23:21 kkpc systemd-resolved[553]: Using degraded feature set (UDP) for DNS server 10.255.255.0. Sep 20 11:23:26 kkpc systemd-resolved[553]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP. Sep 20 11:23:30 kkpc systemd-resolved[553]: Using degraded feature set (TCP) for DNS server 10.255.255.0. Sep 20 11:23:35 kkpc systemd-resolved[553]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP. Sep 20 11:23:40 kkpc systemd-resolved[553]: Using degraded feature set (UDP) for DNS server 10.255.255.0. Sep 20 11:23:40 kkpc systemd-resolved[553]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP. Sep 20 11:23:48 kkpc systemd-resolved[553]: message repeated 3 times: [ Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.] Sep 20 11:23:51 kkpc systemd-resolved[553]: Using degraded feature set (TCP) for DNS server 10.255.255.0. Sep 20 11:23:55 kkpc systemd-resolved[553]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP. Sep 20 11:24:02 kkpc systemd-resolved[553]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP. Sep 20 11:24:05 kkpc systemd-resolved[553]: Using degraded feature set (UDP) for DNS server 10.255.255.0. Sep 20 11:24:05 kkpc systemd-resolved[553]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP. Sep 20 11:24:15 kkpc systemd-resolved[553]: message repeated 2 times: [ Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.] Sep 20 11:24:21 kkpc systemd-resolved[553]: Using degraded feature set (TCP) for DNS server 10.255.255.0. Sep 20 11:24:25 kkpc systemd-resolved[553]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP. Sep 20 11:24:56 kkpc systemd-resolved[553]: message repeated 6 times: [ Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.]