Pi-Hole - Change IP Address

Change the IP Address in /etc/pihole/setupVars.conf.

Also Change the IP Address in /etc/dhcpcd.conf.


Another Method

pihole -r

NOTE: This will ask if the currently assigned IP address is the one Pi-Hole should use.

  • Answer yes and continue the steps until the end.

WARNING: Also check the /etc/dhcpcd.conf file.

  • The pihole -r also adds a second entry to /etc/dhcpcd.conf file with the same adapter name.
    • This will cause problems with internet access.
    • Therefore, remove the old entries.