-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
pihole-dot-doh.xml
62 lines (62 loc) · 5.08 KB
/
pihole-dot-doh.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0"?>
<Container version="2">
<Name>Pihole-DoT-DoH</Name>
<Repository>devzwf/pihole-dot-doh:latest</Repository>
<Registry>https://hub.docker.com/r/devzwf/pihole-dot-doh</Registry>
<Network>br0</Network>
<MyIP></MyIP>
<Shell>bash</Shell>
<Privileged>false</Privileged>
<Support>https://forums.unraid.net/topic/132037-support-devzwf-pihole-dotdoh/</Support>
<Project>https://docs.pi-hole.net/guides/dns-over-https/</Project>
<Overview>
Pi-Hole - let's block those pesky ads! Now with DNS-over-HTTPS and DNS-over-TLS! pihole.doh!
Don't send your DNS queries in plain text.

YOU MUST ASSIGN A STATIC IP TO THE DOCKER FOR PIHOLE TO WORK.

You must set both DNS1 and DNS2 variables to 127.1.1.1#5153 (DoH) and/or 127.2.2.2#5253 (DoT). To use just DoH or just DoT, set both DNS1 and DNS2 to the same value.

Otherwise, same instructions as official Pi-Hole.

NOTE 1: Port 53 can only be used with custom br0/br1 network and a static IP address.

NOTE 2: DNS lookup rarely ever works with ports other than 53 i.e. see note above about static IP.

NOTE 3: UnRaid network settings DNS server cannot point to a docker IP.

NOTE 4: This should be drop-in replacement for the now deprecated FLIPPINTURT Template.
</Overview>
<Category>Security: Other: Network:DNS Status:Stable</Category>
<WebUI>http://[IP]:[PORT:80]/admin</WebUI>
<TemplateURL>https://github.com/devzwf/unraid-docker-templates/blob/main/pihole-dot-doh.xml</TemplateURL>
<Icon>https://raw.githubusercontent.com/devzwf/unraid-docker-templates/main/images/pihole-logo-bw.png</Icon>
<ExtraParams>--cap-add=NET_ADMIN --restart=unless-stopped --hostname ns</ExtraParams>
<PostArgs/>
<CPUset/>
<DateInstalled>1670387701</DateInstalled>
<DonateText>Don't donate to me! Instead, please donate the creators of the apps, but if you insist </DonateText>
<DonateLink>https://ko-fi.com/devzwf</DonateLink>
<Requires/>
<Config Name="DNS Port TCP" Target="53" Default="53" Mode="tcp" Description="" Type="Port" Display="always" Required="true" Mask="false">53</Config>
<Config Name="DNS Port UDP" Target="53" Default="53" Mode="udp" Description="" Type="Port" Display="always" Required="true" Mask="false">53</Config>
<Config Name="DHCP Port" Target="67" Default="67" Mode="udp" Description="" Type="Port" Display="always" Required="true" Mask="false">67</Config>
<Config Name="HTTP Port" Target="80" Default="80" Mode="tcp" Description="" Type="Port" Display="always" Required="true" Mask="false">80</Config>
<Config Name="HTTPS Port" Target="443" Default="443" Mode="tcp" Description="" Type="Port" Display="always" Required="true" Mask="false">443</Config>
<Config Name="pihole config" Target="/etc/pihole/" Default="/mnt/user/appdata/pihole-dot-doh/pihole/" Mode="rw,slave" Description="" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/pihole-dot-doh/pihole/</Config>
<Config Name="dnsmasq config" Target="/etc/dnsmasq.d/" Default="/mnt/user/appdata/pihole-dot-doh/dnsmasq.d/" Mode="rw,slave" Description="" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/pihole-dot-doh/dnsmasq.d/</Config>
<Config Name="DoT DoH config" Target="/config/" Default="/mnt/user/appdata/pihole-dot-doh/config/" Mode="rw,slave" Description="" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/pihole-dot-doh/config/</Config>
<Config Name="DNS 1" Target="DNS1" Default="127.1.1.1#5153" Mode="" Description="" Type="Variable" Display="always" Required="true" Mask="false">127.1.1.1#5153</Config>
<Config Name="DNS 2" Target="DNS2" Default="127.2.2.2#5253" Mode="" Description="" Type="Variable" Display="always" Required="true" Mask="false">127.2.2.2#5253</Config>
<Config Name="TimeZone" Target="TZ" Default="Europe/London" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false">America/Toronto</Config>
<Config Name="Web Password" Target="WEBPASSWORD" Default="password" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false"></Config>
<Config Name="Network Interface" Target="INTERFACE" Default="eth0" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false">eth0</Config>
<Config Name="IPv4" Target="ServerIP" Default="" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false"></Config>
<Config Name="IPv6" Target="ServerIPv6" Default="" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false"/>
<Config Name="Enable IPv6" Target="IPv6" Default="False" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false">False</Config>
<Config Name="DNSMASQ Listening" Target="DNSMASQ_LISTENING" Default="all" Mode="" Description="" Type="Variable" Display="always" Required="false" Mask="false">all</Config>
<Changes>### 2022.12.22
- populate the following path (pihole config, dnsmasq config, DoT DoH config)
### 2022.12.06
- Initial Release</Changes>
</Container>