Localhost Querying Pihole domain?

Above line is necessary for the the localhost name to resolve to IPv4 127.0.0.1.
Dont change that one!

Below how is done for Pi-OS/Debian etc:

1 Like