Reference Manual

Refresh Back


PiHole is a configurable DNS Resolver that runs on an external machine (typically a Raspberry Pi). It is quite similar in functionality to NAT32's dnsrd, although its various block lists are not as easily configurable.

NAT32 supports several variables that allow scripts to modify PiHole settings and to interrogate its behaviour:

phpwd   # The PiHole password
phauth  # The PiHole authorization string
phips   # The PiHole IP address string

The following commands can be added to your user.txt file to initialize the above variables:

set phips   # PiHole IP address
set phpwd password          # PiHole password
sha256x $phpwd 2            # PiHole auth

The authorisation string is computed from the configured password by the sha256x command.

To use PiHole as the NAT32 name server, simply set the DNS Server 1 value in the Interface Configuration dialog box for your Internet-connected interface to the IP address of your PiHole machine ( in the above example). All computers that resolve names via NAT32 will then also use the PiHole. DNS queries are processed first by NAT32 so that NAT32's filter and block lists are honored. All unresolved names are passed to PiHole for resolution.

Turn PiHole ON  PiHole ON Turn PiHole OFF  PiHole OFF

DNS Resolver Back