Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How strict is the requirement not to use .local for a LAN if also using Avahi?

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 383 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      stilez
      last edited by

      Under "System -> General Setup -> Domain" it states "Do not use 'local' as a domain name. It will cause local hosts running mDNS (avahi, bonjour, etc.) to be unable to resolve local hosts not running mDNS".

      On the other hand I'm also running FreeNAS which states "If the network does not use a domain name, add '.local' after the hostname", and need to accommodate Apple discovery via mDNS.  There's no formal domain as such, so any domain is entered just because pfSense or other systems need one to refer to. So there's no problem as such, I can enter ".mylan" in both, and both will be happy.

      But it got me thinking.

      How strict is the requirement not to use .local as the domain? Would configuring Avahi not to use "local" be enough or are all Apple/bonjour devices hard-coded to expect .local by default for the local network as well? is there a workaround if someone wanted to use ".local" and what would the actual effects be?

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        Why not just add a tld, single label domains not really a good idea.. If you like local, I do ;) But I use local.lan for my domain - this tells me its the local lan ;) hehehe

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.