Unable to configure a secondary DNS server

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












Network manager wasn't applying the DNS servers that I entered using "Edit Connections" -> "Wired Connection 1" -> IPv4 Settings -> Switch to "Automatic (DHCP) addresses only -> entered in DNS servers



dig @10.1.0.16 internal.address works just fine, gives me what's expected.



editing resolv.conf doesn't seem to do the trick, and just gets overwritten anyways.



nmcli shows that the correct DNS servers are being used



systemd-resolve --status shows the DNS servers as expected



again, digging the DNS servers works great.



I've tried switching to dnsmasq as a workaround, which has probably just added to my confusion. I'm not even sure what to provide as far as logs go. What do you guys need to help?










share|improve this question























  • Have you tried disabling the dnsmasq line in /etc/NetworkManager/NetworkManager.conf? Just comment it out with a # in front of it. Secondly, if you want stuff to stay in /etc/resolv.conf you edit the file /etc/resolvconf/resolv.conf.d/original then when resolvconf -u is ran the lines are added automatically to /etc/resolv.conf
    – Terrance
    Feb 16 at 20:57










  • actually you may be on to something with that. the link at /etc/resolvconf/resolv.conf.d/original points to ../run/systemd/resolve/stub-resolv.conf which doesn't exist
    – Daniel Agans
    Feb 16 at 21:28










  • I went ahead and added the symlink and put my DNS servers into the stub-resolve.conf then restarted network-manager but unfortunately behavior is the same. I can resolve external but not internal resources.
    – Daniel Agans
    Feb 16 at 21:37










  • What version of Ubuntu are you using?
    – Terrance
    Feb 16 at 21:39










  • 17.10 it appears
    – Daniel Agans
    Feb 17 at 5:25














up vote
0
down vote

favorite












Network manager wasn't applying the DNS servers that I entered using "Edit Connections" -> "Wired Connection 1" -> IPv4 Settings -> Switch to "Automatic (DHCP) addresses only -> entered in DNS servers



dig @10.1.0.16 internal.address works just fine, gives me what's expected.



editing resolv.conf doesn't seem to do the trick, and just gets overwritten anyways.



nmcli shows that the correct DNS servers are being used



systemd-resolve --status shows the DNS servers as expected



again, digging the DNS servers works great.



I've tried switching to dnsmasq as a workaround, which has probably just added to my confusion. I'm not even sure what to provide as far as logs go. What do you guys need to help?










share|improve this question























  • Have you tried disabling the dnsmasq line in /etc/NetworkManager/NetworkManager.conf? Just comment it out with a # in front of it. Secondly, if you want stuff to stay in /etc/resolv.conf you edit the file /etc/resolvconf/resolv.conf.d/original then when resolvconf -u is ran the lines are added automatically to /etc/resolv.conf
    – Terrance
    Feb 16 at 20:57










  • actually you may be on to something with that. the link at /etc/resolvconf/resolv.conf.d/original points to ../run/systemd/resolve/stub-resolv.conf which doesn't exist
    – Daniel Agans
    Feb 16 at 21:28










  • I went ahead and added the symlink and put my DNS servers into the stub-resolve.conf then restarted network-manager but unfortunately behavior is the same. I can resolve external but not internal resources.
    – Daniel Agans
    Feb 16 at 21:37










  • What version of Ubuntu are you using?
    – Terrance
    Feb 16 at 21:39










  • 17.10 it appears
    – Daniel Agans
    Feb 17 at 5:25












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Network manager wasn't applying the DNS servers that I entered using "Edit Connections" -> "Wired Connection 1" -> IPv4 Settings -> Switch to "Automatic (DHCP) addresses only -> entered in DNS servers



dig @10.1.0.16 internal.address works just fine, gives me what's expected.



editing resolv.conf doesn't seem to do the trick, and just gets overwritten anyways.



nmcli shows that the correct DNS servers are being used



systemd-resolve --status shows the DNS servers as expected



again, digging the DNS servers works great.



I've tried switching to dnsmasq as a workaround, which has probably just added to my confusion. I'm not even sure what to provide as far as logs go. What do you guys need to help?










share|improve this question















Network manager wasn't applying the DNS servers that I entered using "Edit Connections" -> "Wired Connection 1" -> IPv4 Settings -> Switch to "Automatic (DHCP) addresses only -> entered in DNS servers



dig @10.1.0.16 internal.address works just fine, gives me what's expected.



editing resolv.conf doesn't seem to do the trick, and just gets overwritten anyways.



nmcli shows that the correct DNS servers are being used



systemd-resolve --status shows the DNS servers as expected



again, digging the DNS servers works great.



I've tried switching to dnsmasq as a workaround, which has probably just added to my confusion. I'm not even sure what to provide as far as logs go. What do you guys need to help?







17.10 dns dnsmasq resolv.conf






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 17 at 14:39









Terrance

17.5k23885




17.5k23885










asked Feb 16 at 19:47









Daniel Agans

11




11











  • Have you tried disabling the dnsmasq line in /etc/NetworkManager/NetworkManager.conf? Just comment it out with a # in front of it. Secondly, if you want stuff to stay in /etc/resolv.conf you edit the file /etc/resolvconf/resolv.conf.d/original then when resolvconf -u is ran the lines are added automatically to /etc/resolv.conf
    – Terrance
    Feb 16 at 20:57










  • actually you may be on to something with that. the link at /etc/resolvconf/resolv.conf.d/original points to ../run/systemd/resolve/stub-resolv.conf which doesn't exist
    – Daniel Agans
    Feb 16 at 21:28










  • I went ahead and added the symlink and put my DNS servers into the stub-resolve.conf then restarted network-manager but unfortunately behavior is the same. I can resolve external but not internal resources.
    – Daniel Agans
    Feb 16 at 21:37










  • What version of Ubuntu are you using?
    – Terrance
    Feb 16 at 21:39










  • 17.10 it appears
    – Daniel Agans
    Feb 17 at 5:25
















  • Have you tried disabling the dnsmasq line in /etc/NetworkManager/NetworkManager.conf? Just comment it out with a # in front of it. Secondly, if you want stuff to stay in /etc/resolv.conf you edit the file /etc/resolvconf/resolv.conf.d/original then when resolvconf -u is ran the lines are added automatically to /etc/resolv.conf
    – Terrance
    Feb 16 at 20:57










  • actually you may be on to something with that. the link at /etc/resolvconf/resolv.conf.d/original points to ../run/systemd/resolve/stub-resolv.conf which doesn't exist
    – Daniel Agans
    Feb 16 at 21:28










  • I went ahead and added the symlink and put my DNS servers into the stub-resolve.conf then restarted network-manager but unfortunately behavior is the same. I can resolve external but not internal resources.
    – Daniel Agans
    Feb 16 at 21:37










  • What version of Ubuntu are you using?
    – Terrance
    Feb 16 at 21:39










  • 17.10 it appears
    – Daniel Agans
    Feb 17 at 5:25















Have you tried disabling the dnsmasq line in /etc/NetworkManager/NetworkManager.conf? Just comment it out with a # in front of it. Secondly, if you want stuff to stay in /etc/resolv.conf you edit the file /etc/resolvconf/resolv.conf.d/original then when resolvconf -u is ran the lines are added automatically to /etc/resolv.conf
– Terrance
Feb 16 at 20:57




Have you tried disabling the dnsmasq line in /etc/NetworkManager/NetworkManager.conf? Just comment it out with a # in front of it. Secondly, if you want stuff to stay in /etc/resolv.conf you edit the file /etc/resolvconf/resolv.conf.d/original then when resolvconf -u is ran the lines are added automatically to /etc/resolv.conf
– Terrance
Feb 16 at 20:57












actually you may be on to something with that. the link at /etc/resolvconf/resolv.conf.d/original points to ../run/systemd/resolve/stub-resolv.conf which doesn't exist
– Daniel Agans
Feb 16 at 21:28




actually you may be on to something with that. the link at /etc/resolvconf/resolv.conf.d/original points to ../run/systemd/resolve/stub-resolv.conf which doesn't exist
– Daniel Agans
Feb 16 at 21:28












I went ahead and added the symlink and put my DNS servers into the stub-resolve.conf then restarted network-manager but unfortunately behavior is the same. I can resolve external but not internal resources.
– Daniel Agans
Feb 16 at 21:37




I went ahead and added the symlink and put my DNS servers into the stub-resolve.conf then restarted network-manager but unfortunately behavior is the same. I can resolve external but not internal resources.
– Daniel Agans
Feb 16 at 21:37












What version of Ubuntu are you using?
– Terrance
Feb 16 at 21:39




What version of Ubuntu are you using?
– Terrance
Feb 16 at 21:39












17.10 it appears
– Daniel Agans
Feb 17 at 5:25




17.10 it appears
– Daniel Agans
Feb 17 at 5:25










1 Answer
1






active

oldest

votes

















up vote
0
down vote













On the IPV4 tab try switching automatic DHCP to Manual so you will be using the values you enter for the DNS server IP addresses,



Here are instructions for Ubuntu 16. Should work the same for V14 and V17






share|improve this answer




















  • after making this change the behavior is the same
    – Daniel Agans
    Feb 16 at 20:51










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006883%2funable-to-configure-a-secondary-dns-server%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













On the IPV4 tab try switching automatic DHCP to Manual so you will be using the values you enter for the DNS server IP addresses,



Here are instructions for Ubuntu 16. Should work the same for V14 and V17






share|improve this answer




















  • after making this change the behavior is the same
    – Daniel Agans
    Feb 16 at 20:51














up vote
0
down vote













On the IPV4 tab try switching automatic DHCP to Manual so you will be using the values you enter for the DNS server IP addresses,



Here are instructions for Ubuntu 16. Should work the same for V14 and V17






share|improve this answer




















  • after making this change the behavior is the same
    – Daniel Agans
    Feb 16 at 20:51












up vote
0
down vote










up vote
0
down vote









On the IPV4 tab try switching automatic DHCP to Manual so you will be using the values you enter for the DNS server IP addresses,



Here are instructions for Ubuntu 16. Should work the same for V14 and V17






share|improve this answer












On the IPV4 tab try switching automatic DHCP to Manual so you will be using the values you enter for the DNS server IP addresses,



Here are instructions for Ubuntu 16. Should work the same for V14 and V17







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 16 at 20:23









Stephen Fox

215




215











  • after making this change the behavior is the same
    – Daniel Agans
    Feb 16 at 20:51
















  • after making this change the behavior is the same
    – Daniel Agans
    Feb 16 at 20:51















after making this change the behavior is the same
– Daniel Agans
Feb 16 at 20:51




after making this change the behavior is the same
– Daniel Agans
Feb 16 at 20:51

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006883%2funable-to-configure-a-secondary-dns-server%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491