avahi-daemon.conf
我已更改文件中的主机名/etc/avahi
,以便host-name=osmc
取消注释。当我执行此操作时,sudo systemctl status avahi-daemon -l
我得到以下内容;
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled)
Active: active (running) since Fri 2016-03-18 23:21:31 GMT; 9h ago
Main PID: 1298 (avahi-daemon)
Status: "avahi-daemon 0.6.31 starting up."
CGroup: /system.slice/avahi-daemon.service
├─1298 avahi-daemon: running [osmc.local
└─1300 avahi-daemon: chroot helpe
Mar 18 23:21:31 osmc avahi-daemon[1298]: New relevant interface eth0.IPv4 for mDNS.
Mar 18 23:21:31 osmc avahi-daemon[1298]: Network interface enumeration completed.
Mar 18 23:21:31 osmc avahi-daemon[1298]: Registering new address record for 192.168.0.13 on eth0.IPv4.
Mar 18 23:21:31 osmc avahi-daemon[1298]: Registering HINFO record with values 'ARMV7L'/'LINUX'.
Mar 18 23:21:32 osmc avahi-daemon[1298]: Server startup complete. Host name is osmc.local. Local service cookie is 1330739464.
Mar 18 23:21:33 osmc avahi-daemon[1298]: Service "osmc" (/services/udisks.service) successfully established.
Mar 18 23:21:33 osmc avahi-daemon[1298]: Service "osmc" (/services/ssh.service) successfully established.
Mar 18 23:21:33 osmc avahi-daemon[1298]: Service "osmc" (/services/sftp.service) successfully established.
Mar 19 08:58:24 osmc avahi-daemon[1298]: Files changed, reloading.
Mar 19 08:58:52 osmc avahi-daemon[1298]: Files changed, reloading.
我可以ping -c 3 osmc.local
实现 0% 的损失。但是,当我尝试通过 Android 设备上的 chrome 访问服务(例如 nzbget 或传输)时,我收到无法解析 DNS 的消息。它在我的 Ubuntu PC 和 Chromebook 上运行良好,有什么想法吗?