跳到主要内容

常见问题解决方案

dns 解析本地 ip 失败

例如: 已配置A记录: example.com -> 192.168.11.100

$ ping example.com
ping: bad address 'example.com'

dns 服务器未返回 ip

$ nslookup example.com
Server: 192.168.11.1
Address: 192.168.11.1#53

Non-authoritative answer:
*** Can't find zerovi.cc: No answer

单独从 ip 访问时网络正常

$ ping 192.168.11.100
PING example.com (192.168.11.100): 56 data bytes
64 bytes from 192.168.11.100: icmp_seq=0 ttl=64 time=1 ms

解决方案:

  • 从菜单打开页面 网络 -> DHCP/DNS -> 常规设置 取消勾选 重绑定保护 功能
  • 或者在 重绑定保护 下面的 域名白名单 添加需要映射本地 ip 的域名

引用文献: RFC1918 私有互联网的地址分配 (RFC 最佳实践)