openwrtv4/package
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
..
base-files opkg: drop S/MIME support 2017-01-10 13:44:25 +01:00
boot uboot-mvebu: enable loader with the default profile 2017-01-08 18:39:44 +01:00
devel Revert "gdb: fix build with gcc 4.1.2 as host compiler" 2017-01-07 19:53:36 +01:00
firmware ath10k-firmware: update board data for qca9984 2017-01-10 13:48:52 +01:00
kernel mvebu: update mwlwifi driver to version 10.3.2.0-20170110 2017-01-11 12:15:13 +01:00
libs gettext-full: avoid using iconv for host builds 2017-01-11 03:48:30 +01:00
network Revert "dnsmasq: change 'add_local_hostname' to use dnsmasq '--interface-name'" 2017-01-12 12:14:20 +01:00
system Revert the recent dependency and metadata scanning rework 2017-01-11 19:48:09 +01:00
utils package: replace $(STAGING_DIR)/host with $(STAGING_DIR_HOSTPKG) 2017-01-10 22:15:37 +01:00
Makefile opkg: drop S/MIME support 2017-01-10 13:44:25 +01:00