DNS Server on alternate port


#1

I’ve been running Pi-hole for a while now. I use it in combination with the dnscrypt-proxy (on the same rpi3) to keep my outbound DNS lookups secure. dnscrypt-proxy runs on 127.0.0.1:53535. Unfortunately, Pi-hole doesn’t let me specify this alternate port. The net result of this is that I have to select something from the DNS list (I choose OpenDNS), which updates the setupVars.conf file, which in turn causes these two lines to be added to 01-pihole.conf every time an upgrade comes out:

server=208.67.222.222
server=208.67.220.220

I have my own dnsmasq.conf file in play that specifies “server=127.0.0.1:53535”. So, after every upgrade I have to comment out the two lines autogenerated into 01-pihole.conf. It’d be awesome if I could just specify the alternate port in the GUI, or, at the very least, in setupVars.conf.

Thanks!


#2

maybe selecting none in the gui is valid for generating 01-pihole.conf. never tried.


#3

I tried, sadly. It forces you to pick something. If you unset the value in setupVars.conf it doesn’t like that either.


#4

Implemented in v4.0