how to update dns after a changing resolvconf
![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
I need to edit my system's dns nameservers, without rebooting, on a system i believe uses resolveconf
. The changes i make to /etc/resolvconf/resolve.conf.d/base
ARE reflected on full reboot, but I need to update the local dns nameservers without rebooting. On ubuntu16.04
As I've understood the docs, my system uses resolvconf, and my /etc/resolv.conf
file is autogenerated from /etc/resolvconf/resolv.conf.d/base
(as well as head
and tail
). I edited base
and need to get my system to use the new nameservers.
All the answers I've found seem to direct me to sudo resolvconf -u
and (possibly) restart the network-manager
service. From the man
page i also tried --enable-udpates
and re-running the -u
.
None of my changes in base
seem to be reflected in resolve.conf
after these steps, and nslookup
is using the former contents.
How do i update my system to use the new dns servers I'm trying to set (and, if my statements above about what ubuntu uses are wrong or incomplete, please correct me!)
Thank you!
16.04 dns resolvconf
add a comment |Â
up vote
0
down vote
favorite
I need to edit my system's dns nameservers, without rebooting, on a system i believe uses resolveconf
. The changes i make to /etc/resolvconf/resolve.conf.d/base
ARE reflected on full reboot, but I need to update the local dns nameservers without rebooting. On ubuntu16.04
As I've understood the docs, my system uses resolvconf, and my /etc/resolv.conf
file is autogenerated from /etc/resolvconf/resolv.conf.d/base
(as well as head
and tail
). I edited base
and need to get my system to use the new nameservers.
All the answers I've found seem to direct me to sudo resolvconf -u
and (possibly) restart the network-manager
service. From the man
page i also tried --enable-udpates
and re-running the -u
.
None of my changes in base
seem to be reflected in resolve.conf
after these steps, and nslookup
is using the former contents.
How do i update my system to use the new dns servers I'm trying to set (and, if my statements above about what ubuntu uses are wrong or incomplete, please correct me!)
Thank you!
16.04 dns resolvconf
If you're using the network-manager, have you tried to set up the DNS server in the network manager config ? Under Ubuntu when editing a connection in the IPv4/6 tab: "Additional DNS Server". Just reconnect after saving.
â JonnyTischbein
Apr 9 at 18:38
@JonnyTischbein - when i open 'network connections' it appears to reflect resolve.conf. since ubuntu uses resolveconf, this will be overwritten. As mentioned, this only seems to be happening on reboot, so I can manually edit resolve.conf with the needed changes (which then take effect immediately). It does not, obvously, persist though which is the problem
â mike
Apr 9 at 18:54
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I need to edit my system's dns nameservers, without rebooting, on a system i believe uses resolveconf
. The changes i make to /etc/resolvconf/resolve.conf.d/base
ARE reflected on full reboot, but I need to update the local dns nameservers without rebooting. On ubuntu16.04
As I've understood the docs, my system uses resolvconf, and my /etc/resolv.conf
file is autogenerated from /etc/resolvconf/resolv.conf.d/base
(as well as head
and tail
). I edited base
and need to get my system to use the new nameservers.
All the answers I've found seem to direct me to sudo resolvconf -u
and (possibly) restart the network-manager
service. From the man
page i also tried --enable-udpates
and re-running the -u
.
None of my changes in base
seem to be reflected in resolve.conf
after these steps, and nslookup
is using the former contents.
How do i update my system to use the new dns servers I'm trying to set (and, if my statements above about what ubuntu uses are wrong or incomplete, please correct me!)
Thank you!
16.04 dns resolvconf
I need to edit my system's dns nameservers, without rebooting, on a system i believe uses resolveconf
. The changes i make to /etc/resolvconf/resolve.conf.d/base
ARE reflected on full reboot, but I need to update the local dns nameservers without rebooting. On ubuntu16.04
As I've understood the docs, my system uses resolvconf, and my /etc/resolv.conf
file is autogenerated from /etc/resolvconf/resolv.conf.d/base
(as well as head
and tail
). I edited base
and need to get my system to use the new nameservers.
All the answers I've found seem to direct me to sudo resolvconf -u
and (possibly) restart the network-manager
service. From the man
page i also tried --enable-udpates
and re-running the -u
.
None of my changes in base
seem to be reflected in resolve.conf
after these steps, and nslookup
is using the former contents.
How do i update my system to use the new dns servers I'm trying to set (and, if my statements above about what ubuntu uses are wrong or incomplete, please correct me!)
Thank you!
16.04 dns resolvconf
16.04 dns resolvconf
asked Apr 9 at 18:03
mike
1638
1638
If you're using the network-manager, have you tried to set up the DNS server in the network manager config ? Under Ubuntu when editing a connection in the IPv4/6 tab: "Additional DNS Server". Just reconnect after saving.
â JonnyTischbein
Apr 9 at 18:38
@JonnyTischbein - when i open 'network connections' it appears to reflect resolve.conf. since ubuntu uses resolveconf, this will be overwritten. As mentioned, this only seems to be happening on reboot, so I can manually edit resolve.conf with the needed changes (which then take effect immediately). It does not, obvously, persist though which is the problem
â mike
Apr 9 at 18:54
add a comment |Â
If you're using the network-manager, have you tried to set up the DNS server in the network manager config ? Under Ubuntu when editing a connection in the IPv4/6 tab: "Additional DNS Server". Just reconnect after saving.
â JonnyTischbein
Apr 9 at 18:38
@JonnyTischbein - when i open 'network connections' it appears to reflect resolve.conf. since ubuntu uses resolveconf, this will be overwritten. As mentioned, this only seems to be happening on reboot, so I can manually edit resolve.conf with the needed changes (which then take effect immediately). It does not, obvously, persist though which is the problem
â mike
Apr 9 at 18:54
If you're using the network-manager, have you tried to set up the DNS server in the network manager config ? Under Ubuntu when editing a connection in the IPv4/6 tab: "Additional DNS Server". Just reconnect after saving.
â JonnyTischbein
Apr 9 at 18:38
If you're using the network-manager, have you tried to set up the DNS server in the network manager config ? Under Ubuntu when editing a connection in the IPv4/6 tab: "Additional DNS Server". Just reconnect after saving.
â JonnyTischbein
Apr 9 at 18:38
@JonnyTischbein - when i open 'network connections' it appears to reflect resolve.conf. since ubuntu uses resolveconf, this will be overwritten. As mentioned, this only seems to be happening on reboot, so I can manually edit resolve.conf with the needed changes (which then take effect immediately). It does not, obvously, persist though which is the problem
â mike
Apr 9 at 18:54
@JonnyTischbein - when i open 'network connections' it appears to reflect resolve.conf. since ubuntu uses resolveconf, this will be overwritten. As mentioned, this only seems to be happening on reboot, so I can manually edit resolve.conf with the needed changes (which then take effect immediately). It does not, obvously, persist though which is the problem
â mike
Apr 9 at 18:54
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1023412%2fhow-to-update-dns-after-a-changing-resolvconf%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
If you're using the network-manager, have you tried to set up the DNS server in the network manager config ? Under Ubuntu when editing a connection in the IPv4/6 tab: "Additional DNS Server". Just reconnect after saving.
â JonnyTischbein
Apr 9 at 18:38
@JonnyTischbein - when i open 'network connections' it appears to reflect resolve.conf. since ubuntu uses resolveconf, this will be overwritten. As mentioned, this only seems to be happening on reboot, so I can manually edit resolve.conf with the needed changes (which then take effect immediately). It does not, obvously, persist though which is the problem
â mike
Apr 9 at 18:54