Artificial truth

The more you see, the less you believe.

[archives] [latest] | [homepage] | [atom/rss/twitter]

Deploying dnssec with bind 9.8.0
Fri 01 March 2013 — download

Good news : BIND is now able to automagically manage your keys! No more hackish cron stuffs, no mode need to use dnssec-tools.

Quick walkthrough

Keys generation

cd /etc/bind/
dnssec-keygen -f KSK -a RSASHA256 -b 2048

Edit your configuration

vim /etc/bind/named.conf
options {
    dnssec-enable yes;
    dnssec-validation auto;
    dnssec-lookaside auto;
zone ""{
    type master;
    file "/etc/bind/";
    key-directory "/etc/bind/";
    notify yes;
    update-policy local;
    auto-dnssec maintain;


That's it, you've deployed DNSSEC, and BIND will manage your keys for you. You can now push (here if you're (like me) at OVH.) your key to your registrar to get it signed, and check that everything is fine here.