After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 746932 - IPv6 DNS servers are converted to IPv4
IPv6 DNS servers are converted to IPv4
Status: RESOLVED OBSOLETE
Product: gnome-control-center
Classification: Core
Component: Network
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
: 751199 754622 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-03-28 10:56 UTC by MineyMe
Modified: 2018-01-23 03:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
network: Fix display of IPv6 DNS servers (1.14 KB, patch)
2016-04-30 23:34 UTC, Sebastian Keller
needs-work Details | Review

Description MineyMe 2015-03-28 10:56:04 UTC
Hello

It seems that IPv6 servers set using the network configuration screen in gnome-control-center are converted back to IPv4 addresses somehow on save.

Steps to reproduce:
  - Open a network connection's configuration dialog (e.g. your wired connection).
  - Go to the IPv6 page using the sidebar.
  - Set a custom DNS server using its IPv6 address (for your information, I also have 'Automatic' (DNS servers) turned off).
  - Click apply, the settings will be saved successfully (using nm-connection-editor you can also see the correct addresses).
  - Go to the same page again using the first two steps and notice that there now is an IPv4 address instead of the configured IPv6 address. Additionally, the address field has a red border color to indicate that it's not a valid IPv6 address and you can not save the dialog again from anywhere without manually re-entering the IPv6 address (or removing it).

I'm currently experiencing this issue in GNOME 3.14, but I've also experienced it with GNOME 3.12 (I did not have IPv6 before GNOME 3.12 so I do not know about older GNOME versions). For your information, I'm currently running on x86-64 Arch Linux.

King regards and thanks in advance
Comment 1 MineyMe 2015-05-01 18:05:14 UTC
I've updated the ticket so it's relevant for GTK 3.16 as this issue is still present. (Sorry for the extra bump.)
Comment 2 Nicholas Miell 2015-11-08 20:19:09 UTC
*** Bug 754622 has been marked as a duplicate of this bug. ***
Comment 3 Nicholas Miell 2015-11-08 20:20:03 UTC
*** Bug 751199 has been marked as a duplicate of this bug. ***
Comment 4 Sebastian Keller 2016-04-30 23:34:51 UTC
Created attachment 327097 [details] [review]
network: Fix display of IPv6 DNS servers

When displaying stored IPv6 DNS servers, inet_ntop was used to convert an in6_addr struct to an IPv4 address string.
Comment 5 Georges Basile Stavracas Neto 2018-01-23 03:06:40 UTC
Review of attachment 327097 [details] [review]:

Code makes sense, but does not apply on master.
Comment 6 Georges Basile Stavracas Neto 2018-01-23 03:08:50 UTC
I'll close this bug as OBSOLETE since the solution does not apply anymore (design has changed, and NetworkManager has evolved too).