feat: Add ipv6 support
All checks were successful
Build Docker / Build_Docker (push) Successful in 33s

This commit is contained in:
Nathan Woodburn 2024-10-10 14:58:52 +11:00
parent 7296e5bc45
commit a2c0977c21
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 11 additions and 1 deletions

View File

@ -17,14 +17,17 @@ addAction(AndRule{MaxQPSIPRule(5), TCPRule(false)}, TCAction())
newServer({address="127.0.0.1:5353", name="HSD"}) newServer({address="127.0.0.1:5353", name="HSD"})
addLocal('0.0.0.0:53', {reusePort=true}) addLocal('0.0.0.0:53', {reusePort=true})
addLocal('[::]:53', {reusePort=true})
addDOHLocal("127.0.0.1:8053", nil, nil, {"/", "/dns-query"}, { reusePort=true }) addDOHLocal("127.0.0.1:8053", nil, nil, {"/", "/dns-query"}, { reusePort=true })
addTLSLocal('0.0.0.0', '/etc/letsencrypt/live/hnsdoh.com/fullchain.pem', '/etc/letsencrypt/live/hnsdoh.com/privkey.pem', { reusePort=true }) addTLSLocal('0.0.0.0', '/etc/letsencrypt/live/hnsdoh.com/fullchain.pem', '/etc/letsencrypt/live/hnsdoh.com/privkey.pem', { reusePort=true })
addTLSLocal('[::]', '/etc/letsencrypt/live/hnsdoh.com/fullchain.pem', '/etc/letsencrypt/live/hnsdoh.com/privkey.pem', { reusePort=true })
addACL('0.0.0.0/0') addACL('0.0.0.0/0')
addACL('[::]/0')
map = { newDOHResponseMapEntry("^/$", 307, "https://welcome.hnsdoh.com") } map = { newDOHResponseMapEntry("^/$", 307, "https://welcome.hnsdoh.com") }
dohFE = getDOHFrontend(0) dohFE = getDOHFrontend(0)
dohFE:setResponsesMap(map) dohFE:setResponsesMap(map)
setKey("csl2icaGACsP3+M9tx55c8+dBxVCnlnqAHEC92P55eo=") setKey("csl2icaGACsP3+M9tx55c8+dBxVCnlnqAHEC92P55eo=")
controlSocket('127.0.0.1:5199') controlSocket('127.0.0.1:5199')

View File

@ -318,6 +318,7 @@ document.getElementById('refresh-ping').addEventListener('click', function (even
<th>Provider</th> <th>Provider</th>
<th>Location</th> <th>Location</th>
<th>IPv4</th> <th>IPv4</th>
<th>IPv6</th>
<th>Regions</th> <th>Regions</th>
</tr> </tr>
</thead> </thead>
@ -326,36 +327,42 @@ document.getElementById('refresh-ping').addEventListener('click', function (even
<td><a href="https://nathan.woodburn.au" style="color: rgb(255,255,255);" target="_blank">Nathan.Woodburn/</a></td> <td><a href="https://nathan.woodburn.au" style="color: rgb(255,255,255);" target="_blank">Nathan.Woodburn/</a></td>
<td>Australia</td> <td>Australia</td>
<td>194.50.5.27</td> <td>194.50.5.27</td>
<td>Not available</td>
<td>AU, AP</td> <td>AU, AP</td>
</tr> </tr>
<tr> <tr>
<td><a data-bs-toggle="tooltip" data-bss-tooltip="" href="https://hnscanada.ca/" style="color: rgb(255,255,255);" target="_blank" title="This node is managed by Nathan.Woodburn/">HNS Canada*</a></td> <td><a data-bs-toggle="tooltip" data-bss-tooltip="" href="https://hnscanada.ca/" style="color: rgb(255,255,255);" target="_blank" title="This node is managed by Nathan.Woodburn/">HNS Canada*</a></td>
<td>Canada</td> <td>Canada</td>
<td>139.177.195.185</td> <td>139.177.195.185</td>
<td>2600:3c04::f03c:94ff:fed1:877f</td>
<td>NA</td> <td>NA</td>
</tr> </tr>
<tr> <tr>
<td><a data-bs-toggle="tooltip" data-bss-tooltip="" href="https://ezdomains.io/" style="color: rgb(255,255,255);" target="_blank" title="This node is managed by Nathan.Woodburn/">EZ Domains*</a></td> <td><a data-bs-toggle="tooltip" data-bss-tooltip="" href="https://ezdomains.io/" style="color: rgb(255,255,255);" target="_blank" title="This node is managed by Nathan.Woodburn/">EZ Domains*</a></td>
<td>Netherlands</td> <td>Netherlands</td>
<td>172.233.46.92</td> <td>172.233.46.92</td>
<td>2600:3c0e::f03c:94ff:fed1:9905</td>
<td>EU</td> <td>EU</td>
</tr> </tr>
<tr> <tr>
<td><a data-bs-toggle="tooltip" data-bss-tooltip="" href="https://ezdomains.io/" style="color: rgb(255,255,255);" target="_blank" title="This node is managed by Nathan.Woodburn/">EZ Domains*</a></td> <td><a data-bs-toggle="tooltip" data-bss-tooltip="" href="https://ezdomains.io/" style="color: rgb(255,255,255);" target="_blank" title="This node is managed by Nathan.Woodburn/">EZ Domains*</a></td>
<td>Singapore</td> <td>Singapore</td>
<td>172.105.120.203</td> <td>172.105.120.203</td>
<td>2400:8901::f03c:94ff:fed1:18ee</td>
<td>AS, AP</td> <td>AS, AP</td>
</tr> </tr>
<tr> <tr>
<td><a href="https://easyhns.com" style="color: rgb(255,255,255);" target="_blank">Easy HNS</a></td> <td><a href="https://easyhns.com" style="color: rgb(255,255,255);" target="_blank">Easy HNS</a></td>
<td>England</td> <td>England</td>
<td>18.169.98.42</td> <td>18.169.98.42</td>
<td>Not available</td>
<td>EU</td> <td>EU</td>
</tr> </tr>
<tr> <tr>
<td><a href="about:blank" style="color: rgb(255,255,255);" target="_blank">Zorro</a></td> <td><a href="about:blank" style="color: rgb(255,255,255);" target="_blank">Zorro</a></td>
<td>United States</td> <td>United States</td>
<td>173.233.72.88</td> <td>173.233.72.88</td>
<td>2604:7c00:16:183::1</td>
<td>NA</td> <td>NA</td>
</tr> </tr>
</tbody> </tbody>