From 10e41b741b7db0314bec3ec931a58f202a2ed392 Mon Sep 17 00:00:00 2001 From: gnhb Date: Tue, 6 Apr 2010 14:16:39 +0700 Subject: [PATCH] Don't use "local" as a domain. It breaks DNS resolution for hosts running mDNS. The "local" search domain signifies to local hosts that are running mDNS (bonjour or avahi) that mDNS is to be used to look up local hosts instead of doing a normal DNS query to the server listed in /etc/resolv.conf on the local host. Also, hosts running bonjour or avahi can not ping or reach *any* other host by name if it is not running some mDNS implementation. Essentially, if DHCP tells the local host that it's search domain is "local" then hosts running mDNS will not query the pfsense DNS server for any local lan DNS lookups. See here on apple's website: http://support.apple.com/kb/TA20999?viewlocale=en_US Quote from above link: "To indicate that the name should be looked up using local multicast instead of a standard DNS query, all Bonjour host names end with the extension ".local." --- conf.default/config.xml | 2 +- usr/local/www/system.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/conf.default/config.xml b/conf.default/config.xml index 9d6a19dafc..668e599903 100644 --- a/conf.default/config.xml +++ b/conf.default/config.xml @@ -139,7 +139,7 @@ normal pfSense - local + localdomain diff --git a/usr/local/www/system.php b/usr/local/www/system.php index 7a4b0bef6c..2ee3f520f2 100755 --- a/usr/local/www/system.php +++ b/usr/local/www/system.php @@ -252,7 +252,7 @@ include("head.inc");
name of the firewall host, without domain part -
+
e.g. firewall
@@ -262,6 +262,8 @@ include("head.inc");
+ 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. +
e.g. mycorp.com