I can pull up cockpit by using the hostname in the web browsers url, but samba doesn’t point to the server by name. Only IP address pulls it up.

I don’t want to risk installing conflicting stuff but I’m not finding a lot of detail here. Does fedora have something for this included? Does it use avahi? Systemd-resolved? Smoke signals?

  • muusemuuse@sh.itjust.worksOP
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    The router does not handle mdns discovery. That’s a Linux service. The router can answer questions from other clients but if has to be given the answer by the host in the first place. That’s what systemd-resolved and avahi do.

    • just_another_person@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      Doesn’t matter. Your machine going to another is not simply due to mdns running. In fact, I doubt that’s a default package selection in Fedora Server for security reasons, but I could be wrong.

      Run dig [whateverhostname] from your machine, and then check /etc/systemd/resolved.conf on the server and see if something with MulticastDNS is enabled. Don’t see why that would ever exist as a default.

      • non_burglar@lemmy.world
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        1 day ago

        mdns (multicast DNS ) is specifically designed to work where a DNS server is presumed to not know hostnames, usually on a local network. So it is possible to use hostnames without a DNS server.

        On fedora, discoverability of mdns should be on by default. Configuring mdns presence to others is a config away, if not enabled by default.

        • just_another_person@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 day ago

          I’m aware of what it is. This is a Fedora Server install that shouldn’t have it enabled by default because it generally only fits the use-case of home users. Someone installing the default package list in an enterprise setting would not want this enabled.

          I even checked to be certain, and it is not enabled by default.