aboutsummaryrefslogtreecommitdiffstats
path: root/package/dnsmasq
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-07-01 11:32:45 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-07-01 11:32:45 +0000
commit0c3f2b8bd6074fc8888dd4af671879f3901f098b (patch)
tree2b94b8b2a07f882218f750e0952ad7577ac93a06 /package/dnsmasq
parent93d0ae9729602d860af19c23b97f931170dd5005 (diff)
downloadupstream-0c3f2b8bd6074fc8888dd4af671879f3901f098b.tar.gz
upstream-0c3f2b8bd6074fc8888dd4af671879f3901f098b.tar.bz2
upstream-0c3f2b8bd6074fc8888dd4af671879f3901f098b.zip
package/dnsmasq: permit UCI configuration of --dhcp-fqdn option
This adds a new boolean option, fqdn, to the "config dnsmasq" section of /etc/config/dhcp. The default is off. When set on, it enables the dhcp-fqdn option to dnsmasq. dhcp-fqdn causes dnsmasq's DNS server to not resolve unqualifed local hostnames. The "domain" option is required when using "fqdn". Local hostnames will remain available for lookup using fully-qualified names. Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32569 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dnsmasq')
-rw-r--r--package/dnsmasq/files/dnsmasq.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index a1334d05fc..e90d793368 100644
--- a/package/dnsmasq/files/dnsmasq.init
+++ b/package/dnsmasq/files/dnsmasq.init
@@ -88,6 +88,7 @@ dnsmasq() {
append_bool "$cfg" expandhosts "--expand-hosts"
append_bool "$cfg" enable_tftp "--enable-tftp"
append_bool "$cfg" nonwildcard "--bind-interfaces"
+ append_bool "$cfg" fqdn "--dhcp-fqdn"
append_parm "$cfg" dhcpscript "--dhcp-script"
append_parm "$cfg" cachesize "--cache-size"