diff options
author | gnhb <gnoahb@gmail.com> | 2010-04-06 14:16:39 +0700 |
---|---|---|
committer | gnhb <gnoahb@gmail.com> | 2010-04-06 14:16:39 +0700 |
commit | 81035b9687838eb26ab037ecc701f871dafbf15f (patch) | |
tree | 86e7b1998cca7855ce2554f1fdffd2ce051471f4 | |
parent | 221f5d17b63288249e3872d72dac683a1c1206f3 (diff) | |
download | pfsense-81035b9687838eb26ab037ecc701f871dafbf15f.zip pfsense-81035b9687838eb26ab037ecc701f871dafbf15f.tar.gz |
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."
-rw-r--r-- | conf.default/config.xml | 2 | ||||
-rwxr-xr-x | 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 9d6a19d..668e599 100644 --- a/conf.default/config.xml +++ b/conf.default/config.xml @@ -139,7 +139,7 @@ <system> <optimization>normal</optimization> <hostname>pfSense</hostname> - <domain>local</domain> + <domain>localdomain</domain> <dnsserver></dnsserver> <dnsallowoverride/> <group> 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("head.inc"); <br/> <span class="vexpl"> name of the firewall host, without domain part - <br> + <br/> e.g. <em>firewall</em> </span> </td> @@ -262,6 +262,8 @@ include("head.inc"); <td width="78%" class="vtable"> <input name="domain" type="text" class="formfld unknown" id="domain" size="40" value="<?=htmlspecialchars($pconfig['domain']);?>"> <br/> <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>mycorp.com</em> </span> </td> |