this post was submitted on 29 Jun 2026
103 points (96.4% liked)

Technology

85914 readers
3762 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] sem@piefed.blahaj.zone 4 points 16 hours ago (1 children)

Dns doesn't always work, and seeing if you can connect via IP is often a troubleshooting step

[–] mholiv@lemmy.world 0 points 14 hours ago (1 children)

True. But pinging IPs directly should only be done as a debug step when dns / mdns does not work. Aka extremely rarely.This all being said mdns is extremely reliable on lan. It’s literally just multicast dns on lan.

On my personal home network I have never had mdns fail in 5-ish years. FQDNs yah. DNS can break. But mdns has been solid.

[–] sem@piefed.blahaj.zone 1 points 1 hour ago (1 children)

I would like to know more about this mdns.

In my experience, the following are unreliable, and it's unclear which one is supposed to work under which context:

  • ping hostname
  • ping hostname.local
  • ping hostname.<whatever that local domain thing is called>

While pinging the ipv4 address is reliable; if the device is reachable on the network, it should respond.

[–] mholiv@lemmy.world 1 points 40 seconds ago

Happy to help.

You can find more information here: https://en.wikipedia.org/wiki/Multicast_DNS

You can learn how to configure it here: https://wiki.archlinux.org/title/Avahi

I see why some people can be confused though. In some distros it needs to be configured. Once you configure it though it should be rock solid.

There is no reason why an ICMP packet would be more robust than a multicast udp packet.

https://wiki.archlinux.org/title/Avahi

The traditional nomenclature is myhostname.local

Just make sure that the system firewall is configured to allow mdns. That’s the biggest issue. Once you have e that and you have mdns set up it’s good to go.