Last active
October 4, 2024 16:01
-
-
Save AnyoeDove/b5bef8a7bc7d3baacca313edeb744883 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DNSCrypt DNS stamp | |
echo | openssl s_client -connect '<IP_ADDRESS>:<PORT>' -servername <SERVER_NAME> 2>/dev/null | openssl x509 -outform der | openssl asn1parse -inform der -strparse 4 -noout -out - | openssl dgst -sha256 | |
# Stubby base64 digest | |
echo | openssl s_client -connect '<IP_ADDRESS>:<PORT>' -servername <SERVER_NAME> 2>/dev/null | openssl x509 -pubkey -noout | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64 | |
# AliDNS | |
https://123321.alidns.com/dns-query | |
https://123456.alidns.com/dns-query | |
https://123123.alidns.com/dns-query |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment