Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Cannot resolve .local host names via mDNS.
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Cannot resolve .local host names via mDNS.
29th Jun, 2018, 09:58 AM
Post: #1
dreamweaver Offline
Registered
Posts: 7
Joined: Jul 2015
Reputation: 0
Cannot resolve .local host names via mDNS.
Software
XBian version: 20180627-0 (from /etc/motd)
XBMC/Kodi version: 17.6
Overclock settings: default

Hardware
Device type and model: Raspberry Pi 3 Model B
Power supply rating: 2A
SD card size and make/type: SanDisk EVO+ microSD 32GB
Network (Ethernet or wireless): Ethernet
Connected devices: TV

Problem description:
Cannot resolve .local host names via mDNS.

How to reproduce:
The following commands are run on the XBian system in an ssh session.

Avahi-daemon is running:
avahi 17390 1 0 Jun28 ? 00:00:00 avahi-daemon: running [xbian.local]
avahi 17392 17390 0 Jun28 ? 00:00:00 avahi-daemon: chroot helper

Host name resolution using the avahi tools works, e.g.
# avahi-resolve-host-name centos.local
centos.local 10.1.1.4

mDNS is configured in /etc/nsswitch.conf:
hosts: files mdns4_minimal [NOTFOUND=return] dns

However resolution of .local hosts fails:
# ping centos.local
ping: bad address 'centos.local'

I see the requests for .local hosts being passed through to DNS.
It is though the mdns4_minimal directive in nsswitch.conf is being ignored.

The same setup works fine in Raspbian.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Cannot resolve .local host names via mDNS. - dreamweaver - 29th Jun, 2018 09:58 AM
RE: Cannot resolve .local host names via mDNS. - Nachteule - 4th Jul, 2018, 04:00 AM
RE: Cannot resolve .local host names via mDNS. - Nachteule - 4th Jul, 2018, 04:33 AM
RE: Cannot resolve .local host names via mDNS. - dreamweaver - 4th Jul, 2018, 09:55 AM
RE: Cannot resolve .local host names via mDNS. - Nachteule - 4th Jul, 2018, 10:50 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 25th May, 2025, 07:46 AM Powered By MyBB, © 2002-2025 MyBB Group.