GNOME Bugzilla – Bug 746932
IPv6 DNS servers are converted to IPv4
Last modified: 2018-01-23 03:08:50 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
I've updated the ticket so it's relevant for GTK 3.16 as this issue is still present. (Sorry for the extra bump.)
*** Bug 754622 has been marked as a duplicate of this bug. ***
*** Bug 751199 has been marked as a duplicate of this bug. ***
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.
Review of attachment 327097 [details] [review]: Code makes sense, but does not apply on master.
I'll close this bug as OBSOLETE since the solution does not apply anymore (design has changed, and NetworkManager has evolved too).