Last active
November 2, 2025 16:35
-
-
Save mpalourdio/df62d48c0d79e75adc2befa7e309ca9b to your computer and use it in GitHub Desktop.
Making your Pi-hole host __NOT__ use Pi-hole - Rapbian / Debian (trixie)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/NetworkManager/NetworkManager.conf | |
| # Making your Pi-hole host __NOT__ use Pi-hole | |
| # See https://docs.pi-hole.net/main/post-install/#making-your-pi-hole-host-use-pi-hole | |
| # => Disclaimer: it's a bad idea : If your Pi-hole host is using Pi-hole as upstream DNS server and Pi-hole fails, your host | |
| # loses DNS resolution. This can prevent successful repair attempts, | |
| # e.g. by pihole -r as it needs a working internet connection. | |
| # Apply the configuration below | |
| [main] | |
| plugins=ifupdown,keyfile | |
| # the following line prevents NetWorkManager to update resolv.conf | |
| # then "sudo service NetworkManager restart" or reboot | |
| dns=none | |
| [ifupdown] | |
| managed=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment