Pihole configuration: Difference between revisions
From wikinotes
Line 28: | Line 28: | ||
</source> | </source> | ||
</blockquote><!-- Dynamic --> | </blockquote><!-- Dynamic --> | ||
= Misc = | |||
<blockquote> | |||
== Network Interface == | |||
<blockquote> | |||
<syntaxhighlight lang="dosini"> | |||
# /etc/pihole/setupVars.conf | |||
PIHOLE_INTERFACE=eno2 | |||
</syntaxhighlight> | |||
</blockquote><!-- Network Interface --> | |||
</blockquote><!-- Misc --> |
Latest revision as of 01:38, 19 January 2024
pi-hole's configuration combines dnsmasq with it's own customization layers.
Locations
/etc/dnsmasq.conf
primary dnsmasq configuration /etc/dnsmasq.d/*.conf
alt dnsmasq configurations /etc/dnsmasq.d/01-pihole.conf
pi-hole managed configuration (ex: pihole -a X Y)
Dynamic
# set pihole to use opendns pihole -a setdns 208.67.222.222,208.67.220.220 # update blocked domain list pihole -g # disable/enable pihole pihole disable 5m pihole enable
Misc
Network Interface
# /etc/pihole/setupVars.conf PIHOLE_INTERFACE=eno2