All set up (it appears) but no ad blocking happening

Thanks for that....no, not had time to dig into it yet....but I am pretty sure that that solution will work. Will revert back in a few days (as it looks like I have to deal with some domestic issues first). As ever, thanks for your help and patience!

1 Like
pj@pj-selgbuild:~$ nmcli connection show dec6ddcf-5777-45d2-96cd-c65fde1d3a5e | grep -i dns
connection.mdns:                        -1 (default)
ipv4.dns:                               208.67.222.222,208.67.220.220
ipv4.dns-search:                        --
ipv4.dns-options:                       --
ipv4.dns-priority:                      0
ipv4.ignore-auto-dns:                   no
ipv6.dns:                               --
ipv6.dns-search:                        --
ipv6.dns-options:                       --
ipv6.dns-priority:                      0
ipv6.ignore-auto-dns:                   no
IP4.DNS[1]:                             10.1.1.3
IP4.DNS[2]:                             208.67.222.222
IP4.DNS[3]:                             208.67.220.220

This is weird I have eliminated the OpenDNS from the wired profile...see attached...and still it is picking it up from somewhere else. I removed it from the Chromebook and it works perfectly on that now!

Flip that switch for DNS called Automatic:

image

Click "Apply", and run below again:

nmcli connection show dec6ddcf-5777-45d2-96cd-c65fde1d3a5e | grep -i dns

pj@pj-selgbuild:~$ nmcli connection show dec6ddcf-5777-45d2-96cd-c65fde1d3a5e | grep -i dns
connection.mdns:                        -1 (default)
ipv4.dns:                               208.67.222.222,208.67.220.220
ipv4.dns-search:                        --
ipv4.dns-options:                       --
ipv4.dns-priority:                      0
ipv4.ignore-auto-dns:                   no
ipv6.dns:                               --
ipv6.dns-search:                        --
ipv6.dns-options:                       --
ipv6.dns-priority:                      0
ipv6.ignore-auto-dns:                   no
IP4.DNS[1]:                             10.1.1.3
IP4.DNS[2]:                             208.67.222.222
IP4.DNS[3]:                             208.67.220.220
pj@pj-selgbuild:~$ 

Makes no difference if Automatic is on or off!

Automatic should be on.
Any other profiles that became active somehow (+ sudo this time) ?

sudo nmcli connection show --active

Try disconnect network and reconnect.
And run below again:

nmcli connection show dec6ddcf-5777-45d2-96cd-c65fde1d3a5e | grep -i dns

pj@pj-selgbuild:~$ sudo nmcli connection show --active
[sudo] password for pj: 
NAME       UUID                                  TYPE      DEVICE  
Profile 1  dec6ddcf-5777-45d2-96cd-c65fde1d3a5e  ethernet  enp0s25 
pj@pj-selgbuild:~$ nmcli connection show dec6ddcf-5777-45d2-96cd-c65fde1d3a5e | grep -i dns
connection.mdns:                        -1 (default)
ipv4.dns:                               208.67.222.222,208.67.220.220
ipv4.dns-search:                        --
ipv4.dns-options:                       --
ipv4.dns-priority:                      0
ipv4.ignore-auto-dns:                   no
ipv6.dns:                               --
ipv6.dns-search:                        --
ipv6.dns-options:                       --
ipv6.dns-priority:                      0
ipv6.ignore-auto-dns:                   no
IP4.DNS[1]:                             10.1.1.3
IP4.DNS[2]:                             208.67.222.222
IP4.DNS[3]:                             208.67.220.220

Hmm! Makes no sense!

Mabe I need to make a new connection profile!

HOLD on , dont delete yet!

When you run sudo nm-connection-editor, and edit the profile, the first tab called "General" has got a setting called "Automatically connect to this network when available".
Deselect that one so the profile becomes inactive.
That way you can create new profile and review the old profile as a cheat sheet.

Too late!

But it is working now...it seems!

So, am I good to enter the OpenDNS in the pihole settings page now?

Yup.
Make sure to unselect the "Custom 1" Upstream DNS server as well on the same settings page that I believe is now set to your router IP 10.1.1.1:

Darn network manglers :wink:

Perfect....great job as usual....thank you!

2 Likes

Cheers and happy ad hunting!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.