feat: Update EasyHNS IPv6 address
All checks were successful
Build Docker / Build_Docker (push) Successful in 38s
All checks were successful
Build Docker / Build_Docker (push) Successful in 38s
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
<h1 style="margin-top: 50px;">Reliability is our key focus</h1>
|
||||
<p>By using a diverse group of upstream providers, we minimise downtime. Multiple of our DNS providers can go down without any downtime to our users.<br>Check out our uptime compared to our upstream DNS providers</p><a class="btn btn-primary" role="button" target="_blank" href="https://status.hnsdoh.com">Status Page</a>
|
||||
<h1 style="margin-top: 50px;">Support HNSDoH</h1>
|
||||
<p>HNS DoH is a community-driven project.<br>If you’d like to help keep the service running and growing, consider supporting us:<br>
|
||||
<p>HNS DoH is a community-driven project.<br>If you'd like to help keep the service running and growing, consider supporting us:<br>
|
||||
<div class="btn-group-vertical btn-group-sm gap-1" role="group"><a class="btn btn-primary" role="button" target="_blank" href="https://paypal.me/nathanwoodburn">PayPal</a><a class="btn btn-primary" role="button" target="_blank" href="https://donate.stripe.com/8wM6pv0VD08Xe408ww">Card (via Stripe)</a><a class="btn btn-primary" role="button" target="_blank" href="https://nathan.woodburn.au/donate?c=hns">HNS</a><a class="btn btn-primary" role="button" target="_blank" href="https://nathan.woodburn.au/donate?c=btc">BTC</a><a class="btn btn-primary" role="button" target="_blank" href="https://nathan.woodburn.au/donate">Other Donation Options</a></div>
|
||||
</p>
|
||||
</div>
|
||||
@@ -402,7 +402,7 @@ document.getElementById('refresh-ping').addEventListener('click', function (even
|
||||
<td><a href="https://easyhns.com" style="color: rgb(255,255,255);" target="_blank">Easy HNS</a></td>
|
||||
<td>England</td>
|
||||
<td>51.24.7.1</td>
|
||||
<td>2a05:d01c:b4a:2900:a47b:4665:c52f:fc6c</td>
|
||||
<td>2a05:d01c:b4a:2900:945c:1a85:e537:cf80</td>
|
||||
<td>EU</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
38
testv6.sh
Executable file
38
testv6.sh
Executable file
@@ -0,0 +1,38 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Check if script has ip address as argument
|
||||
if [ -z "$1" ]; then
|
||||
# Get Node IPs
|
||||
RESOLVED_IPS=$(dig +short hnsdoh.com AAAA)
|
||||
NODE_IPS=($RESOLVED_IPS)
|
||||
if [ ${#NODE_IPS[@]} -eq 0 ]; then
|
||||
echo "No IP addresses resolved for hnsdoh.com. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# If script has ip address as argument, use that
|
||||
if [ -n "$1" ]; then
|
||||
# Add all arguments to NODE_IPS array
|
||||
NODE_IPS=("$@")
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Define the domain and host for kdig commands
|
||||
TLS_HOST="hnsdoh.com"
|
||||
DOH_URL="https://hnsdoh.com/dns-query"
|
||||
|
||||
# Loop over each IP and run the kdig commands
|
||||
for NODE_IP in "${NODE_IPS[@]}"
|
||||
do
|
||||
echo "Running kdig commands for NODE_IP=$NODE_IP"
|
||||
|
||||
# Run the kdig commands
|
||||
kdig +tls +tls-host=$TLS_HOST @$NODE_IP dot.wdbrn TXT +short
|
||||
kdig +tls-ca +https=@$DOH_URL @$NODE_IP doh.wdbrn TXT +short
|
||||
kdig @$NODE_IP plain.wdbrn TXT +short
|
||||
|
||||
echo "Completed kdig commands for NODE_IP=$NODE_IP"
|
||||
echo "--------------------------------------------"
|
||||
done
|
||||
Reference in New Issue
Block a user