openwrtv4/package/network/services
Eric Luehrsen 612e2276b4 dnsmasq: change 'add_local_hostname' to use dnsmasq '--interface-name'
'add_local_hostname' previous implementation may drop some addresses.
Soft addition of IP6 addresses may not cause a reload or restart event.
dnsmasq '--interface-name' robustly applies DNS to all addresses per
interface (except fe80::/10).

Change UCI 'add_local_hostname' to expand during each interface assignement
during add_dhcp().
Assign '<iface>.<host>.<domain>' as true name (reflexive A, AAAA, and PTR).
Assign '<host>.<domain>' and '<host>' as convinience aliases (no PTR, not
technically CNAME).
This is accomplished with the '--interface-name' order, first is PTR.
We could also assign each <ip4/6>.<iface>.<host>.<domain> to the respective
dual stack on the interface.
That seemed excessive so it was skipped (/4 or /6 suffix to the interface).
Add UCI 'add_wan_hostname' similar to 'add_local_hostname' function for
external WAN.

WAN IP4 are less often named by the ISP and rarely WAN IP6 due to complexity.
For logs, LuCI connection graph, and other uses assigning a WAN name is desired.
'add_local_hostname' only applies with DHCP and 'add_wam_hostname' only applies
without DHCP. Common residential users will want to set both options TRUE.
Businesses will probably have global DNS, static IP, and 'add_wan_hostname' FALSE.

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
2017-01-05 22:51:39 +01:00
..
authsae treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
dnsmasq dnsmasq: change 'add_local_hostname' to use dnsmasq '--interface-name' 2017-01-05 22:51:39 +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 SHA256-based algorithms 2017-01-03 20:53:49 +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 treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
mdns treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
odhcpd odhcpd: bump to git HEAD version 2017-01-03 22:25:13 +01:00
omcproxy treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
openvpn openvpn: update to 2.4.0 2016-12-30 13:07:41 +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