小编Fir*_*ore的帖子

resolvconf 和 NetworkManager 设置了错误的名称服务器

我的 DNS 服务器是192.168.1.152.

此 DNS 由 DHCP 提供给客户端。LAN 上的 Windows 客户端使用该 DNS 正确解析名称,但我的 Ubuntu VM 没有。

虚拟机设置了桥接网络,并正确提供了 DNS 服务器,但我的本地主机名没有被 nslookup 或浏览器解析。

这是nslookup我的本地域之一:

# nslookup unraid.local
Server:     127.0.0.53
Address:    127.0.0.53#53

** server can't find unraid.local: SERVFAIL
Run Code Online (Sandbox Code Playgroud)

这是它应该使用我的 DNS 服务器解析的内容:

# nslookup unraid.local 192.168.1.152
Server:     192.168.1.152
Address:    192.168.1.152#53

Name:   unraid.local
Address: 192.168.1.152
Run Code Online (Sandbox Code Playgroud)

/etc/resolv.conf 有一个错误的名称服务器:

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN …
Run Code Online (Sandbox Code Playgroud)

networking dns dhcp 17.10

58
推荐指数
3
解决办法
15万
查看次数

标签 统计

17.10 ×1

dhcp ×1

dns ×1

networking ×1