feat: Added new nodes
All checks were successful
Build Docker / Build Docker (push) Successful in 46s

This commit is contained in:
Nathan Woodburn 2024-02-28 23:20:41 +11:00
parent 282d6a30f7
commit 51076c5dc1
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
5 changed files with 9 additions and 74 deletions

View File

@ -19,7 +19,7 @@ setLocal('0.0.0.0:53')
addACL('0.0.0.0/0') addACL('0.0.0.0/0')
--TODO fix this to redirect to welcome page
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)

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -79,7 +79,7 @@
<li class="list-group-item"> <li class="list-group-item">
<div> <div>
<h5 class="display-5">Plain DNS</h5> <h5 class="display-5">Plain DNS</h5>
<p>As a last resort you can use any of plain DNS below<br>- 194.50.5.26 (powered by Nathan.Woodburn/)<br>- 194.50.5.27 (powered by Nathan.Woodburn/)<br>- 194.50.5.28 (powered by Nathan.Woodburn/)<br>-&nbsp;139.144.68.241 (powered by HNS DNS)<br>- 139.144.68.242 (powered by HNS DNS)<br>- 2a01:7e01:e002:c300:: (powered by HNS DNS)<br>- 2a01:7e01:e002:c500:: (powered by HNS DNS)</p> <p>As a last resort you can use any of plain DNS below (best to chose 2 IPs from different people)<br>- 194.50.5.26 (powered by Nathan.Woodburn/)<br>- 194.50.5.27 (powered by Nathan.Woodburn/)<br>- 194.50.5.28 (powered by Nathan.Woodburn/)<br>-&nbsp;139.144.68.241 (powered by HNS DNS)<br>- 139.144.68.242 (powered by HNS DNS)<br>- 2a01:7e01:e002:c300:: (powered by HNS DNS)<br>- 2a01:7e01:e002:c500:: (powered by HNS DNS)</p>
</div> </div>
</li> </li>
</ul> </ul>
@ -154,9 +154,9 @@
<div class="row gx-4 row-cols-2 row-cols-md-4" style="--bs-primary: #ffffff;--bs-primary-rgb: 255,255,255;"> <div class="row gx-4 row-cols-2 row-cols-md-4" style="--bs-primary: #ffffff;--bs-primary-rgb: 255,255,255;">
<div class="col"> <div class="col">
<div class="card border-0 shadow-none"> <div class="card border-0 shadow-none">
<div class="card-body text-center d-flex flex-column align-items-center p-0"><img class="rounded-circle mb-3 fit-cover" width="130" height="130" src="assets/img/people/profile%20-%20small.webp"> <div class="card-body text-center d-flex flex-column align-items-center p-0"><img class="rounded-circle mb-3 fit-cover" width="130" height="130" src="assets/img/people/nathanwoodburn.webp">
<h5 class="fw-bold text-primary card-title mb-0"><strong>Nathan.Woodburn/</strong></h5> <h5 class="fw-bold text-primary card-title mb-0"><strong>Nathan.Woodburn/</strong></h5>
<p class="text-muted card-text mb-2">Australia</p><a class="btn btn-primary" role="button" target="_blank" href="https://nathan.woodburn.au"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none"> <p class="text-muted card-text mb-2">Australia<br>Canada</p><a class="btn btn-primary" role="button" target="_blank" href="https://nathan.woodburn.au"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none">
<path fill-rule="evenodd" clip-rule="evenodd" d="M14 7C13.4477 7 13 7.44772 13 8V16C13 16.5523 13.4477 17 14 17H18C18.5523 17 19 16.5523 19 16V8C19 7.44772 18.5523 7 18 7H14ZM17 9H15V15H17V9Z" fill="currentColor"></path> <path fill-rule="evenodd" clip-rule="evenodd" d="M14 7C13.4477 7 13 7.44772 13 8V16C13 16.5523 13.4477 17 14 17H18C18.5523 17 19 16.5523 19 16V8C19 7.44772 18.5523 7 18 7H14ZM17 9H15V15H17V9Z" fill="currentColor"></path>
<path d="M6 7C5.44772 7 5 7.44772 5 8C5 8.55228 5.44772 9 6 9H10C10.5523 9 11 8.55228 11 8C11 7.44772 10.5523 7 10 7H6Z" fill="currentColor"></path> <path d="M6 7C5.44772 7 5 7.44772 5 8C5 8.55228 5.44772 9 6 9H10C10.5523 9 11 8.55228 11 8C11 7.44772 10.5523 7 10 7H6Z" fill="currentColor"></path>
<path d="M6 11C5.44772 11 5 11.4477 5 12C5 12.5523 5.44772 13 6 13H10C10.5523 13 11 12.5523 11 12C11 11.4477 10.5523 11 10 11H6Z" fill="currentColor"></path> <path d="M6 11C5.44772 11 5 11.4477 5 12C5 12.5523 5.44772 13 6 13H10C10.5523 13 11 12.5523 11 12C11 11.4477 10.5523 11 10 11H6Z" fill="currentColor"></path>
@ -168,9 +168,9 @@
</div> </div>
<div class="col"> <div class="col">
<div class="card border-0 shadow-none"> <div class="card border-0 shadow-none">
<div class="card-body text-center d-flex flex-column align-items-center p-0"><img class="rounded-circle mb-3 fit-cover" width="130" height="130" src="https://cdn.bootstrapstudio.io/placeholders/1400x800.png"> <div class="card-body text-center d-flex flex-column align-items-center p-0"><img class="mb-3 fit-cover" src="assets/img/people/ezdomains.png" height="130">
<h5 class="fw-bold text-primary card-title mb-0"><strong>Join to support</strong></h5> <h5 class="fw-bold text-primary card-title mb-0">EZ Domains</h5>
<p class="text-muted card-text mb-2">Location</p><a class="btn btn-primary disabled" role="button" href="/#" target="_blank"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none"> <p class="text-muted card-text mb-2">Netherlands<br>Singapore</p><a class="btn btn-primary" role="button" href="https://ezdomains.io/" target="_blank"><svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none">
<path fill-rule="evenodd" clip-rule="evenodd" d="M14 7C13.4477 7 13 7.44772 13 8V16C13 16.5523 13.4477 17 14 17H18C18.5523 17 19 16.5523 19 16V8C19 7.44772 18.5523 7 18 7H14ZM17 9H15V15H17V9Z" fill="currentColor"></path> <path fill-rule="evenodd" clip-rule="evenodd" d="M14 7C13.4477 7 13 7.44772 13 8V16C13 16.5523 13.4477 17 14 17H18C18.5523 17 19 16.5523 19 16V8C19 7.44772 18.5523 7 18 7H14ZM17 9H15V15H17V9Z" fill="currentColor"></path>
<path d="M6 7C5.44772 7 5 7.44772 5 8C5 8.55228 5.44772 9 6 9H10C10.5523 9 11 8.55228 11 8C11 7.44772 10.5523 7 10 7H6Z" fill="currentColor"></path> <path d="M6 7C5.44772 7 5 7.44772 5 8C5 8.55228 5.44772 9 6 9H10C10.5523 9 11 8.55228 11 8C11 7.44772 10.5523 7 10 7H6Z" fill="currentColor"></path>
<path d="M6 11C5.44772 11 5 11.4477 5 12C5 12.5523 5.44772 13 6 13H10C10.5523 13 11 12.5523 11 12C11 11.4477 10.5523 11 10 11H6Z" fill="currentColor"></path> <path d="M6 11C5.44772 11 5 11.4477 5 12C5 12.5523 5.44772 13 6 13H10C10.5523 13 11 12.5523 11 12C11 11.4477 10.5523 11 10 11H6Z" fill="currentColor"></path>
@ -264,8 +264,8 @@
</div> </div>
</section> </section>
<footer class="text-center bg-dark"> <footer class="text-center bg-dark">
<div class="container text-white py-4 py-lg-5"><a href="https://status.hnsdoh.com" target="_blank">Status Page</a> <div class="container text-white py-4 py-lg-5"><a href="https://status.hnsdoh.com" target="_blank" style="margin-right: 10px;">Status Page</a><a href="https://uptime.woodburn.au/status/hnsdoh" target="_blank">Node Status</a>
<p class="text-muted mb-0">Copyright © 2023 HNS DoH</p><!-- Matomo Image Tracker--> <p class="text-muted mb-0">Copyright © 2024 HNSDoH</p><!-- Matomo Image Tracker-->
<img referrerpolicy="no-referrer-when-downgrade" src="https://analytics.woodburn.au/matomo.php?idsite=11&amp;rec=1" style="border:0" alt="" /> <img referrerpolicy="no-referrer-when-downgrade" src="https://analytics.woodburn.au/matomo.php?idsite=11&amp;rec=1" style="border:0" alt="" />
<!-- End Matomo --> <!-- End Matomo -->
</div> </div>

View File

@ -1,73 +1,8 @@
server {
listen 8001 default_server;
server_name _;
access_log off;
location / {
proxy_ssl_server_name on;
proxy_set_header Host doh.hnshosting.au;
proxy_pass https://doh.hnshosting.au;
add_header X-DoH-Server "Nathan.Woodburn/";
}
}
server {
listen 8002 default_server;
server_name _;
access_log off;
location / {
proxy_ssl_server_name on;
proxy_set_header Host easyhandshake.com;
proxy_pass https://easyhandshake.com:8053;
add_header X-DoH-Server "EasyHandshake.com";
}
}
server {
listen 8003 default_server;
server_name _;
access_log off;
location / {
proxy_ssl_server_name on;
proxy_set_header Host doh.hnsdns.com;
proxy_pass https://doh.hnsdns.com;
add_header X-DoH-Server "HNSDNS.com";
}
}
server {
listen 8004 default_server;
server_name _;
access_log off;
location / {
proxy_ssl_server_name on;
proxy_set_header Host hnsns.net;
proxy_pass https://hnsns.net;
add_header X-DoH-Server "HNSNS.net";
}
}
# Load balancing each node will be timed out for 10 minutes if it fails
upstream main {
server 127.0.0.1:8001 max_fails=1 fail_timeout=10m;
# Disabled for now because it doesn't support HIP5
# server 127.0.0.1:8002 max_fails=1 fail_timeout=10m;
server 127.0.0.1:8003 max_fails=1 fail_timeout=10m;
server 127.0.0.1:8004 max_fails=1 fail_timeout=10m;
}
server { server {
listen 80; listen 80;
server_name _; server_name _;
access_log off; access_log off;
# For /dns-query requests, we will use the upstream defined above
location /dns-query {
proxy_pass http://main;
}
# All other requests will be redirected to a static page
location / { location / {
root /var/www/html; root /var/www/html;
index index.html; index index.html;