Description of problem: Second dns nameserver not in /etc/resolv.conf Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Add second name server to nic configuration file 2. systemctl restart network 3. cat /etc/resolv.conf $ grep -i dns /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/network-scripts/ifcfg-enp3s0:DNS1=127.0.0.1 /etc/sysconfig/network-scripts/ifcfg-enp3s0:DNS2=8.8.8.8 $ grep -v ^# /etc/resolv.conf nameserver 127.0.0.1 search home.test Reproducible: Steps to Reproduce:
Keywords: (none) => TriagedAssignee: bugsquad => mageia
It won't solve the problem you're reporting, but for that configuration, if you are running a local nameserver, it'd probably make more sense to put 8.8.8.8 as a forwarder in your named.conf rather than list it as a second name server in resolv.conf.
(In reply to David Walser from comment #1) > It won't solve the problem you're reporting, but for that configuration, if > you are running a local nameserver, it'd probably make more sense to put > 8.8.8.8 as a forwarder in your named.conf rather than list it as a second > name server in resolv.conf. Reason for second nameserver is for when first nameserver is not responding. The better workaround is to put second nameserver in /etc/resolvconf/resolv.conf.d/tail :)
(In reply to Bit Twister from comment #2) > Reason for second nameserver is for when first nameserver is not responding. I'd rather figure out why it's not responding and fix that :o) > The better workaround is to put second nameserver in > /etc/resolvconf/resolv.conf.d/tail :) Yep, that works too.
CC: (none) => luigiwalser
CC: luigiwalser => (none)
Is this bug still valid in Mageia 4 and / or cauldron?
(In reply to Samuel VERSCHELDE from comment #4) > Is this bug still valid in Mageia 4 and / or cauldron? yes.
Just verified problem is valid in release 5.
Summary: 4_b1: DNS2=xxxx not in /etc/resolv.conf => DNS2=xxxx not in /etc/resolv.confWhiteboard: (none) => MGA5TOO
appears to be working in 6 sta2
Status: NEW => RESOLVEDResolution: (none) => FIXED