A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [mdns]

Questions related to Multicast DNS(mDNS), a protocol which resolves host names to IP addresses within small networks that do not include a local name server.

Filter by
Sorted by
Tagged with
1
vote
2answers
157 views

avahi name resolution not respected for subdomains in 19.04

This seems to be a behavior difference which only started in either 18.10 or 19.04. While avahi-resolve --name my.subdomain.local returns a valid IP address and is working it doesn't work outside of ...
0
votes
0answers
69 views

Linux command to get mDNS Service discovery and to get its IP Address

I am broadcasting mDNS service from my WiFi module. I need to discover that in my Linux PC and get its IP address. 1. I used mdns-scan command and I am getting the Service name listed. 2. I used avahi-...
0
votes
1answer
541 views

Seeing Ubuntu Server 19.04 twice on clients - probably Avahi mDNS issue

Just setup a Mac Mini running Ubuntu Server 19.04 with Samba 4.10.0. On macOS Mojave clients, I see the server twice - once as "Mac Mini" (pretty hostname) with the correct Mac Mini icon and once as "...
0
votes
0answers
721 views

nsswitch.conf when only want mDNS to handle .local

Really just looking for some confirmation here. I want to use mDNS to look up names in the .local domain (and nothing else.) I don't expect names in the .local domain to be resolved any other way. ...
0
votes
1answer
2k views

I stopped mDNS with “ sudo service avahi-daemon stop” but it keeps restarting

I want to stop avahi-daemon (mDNS) and have it stay stopped. It seems to restart a bit after midnight. Obviously some sort of periodic job is restarting it but I can't figure out what is. TANGENT: ...
5
votes
1answer
4k views

What is mDNS? Is it possible to make mDNS query without mdns service running?

Recently I came across avahi-daemon and mdns.... Do I need a mDNS client in my system to connect with mDNS server? Or is there any other way to connect a computer without mDNS client to a mDNS ...
3
votes
2answers
5k views

avahi dns doesn't work [duplicate]

I'm trying to get dns resolution of Avahi .local domains. I can do: $ avahi-resolve-host-name redacted.local Redacted.local 10.xx.xx.xx but not ping redacted.local ping: redacted.local: Name or ...
2
votes
1answer
1k views

Can't ssh into local computer by hostname

I have a desktop and a laptop PC. I can ssh from my laptop into my desktop by typing ssh desktop.local, but it doesn't work the other way round (I have to look up the ip address via ip a on desktop ...
2
votes
0answers
2k views

Avahi local name collision

I have defined a subnetwork on my server, using ip aliases for a single ethernet card. Today, after a reboot, the avahi daemon is not resolving host names anymore. The hosts defined in /etc/avahi/...
1
vote
1answer
407 views

.local name resolution only works during reboot of server [closed]

On a client machine, I run the following command: while true ; do ping -c 1 server_name.local. ; sleep 1s ; done It outputs: ping: unknown host server_name.local. ...except that when I reboot the ...