Bug 27434

Summary: The "Get DNS server from DHCP" function in the Network Center does not work correctly
Product: Mageia Reporter: Alex Kotov <alex_q_2000>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal Keywords: Triaged
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: drakxtools-18.34-1.mga8.src.rpm CVE:
Status comment:
Attachments: Network Center - Get DNS servers from DHCP

Description Alex Kotov 2020-10-16 14:56:11 CEST
Description of problem:
---
Hi. If the "Get DNS servers from DHCP" checkbox is checked, data from the "DNS Server 1" and "DNS Server 2" fields should NOT write DNS addresses in /etc/resolv.conf, since the IP addresses of these servers are issued by an external DHCP server. At the moment, if the fields "DNS Server 1" and "DNS Server 2" were once spelled out ip addresses, they are in any case written to /etc/resolv.conf. See the screenshot in the attachment.

How reproducible:
---
Open the Network Center, select the interface, and click "Configure". Enable "Automatic IP (BOOTP/DHCP)", uncheck "Get DNS servers from DHCP", enter the DNS Server addresses in the" DNS Server 1 "and" DNS Server 2 " fields, and again check "Get DNS servers from DHCP " and click "Ok". Switch the selected interface (off/on), view the contents of /etc/resolv.conf, or perform "dig mageia.org" in the terminal to see which DNS servers are being used.
Comment 1 Alex Kotov 2020-10-16 14:57:06 CEST
Created attachment 11943 [details]
Network Center - Get DNS servers from DHCP
Comment 2 Aurelien Oudelet 2020-10-16 17:36:35 CEST
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

(Please set the status to 'assigned' if you are working on it)

Assignee: bugsquad => mageiatools
Keywords: (none) => Triaged
Source RPM: (none) => drakxtools-18.34-1.mga8.src.rpm