Levent Ozturk
Enter
DNSSEC

Main configuration file:/etc/bind/named.conf.options

Zone names file:/etc/bind/named.conf.local

Default zone file location:/var/cache/bind/

 

vi /etc/bind/named.conf.options =>

dnssec-enable yes;

dnssec-validation yes;

dnssec-lookaside auto;

 

cd /etc/bind/zones

dnssec-keygen -a NSEC3RSASHA1 -b 2048 -n ZONE example.com # Create Zones signing key

install haveged otherwise it will take too long

 

dnssec-keygen -f KSK -a NSEC3RSASHA1 -b 4096 -n ZONE example.com # Create a Key Signing Key

Directory will have 2 key pairs.

echo example.com.public.keys>> db.example.com #add both public keys which contain the DNSKEY record to the zone file

 

dnssec-signzone -3 -A -N INCREMENT -o -t # Sign the zone   

dnssec-signzone -A -3 $(head -c 1000 /dev/random | sha1sum | cut -b 1-16) -N INCREMENT -o example.com -t db.example.com  # Sign the zone 

vi  /etc/bind/named.conf.local =>

 file "db.example.com.signed"; Change the file pointers to .signed files

All the material listed and linked at this World Wide Web domain are strictly private property and copyrighted. © Copyright -∞-∞ Levent Ozturk. All rights reserved. Reproduction or use of any material, documents and related graphics and any other material from this World Wide Web server is strictly prohibited. Site Map