在 Windows10 上的 VirtualBox 上新安装的 Ubuntu 上,“对 DNS 服务器 8.8.8.8 使用降级功能集 (UDP)”

在 Windows10 上的 VirtualBox 上新安装的 Ubuntu 上,“对 DNS 服务器 8.8.8.8 使用降级功能集 (UDP)”

我在 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.]
    

相关内容