Skip to content

Instantly share code, notes, and snippets.

@unixfox
Created October 9, 2022 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unixfox/d6142df82f1e0e5a6fe361d2ff2c0ba3 to your computer and use it in GitHub Desktop.
Save unixfox/d6142df82f1e0e5a6fe361d2ff2c0ba3 to your computer and use it in GitHub Desktop.
dnscrypt-proxy get sdns

dnscrypt-proxy -list-all -json -config /etc/dnscrypt-proxy/dnscrypt-proxy.toml

const fs = require('fs');
const list = JSON.parse(fs.readFileSync('list.json'));
const goodList = `scaleway-ams-ipv6`
list.forEach((element) => {
if (goodList.includes(element.name)) {
console.log(element.stamp);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment