织梦CMS - 轻松建站从此开始!

欧博ABG官网-欧博官方网址-会员登入

Linux devices can ping ip address but not hostnam

时间:2025-10-31 05:52来源: 作者:admin 点击: 2 次
Domain is required to resolve registered names with systemd-resolved. If you do not have own registered, use home.arpa domain. But using also 8.8.8.8

Domain is required to resolve registered names with systemd-resolved. If you do not have own registered, use home.arpa domain.

But using also 8.8.8.8 offered to machines will not work, not reliably. Only router knows local names, DNS.google doesn't. For them to work only one DNS server should be offered from DHCP - router's address. Common trick to use router's address first will not be reliable with systemd-resolved or any other cache, unless it try name servers in the same order. Only dnsmasq has special option for that AFAIK.

Alternative solution would be using mDNS or LLMNR multicast protocols for local machines resolution, Google servers for internet names.

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2025-10-31 20:10 最后登录:2025-10-31 20:10
栏目列表
推荐内容