diff options
authorgnhb <>2010-04-06 14:16:39 +0700
committergnhb <>2010-04-06 14:24:38 +0700
commit10e41b741b7db0314bec3ec931a58f202a2ed392 (patch)
parent221f5d17b63288249e3872d72dac683a1c1206f3 (diff)
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: 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."
2 files changed, 4 insertions, 2 deletions
diff --git a/conf.default/config.xml b/conf.default/config.xml
index 9d6a19d..668e599 100644
--- a/conf.default/config.xml
+++ b/conf.default/config.xml
@@ -139,7 +139,7 @@
- <domain>local</domain>
+ <domain>localdomain</domain>
diff --git a/usr/local/www/system.php b/usr/local/www/system.php
index 7a4b0be..2ee3f52 100755
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -252,7 +252,7 @@ include("");
<span class="vexpl">
name of the firewall host, without domain part
- <br>
+ <br/>
e.g. <em>firewall</em>
@@ -262,6 +262,8 @@ include("");
<td width="78%" class="vtable"> <input name="domain" type="text" class="formfld unknown" id="domain" size="40" value="<?=htmlspecialchars($pconfig['domain']);?>">
<span class="vexpl">
+ 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.
+ <br/>
e.g. <em></em>
OpenPOWER on IntegriCloud