Skip to content
Snippets Groups Projects
Commit c49f8068 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: default avatarMark Mentovai <mark@moxienet.com>

SVN-Revision: 32569
parent 7f573ef7
No related branches found
No related tags found
No related merge requests found
...@@ -88,6 +88,7 @@ dnsmasq() { ...@@ -88,6 +88,7 @@ dnsmasq() {
append_bool "$cfg" expandhosts "--expand-hosts" append_bool "$cfg" expandhosts "--expand-hosts"
append_bool "$cfg" enable_tftp "--enable-tftp" append_bool "$cfg" enable_tftp "--enable-tftp"
append_bool "$cfg" nonwildcard "--bind-interfaces" append_bool "$cfg" nonwildcard "--bind-interfaces"
append_bool "$cfg" fqdn "--dhcp-fqdn"
append_parm "$cfg" dhcpscript "--dhcp-script" append_parm "$cfg" dhcpscript "--dhcp-script"
append_parm "$cfg" cachesize "--cache-size" append_parm "$cfg" cachesize "--cache-size"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment