Skip to content

Instantly share code, notes, and snippets.

@zoonderkins
Last active July 31, 2018 10:09
Show Gist options
  • Save zoonderkins/76b940c04a9297f18da4ff21bad3dfbc to your computer and use it in GitHub Desktop.
Save zoonderkins/76b940c04a9297f18da4ff21bad3dfbc to your computer and use it in GitHub Desktop.
knot-resolver add trust anchors #dns
// get latest apt
deb http://cz.archive.ubuntu.com/ubuntu cosmic main universe

// install related tools
apt install knot-dnsutil ldnsutils

// cd into knot-resolver dir
cd /etc/knot-resolver

// download root.key
kdig DNSKEY . @k.root-servers.net +noall +answer | grep "DNSKEY[[:space:]]257" > root.keys

// edit kresd.conf

-- Enable DNSSEC validation
trust_anchors.file = '/etc/knot-resolver/root.keys'

Mac stubby client view log

sudo tail -f /usr/local/var/log/stubby/stubby.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment