hnsdoh-status/templates/index.html

161 lines
7.9 KiB
HTML
Raw Normal View History

2024-09-12 13:51:01 +10:00
<!DOCTYPE html>
<html data-bs-theme="dark" lang="en-au">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>HNS DoH Status</title>
<meta name="twitter:image" content="https://hnsdoh.c.woodburn.au/assets/img/HNS.png">
<meta name="twitter:card" content="summary">
<meta name="twitter:description" content="Access Handshake Domains with DNS over HTTPS">
<meta property="og:title" content="HNS DoH Status">
<meta name="description" content="Access Handshake Domains with DNS over HTTPS">
<meta property="og:type" content="website">
<meta property="og:description" content="Access Handshake Domains with DNS over HTTPS">
<meta name="twitter:title" content="HNS DoH Status">
<meta property="og:image" content="https://hnsdoh.c.woodburn.au/assets/img/HNS.png">
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"name": "HNS DoH Status",
"url": "https://hnsdoh.c.woodburn.au"
}
</script>
<link rel="icon" type="image/png" sizes="670x700" href="assets/img/HNS.png">
<link rel="icon" type="image/png" sizes="670x700" href="assets/img/HNSW.png" media="(prefers-color-scheme: dark)">
<link rel="icon" type="image/png" sizes="670x700" href="assets/img/HNS.png">
<link rel="icon" type="image/png" sizes="670x700" href="assets/img/HNSW.png" media="(prefers-color-scheme: dark)">
<link rel="icon" type="image/png" sizes="670x700" href="assets/img/HNS.png">
<link rel="icon" type="image/png" sizes="670x700" href="assets/img/HNS.png">
<link rel="icon" type="image/png" sizes="670x700" href="assets/img/HNS.png">
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/bs-theme-overrides.css">
<link rel="stylesheet" href="assets/css/Navbar-Right-Links-Dark-icons.css">
<link rel="stylesheet" href="assets/css/Team-images.css">
2024-09-12 15:04:08 +10:00
<link rel="stylesheet" href="assets/css/index.css">
2024-09-12 13:51:01 +10:00
<script async src="https://umami.woodburn.au/script.js"
data-website-id="7e0ed7e4-3858-4124-a574-b57ac05aaad1"></script>
</head>
<body>
<header>
<nav class="navbar navbar-expand-md fixed-top bg-dark py-3" data-bs-theme="dark">
2024-09-12 16:22:35 +10:00
<div class="container-fluid"><a class="navbar-brand d-flex align-items-center" href="https://welcome.hnsdoh.com"><span
2024-09-12 13:51:01 +10:00
class="bs-icon-sm bs-icon-rounded bs-icon-primary d-flex justify-content-center align-items-center me-2 bs-icon"><img
src="assets/img/HNSW.png" width="20px"></span><span>HNS DoH</span></a></div>
</nav>
</header>
2024-09-12 16:22:35 +10:00
<div style="margin: 100px;"></div>
2024-09-12 13:51:01 +10:00
<section id="intro">
<div class="text-center">
2024-09-12 16:22:35 +10:00
<h1 class="text-center" style="font-size: 60px;">HNS DoH Status</h1>
2024-09-12 15:04:08 +10:00
<div class="warnings">
2024-09-12 13:51:01 +10:00
<!-- Check if warnings is empty -->
{% if warnings %}
2024-09-12 16:22:35 +10:00
<div class="alert alert-danger" role="alert">
<h4 class="alert-heading">Warning</h4>
{% for warning in warnings %}
<p>{{ warning }}</p>
{% endfor %}
</div>
2024-09-12 13:51:01 +10:00
{% endif %}
</div>
</div>
</section>
<section id="status"></section>
2024-09-12 16:22:35 +10:00
<div class="text-center" style="width: fit-content;margin: auto;max-width: 100%;">
<span style="font-size: smaller;margin-bottom: 10px;">Last check: {{last_check}}</span>
<div class="spacer"></div>
<div class="node" style="display: block;">
<div>
<h2>Overall Stats</h2>
</div>
<div class="node-info">
<p>Plain DNS: {{history.overall.plain_dns.percentage}}% uptime (last down
{{history.overall.plain_dns.last_down}})</p>
<p>DNS over HTTPS: {{history.overall.doh.percentage}}% uptime (last down
{{history.overall.doh.last_down}})</p>
<p>DNS over TLS: {{history.overall.dot.percentage}}% uptime (last down
{{history.overall.dot.last_down}})</p>
</div>
2024-09-12 13:51:01 +10:00
</div>
2024-09-12 16:22:35 +10:00
<div class="spacer"></div>
{% for node in nodes %}
<div class="node">
<div>
<h2>{{node.location}}</h2>
</div>
<div class="node-info">
<h5>Current Status</h5>
<p>Plain DNS: {{node.plain_dns}}</p>
<p>DNS over HTTPS: {{node.doh}}</p>
<p>DNS over TLS: {{node.dot}}</p>
<p>Certificate: {% if node.cert.valid %} Valid {% else %} Invalid {% endif %} (expires
{{node.cert.expires}})</p>
</div>
<div class="node-info">
<h5>Stats</h5>
<p>Plain DNS: {{history.nodes[node.name].plain_dns.percentage}}% uptime (last down
{{history.nodes[node.name].plain_dns.last_down}})</p>
<p>DNS over HTTPS: {{history.nodes[node.name].doh.percentage}}% uptime (last down
{{history.nodes[node.name].doh.last_down}})</p>
<p>DNS over TLS: {{history.nodes[node.name].dot.percentage}}% uptime (last down
{{history.nodes[node.name].dot.last_down}})</p>
</div>
<div class="node-info">
<p style="font-weight: bold;">{{node.name}}: {{node.ip}}</p>
2024-09-12 16:22:35 +10:00
</div>
</div>
{% endfor %}
</div>
2024-09-12 13:51:01 +10:00
</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">
<h3 class="display-1">Setup</h3>
<ul class="list-group">
<li class="list-group-item">
<div>
<h5 class="display-5">DNS over HTTPS</h5>
<p>DNS over HTTPS is supported by most browsers. To add HNSDoH to your revolvers add this URL to
your Secure DNS setting<br><code>https://hnsdoh.com/dns-query</code></p>
</div>
</li>
<li class="list-group-item">
<div>
<h5 class="display-5">DNS over TLS</h5>
<p>DNS over TLS is the best option for mobile phones. Simply set Private DNS to the
hostname&nbsp;<br><code>hnsdoh.com</code></p>
</div>
</li>
<li class="list-group-item">
<div>
<h5 class="display-5">Plain DNS</h5>
<p>As a last resort you can use any of plain DNS below (best to chose 2 IPs from different
people)<br><br>- 194.50.5.27 (powered by Nathan.Woodburn/)<br>-&nbsp;139.177.195.185 (powered by
HNS Canada)<br>-&nbsp;172.233.46.92 (powered by EZ Domains)<br>-&nbsp;172.105.120.203 (powered
by EZ Domains)<br>-&nbsp;18.169.98.42 (powered by Easy HNS)<br><br>Alternative Providers (Not
running the HNSDoH software configuration)<br><br>- 194.50.5.26 (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>
</li>
</ul>
</section>
<footer class="text-center bg-dark">
<div class="container text-white py-4 py-lg-5">
<p class="text-muted mb-0">Copyright © 2024 HNSDoH</p>
</div>
</footer>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/js/bs-init.js"></script>
</body>
</html>