mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-07 08:31:02 +08:00
Disable DNS-backed key-value store
I'm disabling the key-value store because no one was using it. There are other reasons, too: - The removal of the `etcd` library dropped the executable size by over half from 17MB to 7MB - I didn't want users who've deployed it internally to be "surprised" by unexpected key-value features - Key-value-over-DNS has a seamy side to it: "data exfiltration". I know there are legitimate uses for it, but I've come to believe that a Key-value-over-HTTP solution is preferable because it's not only more legitimate but also because it eliminates the DNS caching problem.
This commit is contained in:
@@ -60,18 +60,7 @@ dig @$DNS_SERVER_IP txt ip.sslip.io +short | tr -d '"'
|
||||
echo 127.0.0.1
|
||||
dig @$DNS_SERVER_IP txt version.status.sslip.io +short | grep $VERSION
|
||||
echo "\"$VERSION\""
|
||||
dig @$DNS_SERVER_IP my-key.k-v.io txt +short # returns nothing
|
||||
echo " ===" # separator because the results are too similar
|
||||
dig @$DNS_SERVER_IP put.MyValue.my-key.k-v.io txt +short
|
||||
echo "\"MyValue\""
|
||||
echo " ===" # separator because the results are too similar
|
||||
dig @$DNS_SERVER_IP MY-KEY.k-v.io txt +short
|
||||
echo "\"MyValue\""
|
||||
echo " ===" # separator because the results are too similar
|
||||
dig @$DNS_SERVER_IP delete.my-key.k-v.io txt +short
|
||||
echo
|
||||
echo " ===" # separator because the results are too similar
|
||||
dig @$DNS_SERVER_IP my-key.k-v.io txt +short # returns nothing
|
||||
dig @$DNS_SERVER_IP 1.0.0.127.in-addr.arpa ptr +short
|
||||
echo "127-0-0-1.sslip.io."
|
||||
dig @$DNS_SERVER_IP metrics.status.sslip.io txt +short | grep '"Queries: '
|
||||
|
Reference in New Issue
Block a user