Modify

Opened 2 years ago

#21316 new defect

Dnsmasq requires restart to listen on IPv6 address (aiccu)

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: base system Version: Chaos Calmer 15.05
Keywords: aiccu Cc:

Description

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

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.