How to change DNS server to IP-address from pi-hole?


up vote
0
down vote
favorite
I've installed pi-hole on my raspberry but now I'm having a hard time setting up my pc to use pi-hole as DNS.
What I've done (working in ubuntu 14.04):
network -> edit network -> IPv4 settings: change to 'Automatic (DHCP) addresses only' and add the IP adress op my PI to DNS-servers.
When I check network -> network information it states it uses my PI as primary DNS-server but still no adds are blocked.
The output of cat /etc/resolv.conf
results in my old DNS-servers.
How can I make my pc is using my PI as DNS-server please?
(fyi: I cannot change the dns of my router unfortunately)
dns raspberrypi
add a comment |Â
up vote
0
down vote
favorite
I've installed pi-hole on my raspberry but now I'm having a hard time setting up my pc to use pi-hole as DNS.
What I've done (working in ubuntu 14.04):
network -> edit network -> IPv4 settings: change to 'Automatic (DHCP) addresses only' and add the IP adress op my PI to DNS-servers.
When I check network -> network information it states it uses my PI as primary DNS-server but still no adds are blocked.
The output of cat /etc/resolv.conf
results in my old DNS-servers.
How can I make my pc is using my PI as DNS-server please?
(fyi: I cannot change the dns of my router unfortunately)
dns raspberrypi
you might need to disconnect and reconnect the system to 'refresh' the servers. Network Manager configs don't update in realtime and you sometimes have to disconnect and reconnect to refresh the configs/settings
â Thomas Wardâ¦
May 10 at 17:09
thanks for your input, but even if I disconnect & reconnect to the wifi it's still the same result: no adds are blocked eventough my PI is listed as DNS server.
â wouter205
May 10 at 17:16
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I've installed pi-hole on my raspberry but now I'm having a hard time setting up my pc to use pi-hole as DNS.
What I've done (working in ubuntu 14.04):
network -> edit network -> IPv4 settings: change to 'Automatic (DHCP) addresses only' and add the IP adress op my PI to DNS-servers.
When I check network -> network information it states it uses my PI as primary DNS-server but still no adds are blocked.
The output of cat /etc/resolv.conf
results in my old DNS-servers.
How can I make my pc is using my PI as DNS-server please?
(fyi: I cannot change the dns of my router unfortunately)
dns raspberrypi
I've installed pi-hole on my raspberry but now I'm having a hard time setting up my pc to use pi-hole as DNS.
What I've done (working in ubuntu 14.04):
network -> edit network -> IPv4 settings: change to 'Automatic (DHCP) addresses only' and add the IP adress op my PI to DNS-servers.
When I check network -> network information it states it uses my PI as primary DNS-server but still no adds are blocked.
The output of cat /etc/resolv.conf
results in my old DNS-servers.
How can I make my pc is using my PI as DNS-server please?
(fyi: I cannot change the dns of my router unfortunately)
dns raspberrypi
edited May 10 at 17:36


Thomas Wardâ¦
41.2k23112166
41.2k23112166
asked May 10 at 17:08
wouter205
4511024
4511024
you might need to disconnect and reconnect the system to 'refresh' the servers. Network Manager configs don't update in realtime and you sometimes have to disconnect and reconnect to refresh the configs/settings
â Thomas Wardâ¦
May 10 at 17:09
thanks for your input, but even if I disconnect & reconnect to the wifi it's still the same result: no adds are blocked eventough my PI is listed as DNS server.
â wouter205
May 10 at 17:16
add a comment |Â
you might need to disconnect and reconnect the system to 'refresh' the servers. Network Manager configs don't update in realtime and you sometimes have to disconnect and reconnect to refresh the configs/settings
â Thomas Wardâ¦
May 10 at 17:09
thanks for your input, but even if I disconnect & reconnect to the wifi it's still the same result: no adds are blocked eventough my PI is listed as DNS server.
â wouter205
May 10 at 17:16
you might need to disconnect and reconnect the system to 'refresh' the servers. Network Manager configs don't update in realtime and you sometimes have to disconnect and reconnect to refresh the configs/settings
â Thomas Wardâ¦
May 10 at 17:09
you might need to disconnect and reconnect the system to 'refresh' the servers. Network Manager configs don't update in realtime and you sometimes have to disconnect and reconnect to refresh the configs/settings
â Thomas Wardâ¦
May 10 at 17:09
thanks for your input, but even if I disconnect & reconnect to the wifi it's still the same result: no adds are blocked eventough my PI is listed as DNS server.
â wouter205
May 10 at 17:16
thanks for your input, but even if I disconnect & reconnect to the wifi it's still the same result: no adds are blocked eventough my PI is listed as DNS server.
â wouter205
May 10 at 17:16
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%2f1034570%2fhow-to-change-dns-server-to-ip-address-from-pi-hole%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 might need to disconnect and reconnect the system to 'refresh' the servers. Network Manager configs don't update in realtime and you sometimes have to disconnect and reconnect to refresh the configs/settings
â Thomas Wardâ¦
May 10 at 17:09
thanks for your input, but even if I disconnect & reconnect to the wifi it's still the same result: no adds are blocked eventough my PI is listed as DNS server.
â wouter205
May 10 at 17:16