Pihole update: how to retain my dnsmaq settings (dhcp, interaface etc.)

interface=eth0
except-interface=eth1
except-interface=eth4
except-interface=wlan0
-Stop servring DHCP or DNS on any other nic than eth0
bind-interfaces
-Stop servring DHCP or DNS on any other nic than eth0
I have another DNS server running on the same box, so this is to make sure I can start DNS on eth1 etc.

address=/wpad.noads.local/192.168.1.2
address=/wpad/192.168.1.2
-Make sure your machines can find the wpad host (wpad=for auto proxy config): ping wpad=> result 192,168.1.2

dhcp-range=set:red,192.168.1.100,192.168.1.199,255.255.255.0,365d
dhcp-option=tag:red,6,192.168.1.4,192.168.1.2,208.67.222.222,8.8.8.8
dhcp-option=tag:red,option:router,192.168.1.1
-The DHCP scope: range, gateway and option6 dns servers your client should receive. (See the backups in option6 if pihole goes down, your cliets will fallback to )
I needed the tag, but normally you do not need that.

dhcp-option=19,0
dhcp-option=42,0.0.0.0
dhcp-option=44,192.168.1.2
dhcp-option=45,0.0.0.0
dhcp-option=46,8
-WINS and Time server
option 19: Windows clients and Samba.
option 44, 45 46 netbios/WINS

all-servers
-query all DNS upstream servers, so not failover: Use ony if you have the same upstream DNS company

txt-record=wpad,"service:wpad:!http://192.168.1.2:80/wpad.dat?"
srv-host=wpad.tcp.wpad,wpad.wpad,80
srv-host=_wpad._tcp.192.168.1.2,wpad.192.168.1.2,80
dhcp-option=252,"http://192.168.1.2/wpad.dat?"
-Multiple rules to accomplish the same result: where can your clients find wpad.dat
Seems overkill, but this seems to work for all devices (apple, windows)
Offcourse you need to have http server running to serve this file.

Jeroen