Ubuntu resolving on 127.0.0.1 with no dnsmasq
![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
1
down vote
favorite
We are running a Zimbra server on 16.04. today we changed the ip address and location of the server. Most issues have been resolved other than name resolution. The server is listening on 127.0.0.1 but unable to resolve. If we change resolv.conf to 8.8.8.8 we can resolve, However, resolve.conf will get overwritten of course. interfaces is set up correctly with dns-nameservers 8.8.8.8 - not really sure why it is listening on 127.0.0.1?
Trying to understand why resolv.conf is reverting to 127.0.0.1 when dns-nameservers is correctly set? Note, we are not running dnsmasq. Also this is a basic virtual machine install (I dont believe Network Manager is installed)
Appologies if this is a simple question!
networking dns
add a comment |Â
up vote
1
down vote
favorite
We are running a Zimbra server on 16.04. today we changed the ip address and location of the server. Most issues have been resolved other than name resolution. The server is listening on 127.0.0.1 but unable to resolve. If we change resolv.conf to 8.8.8.8 we can resolve, However, resolve.conf will get overwritten of course. interfaces is set up correctly with dns-nameservers 8.8.8.8 - not really sure why it is listening on 127.0.0.1?
Trying to understand why resolv.conf is reverting to 127.0.0.1 when dns-nameservers is correctly set? Note, we are not running dnsmasq. Also this is a basic virtual machine install (I dont believe Network Manager is installed)
Appologies if this is a simple question!
networking dns
Have you reload the network configuration ? (or just reboot the machine ?)
â Eraseth
Jun 11 at 8:35
both, but more recently by restarting networking.service
â skyman
Jun 11 at 8:51
Can you reach the DNS server you try to configure ? (ping
)
â Eraseth
Jun 11 at 8:58
so dns-nameservers is set to 8.8.8.8 - which I can ping yes. I was trying to work out if there was any local DNS server running - but it appears not. netstat shows 127.0.0.1:55 - is this normal?
â skyman
Jun 11 at 9:46
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
We are running a Zimbra server on 16.04. today we changed the ip address and location of the server. Most issues have been resolved other than name resolution. The server is listening on 127.0.0.1 but unable to resolve. If we change resolv.conf to 8.8.8.8 we can resolve, However, resolve.conf will get overwritten of course. interfaces is set up correctly with dns-nameservers 8.8.8.8 - not really sure why it is listening on 127.0.0.1?
Trying to understand why resolv.conf is reverting to 127.0.0.1 when dns-nameservers is correctly set? Note, we are not running dnsmasq. Also this is a basic virtual machine install (I dont believe Network Manager is installed)
Appologies if this is a simple question!
networking dns
We are running a Zimbra server on 16.04. today we changed the ip address and location of the server. Most issues have been resolved other than name resolution. The server is listening on 127.0.0.1 but unable to resolve. If we change resolv.conf to 8.8.8.8 we can resolve, However, resolve.conf will get overwritten of course. interfaces is set up correctly with dns-nameservers 8.8.8.8 - not really sure why it is listening on 127.0.0.1?
Trying to understand why resolv.conf is reverting to 127.0.0.1 when dns-nameservers is correctly set? Note, we are not running dnsmasq. Also this is a basic virtual machine install (I dont believe Network Manager is installed)
Appologies if this is a simple question!
networking dns
edited Jun 11 at 8:34
asked Jun 11 at 8:20
skyman
1165
1165
Have you reload the network configuration ? (or just reboot the machine ?)
â Eraseth
Jun 11 at 8:35
both, but more recently by restarting networking.service
â skyman
Jun 11 at 8:51
Can you reach the DNS server you try to configure ? (ping
)
â Eraseth
Jun 11 at 8:58
so dns-nameservers is set to 8.8.8.8 - which I can ping yes. I was trying to work out if there was any local DNS server running - but it appears not. netstat shows 127.0.0.1:55 - is this normal?
â skyman
Jun 11 at 9:46
add a comment |Â
Have you reload the network configuration ? (or just reboot the machine ?)
â Eraseth
Jun 11 at 8:35
both, but more recently by restarting networking.service
â skyman
Jun 11 at 8:51
Can you reach the DNS server you try to configure ? (ping
)
â Eraseth
Jun 11 at 8:58
so dns-nameservers is set to 8.8.8.8 - which I can ping yes. I was trying to work out if there was any local DNS server running - but it appears not. netstat shows 127.0.0.1:55 - is this normal?
â skyman
Jun 11 at 9:46
Have you reload the network configuration ? (or just reboot the machine ?)
â Eraseth
Jun 11 at 8:35
Have you reload the network configuration ? (or just reboot the machine ?)
â Eraseth
Jun 11 at 8:35
both, but more recently by restarting networking.service
â skyman
Jun 11 at 8:51
both, but more recently by restarting networking.service
â skyman
Jun 11 at 8:51
Can you reach the DNS server you try to configure ? (
ping
)â Eraseth
Jun 11 at 8:58
Can you reach the DNS server you try to configure ? (
ping
)â Eraseth
Jun 11 at 8:58
so dns-nameservers is set to 8.8.8.8 - which I can ping yes. I was trying to work out if there was any local DNS server running - but it appears not. netstat shows 127.0.0.1:55 - is this normal?
â skyman
Jun 11 at 9:46
so dns-nameservers is set to 8.8.8.8 - which I can ping yes. I was trying to work out if there was any local DNS server running - but it appears not. netstat shows 127.0.0.1:55 - is this normal?
â skyman
Jun 11 at 9:46
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
The solution was as follows:
Zimbra does run a DNS cache which must be configured to reference an appropriate DNS server.
to check current DNS
zmprov getServer `zmhostname` | grep DNSMasterIP
to remove old DNS
zmprov ms `zmhostname` -zimbraDNSMasterIP 192.168.1.45
to add new DNS
zmprov ms `zmhostname` +zimbraDNSMasterIP 8.8.8.8
Zimbra's dnscache listens on 127.0.0.1 - we had the intenal reference DNS set to an old internal dns server rather than an external one.
dnscache will override resolve.conf in Ubuntu resetting it to 127.0.0.1
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
The solution was as follows:
Zimbra does run a DNS cache which must be configured to reference an appropriate DNS server.
to check current DNS
zmprov getServer `zmhostname` | grep DNSMasterIP
to remove old DNS
zmprov ms `zmhostname` -zimbraDNSMasterIP 192.168.1.45
to add new DNS
zmprov ms `zmhostname` +zimbraDNSMasterIP 8.8.8.8
Zimbra's dnscache listens on 127.0.0.1 - we had the intenal reference DNS set to an old internal dns server rather than an external one.
dnscache will override resolve.conf in Ubuntu resetting it to 127.0.0.1
add a comment |Â
up vote
1
down vote
accepted
The solution was as follows:
Zimbra does run a DNS cache which must be configured to reference an appropriate DNS server.
to check current DNS
zmprov getServer `zmhostname` | grep DNSMasterIP
to remove old DNS
zmprov ms `zmhostname` -zimbraDNSMasterIP 192.168.1.45
to add new DNS
zmprov ms `zmhostname` +zimbraDNSMasterIP 8.8.8.8
Zimbra's dnscache listens on 127.0.0.1 - we had the intenal reference DNS set to an old internal dns server rather than an external one.
dnscache will override resolve.conf in Ubuntu resetting it to 127.0.0.1
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
The solution was as follows:
Zimbra does run a DNS cache which must be configured to reference an appropriate DNS server.
to check current DNS
zmprov getServer `zmhostname` | grep DNSMasterIP
to remove old DNS
zmprov ms `zmhostname` -zimbraDNSMasterIP 192.168.1.45
to add new DNS
zmprov ms `zmhostname` +zimbraDNSMasterIP 8.8.8.8
Zimbra's dnscache listens on 127.0.0.1 - we had the intenal reference DNS set to an old internal dns server rather than an external one.
dnscache will override resolve.conf in Ubuntu resetting it to 127.0.0.1
The solution was as follows:
Zimbra does run a DNS cache which must be configured to reference an appropriate DNS server.
to check current DNS
zmprov getServer `zmhostname` | grep DNSMasterIP
to remove old DNS
zmprov ms `zmhostname` -zimbraDNSMasterIP 192.168.1.45
to add new DNS
zmprov ms `zmhostname` +zimbraDNSMasterIP 8.8.8.8
Zimbra's dnscache listens on 127.0.0.1 - we had the intenal reference DNS set to an old internal dns server rather than an external one.
dnscache will override resolve.conf in Ubuntu resetting it to 127.0.0.1
answered Jun 12 at 0:37
skyman
1165
1165
add a comment |Â
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%2f1045533%2fubuntu-resolving-on-127-0-0-1-with-no-dnsmasq%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 reload the network configuration ? (or just reboot the machine ?)
â Eraseth
Jun 11 at 8:35
both, but more recently by restarting networking.service
â skyman
Jun 11 at 8:51
Can you reach the DNS server you try to configure ? (
ping
)â Eraseth
Jun 11 at 8:58
so dns-nameservers is set to 8.8.8.8 - which I can ping yes. I was trying to work out if there was any local DNS server running - but it appears not. netstat shows 127.0.0.1:55 - is this normal?
â skyman
Jun 11 at 9:46