Network manager adds "reverse-DNS" for DNS IP when there are more than one IP address provided by openvpn

Bug #1547999 reported by kay
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Server side configuration:

server 10.25.8.0 255.255.255.0
server-ipv6 2001:db8:0:123:8000::/65

push redirect-gateway
push "dhcp-option DNS 10.25.8.1"
push "route-ipv6 2000::/3"
push redirect-gateway ipv6

NetworkManager creates this entry for dnsmasq:

dnsmasq[5628]: setting upstream servers from DBus
dnsmasq[5628]: using nameserver 10.25.8.1#53 for domain 10.in-addr.arpa

But it should create this one:

dnsmasq[5628]: using nameserver 10.25.8.1#53

When you comment-out ipv6 related strings on server side, NetworkManager works as expected.

NetworkManager version 0.9.8.8

Bug is somewhere there... https://cgit.freedesktop.org/NetworkManager/NetworkManager/log/src/dns-manager/nm-dns-dnsmasq.c (where split FALSE / TRUE used)

kay (kay-diam)
description: updated
kay (kay-diam)
description: updated
Revision history for this message
kay (kay-diam) wrote :
Revision history for this message
kay (kay-diam) wrote :

In case when openvpn server has this configuration:
push "dhcp-option DNS 10.25.8.1 *"

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

We carry the mentioned commit in Xenial and yakkety now.

Changed in network-manager (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
kay (kay-diam) wrote :

That is obvious, but what about Trusty?

Revision history for this message
kay (kay-diam) wrote :

It still doesn't work even in Xenial. When I use 'push "dhcp-option DNS 10.25.8.1 *"', network manager prints "none" in log, when it actually should use this DNS as a global DNS.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.