Add more than two custom upstream DNS servers in GUI

There is no GUI option to set this. Shouldn't be too difficult to add.

If you'd like to review the code and submit a Pull Request we will review it.

Pending implementation of such a feature, you can edit /etc/pihole/setupVars.conf and add as many custom upstream DNS servers as you like.

1 Like

This is a feature of the new web interface, which is not yet released.

2 Likes

Outdated
DNS Settings Page by AzureMarker · Pull Request #115 · pi-hole/web · GitHub

Would you be kind enough to give an example? Is it implemented yet?

variable name?
1/2/1/2 or 1/1/2/2 or 1/2/2/2

PIHOLE_DNS_1=xx.xx.xx.xx
PIHOLE_DNS_2=xy.xx.xx.xx
PIHOLE_DNS_1=xz.xx.xx.xx
PIHOLE_DNS_2=ax.xx.xx.xx

PIHOLE_DNS_1=127.0.0.1#5335
PIHOLE_DNS_2=1.1.1.1#53