#21316: Dnsmasq requires restart to listen on IPv6 address (aiccu)
-------------------------+--------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: base system | Version: Chaos Calmer 15.05
Keywords: aiccu |
-------------------------+--------------------------------
'''Router:'''
* Openwrt 15.05 (CC)
* IPv4 address on WAN interface
* IPv6 address on WAN6 interface (SIXXS/aiccu)
* Multiple VLANs (each VLAN has its own IPv4 /24 and IPv6 /64 network)
'''Client:'''
* Debian 8 (autoconfig with network manager)
* Android
'''Scenario:'''
After a startup of the router, the IPv4 address from the according LAN
interface of the router is set as DNS server at the clients. After a few
seconds, the router establishes the IPv6 connection with SIXXS and
advertises its IPv6 address(es) as DNS server. The client's resolv.conf
gets updated and contains afterwards only the newly assigned IPv6 address.
'''Problem:'''
Dnsmasq does not listen/reply on the newly established IPv6 address. This
either prevents the client from resolving DNS names or leads to long DNS
resolving times. The long resolving time in the second case is caused by
the fallback to the second/third DNS entry (ULA address), which is
sometimes also listed in the resolv.conf.
'''Workaround:'''
/etc/hotplug.d/iface/30-aiccu-dnsmasq:
{{{
#!/bin/sh
[ "$DEVICE" = aiccu-wan6 ] && [ "$ACTION" = ifup ] || exit 0
logger Restart of dnsmasq triggered by $ACTION on $DEVICE
/etc/init.d/dnsmasq restart
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/21316>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets