Until now I’ve been adding all my sub-sub domains manually in my home lab in the PiHole GUI.. There must be a better way.. And there is!
- In your PiHole Instance go to
/etc/dmasq.d/
- Create a new file.
02-wildcards.conf
- Add this line to the file:
address=/.subdomain.domain.tld/192.168.1.2
- Save the file and run the command
service pihole-FTL restart