openwrtv3/package/network/services
Hans Dedecker ec63e3bf13 Revert "dnsmasq: change 'add_local_hostname' to use dnsmasq '--interface-name'"
This causes problem when a FQDN is configured in /etc/config/system. The
domain name will appear twice in reverse DNS.

Next to that, there seems to be a bug in dnsmasq. From the manual page:

--interface-name=<name>,<interface>[/4|/6]
Return  a  DNS  record  associating  the  name  with  the primary address
on the given interface. This flag specifies an A or AAAA record for the
given name in the same way as an /etc/hosts line, except that the address
is not constant, but taken from the given interface. The interface may be
followed by "/4" or "/6" to specify  that  only  IPv4  or  IPv6 addresses
of the interface should be used. If the interface is down, not configured
or non-existent, an empty record is returned. The matching PTR record is
also created, mapping the interface address to the name. More than one name
may be associated with an interface address by repeating the flag; in that
case the first instance is used for  the  reverse address-to-name mapping.

It does not just create an A/AAAA record for the primary address, it creates
one for all addresses. And what is worse, it seems to actually resolve to the
non-primary address first. This is quite annoying when you use floating IP
addresses (e.g. VRRP), because when the floating IP is on the other device,
SSH failes due to incorrect entry in the known hosts file.

I know that this is not a common setup, but it would be nice if there was an
option to restore the previous behaviour, rather than just forcing this new
feature on everybody.

Reported-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-01-12 12:14:20 +01:00
..
authsae treewide: clean up and unify PKG_VERSION for git based downloads 2016-12-22 16:42:21 +01:00
dnsmasq Revert "dnsmasq: change 'add_local_hostname' to use dnsmasq '--interface-name'" 2017-01-12 12:14:20 +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 wpa_supplicant: Fix mesh encryption config 2017-01-11 04:01:07 +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 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 2017-01-07 21:08:24 +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