Unable to configure a secondary DNS server
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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?
17.10 dns dnsmasq resolv.conf
 |Â
show 1 more comment
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?
17.10 dns dnsmasq resolv.conf
Have you tried disabling thednsmasq
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 whenresolvconf -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 thestub-resolve.conf
then restartednetwork-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
 |Â
show 1 more comment
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?
17.10 dns dnsmasq resolv.conf
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
17.10 dns dnsmasq resolv.conf
edited Feb 17 at 14:39
![](https://i.stack.imgur.com/1hPwN.jpg?s=32&g=1)
![](https://i.stack.imgur.com/1hPwN.jpg?s=32&g=1)
Terrance
17.5k23885
17.5k23885
asked Feb 16 at 19:47
![](https://i.stack.imgur.com/KMbYt.jpg?s=32&g=1)
![](https://i.stack.imgur.com/KMbYt.jpg?s=32&g=1)
Daniel Agans
11
11
Have you tried disabling thednsmasq
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 whenresolvconf -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 thestub-resolve.conf
then restartednetwork-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
 |Â
show 1 more comment
Have you tried disabling thednsmasq
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 whenresolvconf -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 thestub-resolve.conf
then restartednetwork-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
 |Â
show 1 more comment
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
after making this change the behavior is the same
â Daniel Agans
Feb 16 at 20:51
add a comment |Â
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
after making this change the behavior is the same
â Daniel Agans
Feb 16 at 20:51
add a comment |Â
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
after making this change the behavior is the same
â Daniel Agans
Feb 16 at 20:51
add a comment |Â
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
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
answered Feb 16 at 20:23
![](https://i.stack.imgur.com/vwN8o.jpg?s=32&g=1)
![](https://i.stack.imgur.com/vwN8o.jpg?s=32&g=1)
Stephen Fox
215
215
after making this change the behavior is the same
â Daniel Agans
Feb 16 at 20:51
add a comment |Â
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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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 whenresolvconf -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 restartednetwork-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