Netgate m1n1wall

Author Topic: .local domains conflict with Bonjour/Avahi  (Read 4386 times)

0 Members and 1 Guest are viewing this topic.

Offline Vynce

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
.local domains conflict with Bonjour/Avahi
« on: February 28, 2010, 06:37:21 pm »
If you have your domain set to local in pfSense and you have clients using Bonjour/Avahi on your network (if you have any Apple machines/devices on your network then Bonjour is being used), then those clients will not be able to resolve any local hostnames (i.e. pfsense.local) because Bonjour will intercept any .local name requests and attempt to handle them itself. The solution is to change the domain in pfSense to something other than local. Mac OS X 10.6 will work correctly if you simply add an additional label to the domain: i.e. mynet.local. Older versions of Mac OS X and Linux systems using Avahi will likely only work if your domain does not end in .local and/or require additional configuration.

If you're trying to debug this problem, affected machines will have no problems resolving .local hostnames via dig and nslookup, but name resolution will fail via more indirect methods (web browser and other utilities that go through the full hostname lookup procedure). You will still be able to access the service directly by IP.

References:
Mac OS X v10.4, 10.5, 10.6: How to look up ".local" hostnames via both Bonjour and standard DNS
Avahi and Unicast Domains .local
iPhone DNS - pfSense

pfSense devs: It might be a good idea to change the default pfSense domain to something other than local or include a warning.