How to repair DNS resolution in Ubuntu 16.04

Clash Royale CLAN TAG#URR8PPP .everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
1
down vote
favorite
Recently, name resolution failed on Ubuntu 16.04, and I worked around the problem by adding "nameserver 127.0.0.1" to /etc/resolv.conf (which fixed the problem)
I know I should not be manually editing /etc/resolv.conf in 16.04
What package(s) can I reinstall to get DNS resolution back to the pristine state for 16.04?
dnsmasq
add a comment |Â
up vote
1
down vote
favorite
Recently, name resolution failed on Ubuntu 16.04, and I worked around the problem by adding "nameserver 127.0.0.1" to /etc/resolv.conf (which fixed the problem)
I know I should not be manually editing /etc/resolv.conf in 16.04
What package(s) can I reinstall to get DNS resolution back to the pristine state for 16.04?
dnsmasq
You can try to runsudo dpkg-reconfigure resolvconfto repair symlink between/etc/resolv.confand/run/resolvconf/resolv.confas recommended in this answer.
â N0rbert
2 hours ago
1
If you need fixed DNS entries, you should be editing the files located in/etc/resolvconf/resolv.conf.d. I did my permanent DNS server entries in theoriginalfile located in that folder. Then when completed you should runsudo resolvconf -uto update the/etc/resolv.conffile.
â Terrance
1 hour ago
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Recently, name resolution failed on Ubuntu 16.04, and I worked around the problem by adding "nameserver 127.0.0.1" to /etc/resolv.conf (which fixed the problem)
I know I should not be manually editing /etc/resolv.conf in 16.04
What package(s) can I reinstall to get DNS resolution back to the pristine state for 16.04?
dnsmasq
Recently, name resolution failed on Ubuntu 16.04, and I worked around the problem by adding "nameserver 127.0.0.1" to /etc/resolv.conf (which fixed the problem)
I know I should not be manually editing /etc/resolv.conf in 16.04
What package(s) can I reinstall to get DNS resolution back to the pristine state for 16.04?
dnsmasq
asked 2 hours ago
flymike
1756
1756
You can try to runsudo dpkg-reconfigure resolvconfto repair symlink between/etc/resolv.confand/run/resolvconf/resolv.confas recommended in this answer.
â N0rbert
2 hours ago
1
If you need fixed DNS entries, you should be editing the files located in/etc/resolvconf/resolv.conf.d. I did my permanent DNS server entries in theoriginalfile located in that folder. Then when completed you should runsudo resolvconf -uto update the/etc/resolv.conffile.
â Terrance
1 hour ago
add a comment |Â
You can try to runsudo dpkg-reconfigure resolvconfto repair symlink between/etc/resolv.confand/run/resolvconf/resolv.confas recommended in this answer.
â N0rbert
2 hours ago
1
If you need fixed DNS entries, you should be editing the files located in/etc/resolvconf/resolv.conf.d. I did my permanent DNS server entries in theoriginalfile located in that folder. Then when completed you should runsudo resolvconf -uto update the/etc/resolv.conffile.
â Terrance
1 hour ago
You can try to run
sudo dpkg-reconfigure resolvconf to repair symlink between /etc/resolv.conf and /run/resolvconf/resolv.conf as recommended in this answer.â N0rbert
2 hours ago
You can try to run
sudo dpkg-reconfigure resolvconf to repair symlink between /etc/resolv.conf and /run/resolvconf/resolv.conf as recommended in this answer.â N0rbert
2 hours ago
1
1
If you need fixed DNS entries, you should be editing the files located in
/etc/resolvconf/resolv.conf.d. I did my permanent DNS server entries in the original file located in that folder. Then when completed you should run sudo resolvconf -u to update the /etc/resolv.conf file.â Terrance
1 hour ago
If you need fixed DNS entries, you should be editing the files located in
/etc/resolvconf/resolv.conf.d. I did my permanent DNS server entries in the original file located in that folder. Then when completed you should run sudo resolvconf -u to update the /etc/resolv.conf file.â Terrance
1 hour ago
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%2f1062394%2fhow-to-repair-dns-resolution-in-ubuntu-16-04%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
You can try to run
sudo dpkg-reconfigure resolvconfto repair symlink between/etc/resolv.confand/run/resolvconf/resolv.confas recommended in this answer.â N0rbert
2 hours ago
1
If you need fixed DNS entries, you should be editing the files located in
/etc/resolvconf/resolv.conf.d. I did my permanent DNS server entries in theoriginalfile located in that folder. Then when completed you should runsudo resolvconf -uto update the/etc/resolv.conffile.â Terrance
1 hour ago