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?

  • tal@lemmy.today
    link
    fedilink
    English
    arrow-up
    1
    ·
    25 days ago

    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.