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.
4th Jul, 2018, 04:00 AM (This post was last modified: 4th Jul, 2018 04:07 AM by Nachteule.)
Post: #2
Nachteule Offline
Administrator
******
Posts: 2,406
Joined: Dec 2014
Reputation: 122
RE: Cannot resolve .local host names via mDNS.
Hmm, actually I do not have a lot experience with that stuff, but

after installing avahi-utils package

Terminal

sudo apt-get install avahi-utils

it works out of the box without any additional configuration required:

Terminal

root@kmxbilr2 ~ # avahi-resolve-host-name kmcubie.local
kmcubie.local 192.168.1.6
root@kmxbilr2 ~ # ping kmcubie.local
PING kmcubie.local (192.168.1.6): 56 data bytes
64 bytes from 192.168.1.6: icmp_seq=0 ttl=64 time=1,353 ms
64 bytes from 192.168.1.6: icmp_seq=1 ttl=64 time=1,167 ms
^C--- kmcubie.local ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1,167/1,260/1,353/0,093 ms
root@kmxbilr2 ~ #

Entry in /etc/nsswitch was already there
Terminal

root@kmxbilr2 ~ # grep hosts /etc/nsswitch.conf
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4

Do you have mdns4 in your nsswitch.conf?

I can't find it in your post Dodgy, but after removing this parameter it's still working
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: 13th Jun, 2025, 07:21 PM Powered By MyBB, © 2002-2025 MyBB Group.