dnsmasq not using all DHCPv6 provided nameservers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dnsmasq (Ubuntu) |
Fix Released
|
Undecided
|
Carlos Hsiao | ||
network-manager (Ubuntu) |
Invalid
|
Undecided
|
Carlos Hsiao |
Bug Description
When receiving nameservers from a DHCPv6 server, NetworkManager reports receiving both my primary and secondary servers, but only advises dnsmasq about the secondary.
Jun 6 13:59:29 daedalus dhclient: XMT: Info-Request on eth0, interval 910ms.
Jun 6 13:59:29 daedalus dhclient: RCV: Reply message on eth0 from fe80::221:
Jun 6 13:59:29 daedalus NetworkManager[
Jun 6 13:59:29 daedalus NetworkManager[
Jun 6 13:59:29 daedalus NetworkManager[
Jun 6 13:59:29 daedalus NetworkManager[
Jun 6 13:59:29 daedalus NetworkManager[
Jun 6 13:59:29 daedalus NetworkManager[
Jun 6 13:59:29 daedalus NetworkManager[
Jun 6 13:59:29 daedalus avahi-daemon[991]: Registering new address record for 2001:470:
Jun 6 13:59:30 daedalus NetworkManager[
Jun 6 13:59:30 daedalus NetworkManager[
Jun 6 13:59:30 daedalus NetworkManager[
Jun 6 13:59:30 daedalus NetworkManager[
Jun 6 13:59:30 daedalus NetworkManager[
Jun 6 13:59:30 daedalus NetworkManager[
Jun 6 13:59:30 daedalus dnsmasq[22603]: setting upstream servers from DBus
Jun 6 13:59:30 daedalus dnsmasq[22603]: using nameserver 2001:470:
Jun 6 13:59:30 daedalus NetworkManager[
I noticed this during the Turn IPv4 Off Day (http://
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: network-manager 0.9.8.8-0ubuntu7
ProcVersionSign
Uname: Linux 3.13.0-27-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Fri Jun 6 23:18:49 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2011-12-09 (910 days ago)
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
IpRoute:
default via 172.31.3.1 dev eth0 proto static
172.31.3.0/24 dev eth0 proto kernel scope link src 172.31.3.11 metric 1
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
WimaxEnabled=true
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
SourcePackage: network-manager
UpgradeStatus: Upgraded to trusty on 2014-04-20 (47 days ago)
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH
wlan0 802-11-wireless unavailable /org/freedeskto
eth0 802-3-ethernet connected /org/freedeskto
nmcli-nm:
RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
running 0.9.8.8 connected enabled disabled disabled enabled disabled
Changed in network-manager (Ubuntu): | |
assignee: | nobody → Carlos Hsiao (weii666) |
Changed in network-manager (Ubuntu): | |
status: | New → Invalid |
Changed in dnsmasq (Ubuntu): | |
status: | New → Confirmed |
assignee: | nobody → Carlos Hsiao (weii666) |
On 14.04, Netowrk-Manager is fine. The problem is at dnsmasq receiving ipv6 nameservers from dbus.
Here is the proposed fix in parsing ipv6 address length.