RetroFed Forum
Your home away from modern life.
How come my browser knows to find "openmediavault.local" and how can I do that for other services like Radarr?
Post Reply
AuthorMessage
abbadon420 sh.itjust.works abbadon420@sh.itjust.works
Joined: 2025-06-28
Quote

So I recently got pisession kf a nas with OMV on it. That has a webinterface that I can reach from my laptoo via "openmediavault.local". But I never defined anywhere that that adress leads to the IP of my server. Better still, if I restart my server an DHCP gives it a new IP, "openemdiavault.local" still works.

How does that work? And can I make an andress like "radar.local" that automatically points to my radarr webinterface no matter hwat it's IP is?

7   Original
Jajcus sh.itjust.works Jajcus@sh.itjust.works
Joined: 2024-06-27
#2 · Quote Reply

https://en.wikipedia.org/wiki/Multicast_DNS

11
Danitos reddthat.com Danitos@reddthat.com
Joined: 2024-01-17
#3 · Quote Reply

And can I make an andress like "radar.local"

I think you also need a reverse proxy for this to work, so your NAS knows that radarr.local has to redirect to Radarr's port. I use nginx-proxy-manager and it feels nice and easy to use.

5
ominous ocelot leminal.space probable_possum@leminal.space
Joined: 2025-08-14
#4 · Quote Reply

And can I make an andress like "radar.local" that automatically points to my radarr webinterface no matter hwat it's IP is?

https://gitlab.isc.org/isc-projects/kea has a dyndns module. I use it as part of opnsense.

This works for services with their own IP address. If you run multiple docker containers on the same docker host, but you want to give each docker service its own name: http(s) reverse proxy.

2
tal lemmy.today tal@lemmy.today
Joined: 2023-10-04
#5 · (edited) Quote Reply

I assume that your browser computer is set up to use mDNS, and that's how it's resolving it.

https://en.wikipedia.org/wiki/Multicast_DNS

Multicast DNS (mDNS) is a computer networking protocol that resolves hostnames to IP addresses within small networks that do not include a local name server. It is a zero-configuration service, using essentially the same programming interfaces, packet formats and operating semantics as unicast Domain Name System (DNS). It was designed to work as either a stand-alone protocol or compatible with standard DNS servers.[1]

mDNS uses IP multicast and User Datagram Protocol (UDP) packets and is implemented by Apple, Microsoft and most Linux distributions.

mDNS can work in conjunction with DNS Service Discovery (DNS-SD), a companion zero-configuration networking technique specified separately in RFC 6763.[2]

By default, mDNS exclusively resolves hostnames ending with the .local top-level domain.

Your browser tries to resolve it, browser computer sends out a multicast query to the local network, target "openmediavault" machine responds.

7
psud aussie.zone psud@aussie.zone
Joined: 2023-07-26
#6 · Quote Reply

Your open media vault claims a name and your router makes it available by its name dot local.

Other services will get the same treatment if they use a name. On my network about a third use a name.

1
abbadon420 sh.itjust.works abbadon420@sh.itjust.works
Joined: 2025-06-28
#7 · (edited) Quote Reply

Your open media vault claims a name and your router makes it available by its name dot local. Other services will get the same treatment if they use a name. On my network about a third use a name.

This thread has pointed me to multicast dns, I assume that's what you mean. Do you know of an easy way to have your service claim such a name?

1
psud aussie.zone psud@aussie.zone
Joined: 2023-07-26
#8 · Quote Reply

This thread has pointed me to multicast dns, I assume that's what you mean. Do you know of an easy way to have your service claim such a name?

It's just regular LAN DNS behind a masquerading router. Inside your network services can get names in a few ways

  1. A hosts file mapping IP address to a name placed on any machine that wants to use names. Downsides: not automatic, hard to update in a dynamic DNS environment. Works fine if you assign every service a static address (my printer always gets 192.168.1.5, for example — configured in the router(

  2. Have the service respond to a DNS offer with "thanks, my name is fileserver" and the router can resolve fileserver.local to 192.168.0.203

I use host files and my addresses below 192.168.1.100 are reserved for static addresses and my half dozen things I want to address by name get one of those addresses

2
Post Reply
Back to top