openwrtv3/package/network/services
Eric Luehrsen 1b4e3eda1b dnsmasq: expand 'add_local_hostname' fexibility including FQDN
ref commit 612e2276b4
ref commit ec63e3bf13

'option add_local_hostname' scripted implementation statically assigns
this host in auto generated host file at init. If IFUP or other signals
do not occur, then address changes are not tracked. The script doesn't
apply all the addresses at an interface. This may make logs obscure.
The script only puts the bare host name (maybe not FQDN) in host file,
but if '--exapandhosts' is enabled, then /etc/hosts entries will be
suffixed, and "127.0.0.1 localhost" becomes "localhost.lan".

dnsmasq provides an option to perform this function, but it is rather
greedy. '--interface-name=<name>,<iface>' will assign the name to all
IP on the specified interface (except link local). This is a useful
feature, but some setups depend on the original restrictive behavior.

'option add_local_fqdn' is added to enhance the feature set, but
if not entered or empty string, then it will default to original
option and behavior. This new option has a few settings. At each
increased setting the most detailed name becomes the PTR record:
0 - same as add_local_hostname 0 or disabled
1 - same as add_local_hostname 1
2 - assigns the bare host name to all IP w/ --dnsmasq-interface
3 - assigns the FQDN and host to all IP w/ --dnsmasq-interface
4 - assigns <iface>.<host>.<domain> and above w/ --dnsmasq-nterface

'option add_wan_fqdn' is added to run the same procedure on
inferred WAN intefaces. If an interface has 'config dhcp' and
'option ignore 1' set, then it is considered WAN. The original
option would only run on DHCP serving interfaces.

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2017-02-02 00:13:49 +01:00
..
authsae treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
dnsmasq dnsmasq: expand 'add_local_hostname' fexibility including FQDN 2017-02-02 00:13:49 +01:00
dropbear build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
ead network/services/ead: drop Build/Prepare rule in favor of default one 2016-10-15 11:36:52 +02:00
hostapd hostapd: enable support for logging wpa_printf messages to syslog 2017-01-31 13:55:26 +01:00
igmpproxy treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
ipset-dns treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
lldpd lldpd: take over maintainership 2017-01-10 13:02:00 +01:00
mdns mdns: update to the latest version 2017-01-31 11:24:19 +01:00
odhcpd odhcpd: update to git HEAD version 2017-02-01 21:07:08 +01:00
omcproxy treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
openvpn openvpn: add support for various new 2.4 configuration options 2017-01-27 11:18:27 +01:00
openvpn-easy-rsa treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
ppp treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
relayd relayd: fix expiry time handling 2016-12-27 13:21:42 +01:00
samba36 treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
uhttpd uhttpd: drop uhttpd-mod-tls, it has been useless for years 2016-12-22 16:46:01 +01:00