feat: Add providers to index page
All checks were successful
Build Docker / Build Docker (push) Successful in 23s
All checks were successful
Build Docker / Build Docker (push) Successful in 23s
This commit is contained in:
parent
6ba2cd3894
commit
95fd1044ac
14
README.md
14
README.md
@ -18,13 +18,13 @@ Then setup your favourite reverse proxy to the container on port 80
|
|||||||
|
|
||||||
## Nodes
|
## Nodes
|
||||||
Load balancing to the following DNS-over-HTTPS providers:
|
Load balancing to the following DNS-over-HTTPS providers:
|
||||||
| Provider | URL | DoH JSON | DoH Wire | DoT | DNS |
|
| Provider | URL | DoH JSON | DoH Wire | DoT | DNS | HIP05 |
|
||||||
| ---------------- | ---------------------------------------- | -------- | -------- | --- | --- |
|
| ---------------- | ---------------------------------------- | -------- | -------- | --- | --- | ---- |
|
||||||
| Nathan.Woodburn/ | https://doh.hnshosting.au/dns-query | Yes | Yes | Yes | Yes |
|
| Nathan.Woodburn/ | https://doh.hnshosting.au/dns-query | Yes | Yes | Yes | Yes | No |
|
||||||
| EasyHandshake | https://easyhandshake.com:8053/dns-query | Yes | Yes | No | No |
|
| EasyHandshake | https://easyhandshake.com:8053/dns-query | Yes | Yes | No | No | No |
|
||||||
| HNS DNS | https://doh.hnsdns.com/dns-query | Yes | Yes | No | Yes |
|
| HNS DNS | https://doh.hnsdns.com/dns-query | Yes | Yes | No | Yes | Yes |
|
||||||
| HNS NS | https://hnsns.net/dns-query | Yes | Yes | No | No |
|
| HNS NS | https://hnsns.net/dns-query | Yes | Yes | No | No | Yes |
|
||||||
| Impervious | https://hs.dnssec.dev/dns-query | No | Yes | Yes | No |
|
| Impervious | https://hs.dnssec.dev/dns-query | No | Yes | Yes | No | Yes |
|
||||||
|
|
||||||
|
|
||||||
- https://doh.hnshosting.au/dns-query
|
- https://doh.hnshosting.au/dns-query
|
||||||
|
7
content/assets/js/bs-init.js
Normal file
7
content/assets/js/bs-init.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
|
|
||||||
|
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bss-tooltip]'));
|
||||||
|
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
|
||||||
|
return new bootstrap.Tooltip(tooltipTriggerEl);
|
||||||
|
})
|
||||||
|
}, false);
|
@ -57,17 +57,17 @@
|
|||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<section id="intro" style="margin: 100px;margin-top: 20vh;">
|
<section id="intro" style="margin: 100px;margin-top: 20vh;">
|
||||||
<div>
|
<div class="text-center">
|
||||||
<h1 class="text-center" style="margin-bottom: 50px;">HNS DoH</h1>
|
<h1 class="text-center" style="margin-bottom: 50px;">HNS DoH</h1>
|
||||||
<h2 class="text-center" style="margin-bottom: 50px;">Welcome to HNS DoH, your gateway to Handshake domains.</h2>
|
<h2 class="text-center" style="margin-bottom: 50px;">Welcome to HNS DoH, your gateway to Handshake domains.</h2>
|
||||||
<p>Introducing our cutting-edge DNS over HTTPS (DoH) service, a revolutionary approach to secure and efficient internet communication. In a digital landscape where privacy and reliability are paramount, our service stands out by integrating multiple upstream providers, guaranteeing high availability.<br>By strategically harnessing the strengths of diverse DNS providers, we ensure that your online activities remain both private and swift. Say hello to a new era of accessing Handshake domains.</p>
|
<p>Introducing our cutting-edge DNS over HTTPS (DoH) service, a revolutionary approach to secure and efficient internet communication. In a digital landscape where privacy and reliability are paramount, our service stands out by integrating multiple upstream providers, guaranteeing high availability.<br>By strategically harnessing the strengths of diverse DNS providers, we ensure that your online activities remain both private and swift. Say hello to a new era of accessing Handshake domains.</p>
|
||||||
<h1 style="margin-top: 50px;">Upstream DNS provided by</h1>
|
<h1 style="margin-top: 50px;">Upstream DNS provided by</h1>
|
||||||
<ul class="list-group">
|
<ul class="list-group text-start">
|
||||||
<li class="list-group-item"><span>Nathan.Woodburn/</span></li>
|
<li class="list-group-item"><span>Nathan.Woodburn/</span></li>
|
||||||
<li class="list-group-item"><span>EasyHandshake</span></li>
|
<li class="list-group-item"><span>EasyHandshake</span></li>
|
||||||
<li class="list-group-item"><span>HNS DNS</span></li>
|
<li class="list-group-item"><span>HNS DNS</span></li>
|
||||||
<li class="list-group-item"><span>HNS NS</span></li>
|
<li class="list-group-item"><span>HNS NS</span></li>
|
||||||
</ul>
|
</ul><a class="btn btn-primary" role="button" href="#providers" style="margin-top: 50px;">More Info</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section id="setup" style="min-height: 400px;padding-top: 10vh;text-align: center;margin-right: 10%;margin-left: 10%;" data-bs-target="#navcol-5" data-bs-smooth-scroll="true">
|
<section id="setup" style="min-height: 400px;padding-top: 10vh;text-align: center;margin-right: 10%;margin-left: 10%;" data-bs-target="#navcol-5" data-bs-smooth-scroll="true">
|
||||||
@ -178,6 +178,57 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<section id="providers" style="margin-top: 10vh;margin-right: 10%;margin-left: 10%;">
|
||||||
|
<div style="text-align: center;">
|
||||||
|
<h1>Providers</h1>
|
||||||
|
<h3 style="margin-bottom: 5vh;">Upstream DNS Providers</h3>
|
||||||
|
<div>
|
||||||
|
<div class="table-responsive">
|
||||||
|
<table class="table table-striped">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Provider</th>
|
||||||
|
<th>DNS over HTTPS</th>
|
||||||
|
<th>DNS over TLS</th>
|
||||||
|
<th>Standard DNS</th>
|
||||||
|
<th data-bs-toggle="tooltip" data-bss-tooltip="" title="Resolve crosschain domains">HIP05</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>Nathan.Woodburn/</td>
|
||||||
|
<td>Yes</td>
|
||||||
|
<td>Yes</td>
|
||||||
|
<td>Yes</td>
|
||||||
|
<td title="Resolve crosschain domains">No</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>EasyHandshake</td>
|
||||||
|
<td>Yes</td>
|
||||||
|
<td>No</td>
|
||||||
|
<td>No</td>
|
||||||
|
<td title="Resolve crosschain domains">No</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>HNS DNS</td>
|
||||||
|
<td>Yes</td>
|
||||||
|
<td>No</td>
|
||||||
|
<td>Yes</td>
|
||||||
|
<td title="Resolve crosschain domains">Yes</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>HNS NS</td>
|
||||||
|
<td>Yes</td>
|
||||||
|
<td>No</td>
|
||||||
|
<td>No</td>
|
||||||
|
<td title="Resolve crosschain domains">Yes</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
<footer class="text-center bg-dark">
|
<footer class="text-center bg-dark">
|
||||||
<div class="container text-white py-4 py-lg-5">
|
<div class="container text-white py-4 py-lg-5">
|
||||||
<p class="text-muted mb-0">Copyright © 2023 HNS DoH</p><!-- Matomo Image Tracker-->
|
<p class="text-muted mb-0">Copyright © 2023 HNS DoH</p><!-- Matomo Image Tracker-->
|
||||||
@ -186,6 +237,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
|
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
|
||||||
|
<script src="assets/js/bs-init.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
12
upstream.sh
12
upstream.sh
@ -14,9 +14,9 @@ HTTPDOMAIN="nathan.woodburn"
|
|||||||
|
|
||||||
# Test DNS over HTTPS via GET request
|
# Test DNS over HTTPS via GET request
|
||||||
GetStandard=$(curl --silent -H 'accept: application/dns-json' 'https://'$SERVER'/dns-query?name='$TXTDOMAIN'&type=TXT')
|
GetStandard=$(curl --silent -H 'accept: application/dns-json' 'https://'$SERVER'/dns-query?name='$TXTDOMAIN'&type=TXT')
|
||||||
# Verify that the response is not empty and has an answer of TXT with content "Test"
|
# Verify that the response is not empty and has an answer of TXT with content "DNS SUCCESS"
|
||||||
test=$(jq -e '.Answer[] | select(.type == 16)' <<< $GetStandard)
|
test=$(jq -e '.Answer[] | select(.type == 16)' <<< $GetStandard)
|
||||||
if [ $test ]; then
|
if [[ $test == *"DNS SUCCESS"* ]]; then
|
||||||
echo "DNS over HTTPS GET plain request test passed with content:"
|
echo "DNS over HTTPS GET plain request test passed with content:"
|
||||||
echo $test | jq .
|
echo $test | jq .
|
||||||
else
|
else
|
||||||
@ -38,8 +38,8 @@ fi
|
|||||||
IP=$(dig +short $SERVER)
|
IP=$(dig +short $SERVER)
|
||||||
# Test using kdig
|
# Test using kdig
|
||||||
kdigtest=$(kdig +tls-ca +tls-host=$SERVER $TXTDOMAIN @$IP TXT)
|
kdigtest=$(kdig +tls-ca +tls-host=$SERVER $TXTDOMAIN @$IP TXT)
|
||||||
# Verify that the response is not empty and has text "Test"
|
# Verify that the response is not empty and has text "DNS SUCCESS"
|
||||||
if [[ $kdigtest == *"Test"* ]]; then
|
if [[ $kdigtest == *"DNS SUCCESS"* ]]; then
|
||||||
echo "DNS over TLS kdig test passed"
|
echo "DNS over TLS kdig test passed"
|
||||||
else
|
else
|
||||||
echo "DNS over TLS kdig test failed"
|
echo "DNS over TLS kdig test failed"
|
||||||
@ -48,8 +48,8 @@ fi
|
|||||||
# Plain DNS
|
# Plain DNS
|
||||||
# Test using dig
|
# Test using dig
|
||||||
digtest=$(dig $TXTDOMAIN @$SERVER TXT)
|
digtest=$(dig $TXTDOMAIN @$SERVER TXT)
|
||||||
# Verify that the response is not empty and has text "Test"
|
# Verify that the response is not empty and has text "DNS SUCCESS"
|
||||||
if [[ $digtest == *"Test"* ]]; then
|
if [[ $digtest == *"DNS SUCCESS"* ]]; then
|
||||||
echo "Plain DNS dig test passed"
|
echo "Plain DNS dig test passed"
|
||||||
else
|
else
|
||||||
echo "Plain DNS dig test failed"
|
echo "Plain DNS dig test failed"
|
||||||
|
Loading…
Reference in New Issue
Block a user