深入浅出DNS系列(十)- DNSSEC


10 DNSSEC

参考文档:
http://wenku.baidu.com/link?url=QXrVoZZTra3YU0kfq8tCcGgp9DTP5xoyoUPLT0DI2BVl28ZtMp8YyKSn8FsfosJq6GmPd5Kv3AewjY1km_EYFjbFfXBMJ_aNfD5_6nJFVGG
http://www.litouch.com/blog/897.html
http://users.isc.org/~jreed/dnssec-guide/dnssec-guide.html
rfc4033《DNS Security Introduction and Requirements》
rfc4034《Resource Records for the DNS Security Extensions》
rfc4035《Protocol Modifications for the DNS Security Extensions》
rfc5155《DNS Security (DNSSEC) Hashed Authenticated Denial of Existence》
rfc5011《Automated Updates of DNS Security (DNSSEC) Trust Anchors》
rfc3225 《Indicating Resolver Support of DNSSEC》
rfc3008 《Domain Name System Security (DNSSEC) Signing Authority》

10.1 如何判定一台DNS服务器是否支持DNSSEC?

10.1.1 检查一个有DNSSEC签名的域名的RRSIG(Resource Record Signature)

为了让结果看得更清楚,我们找一个配置了DNSSEC签名的域名(paypal.com),一个支持DNSSEC的DNS服务器(8.8.8.8),和一个不支持DNSSEC的DNS服务器(114.114.114.114)。
支持dnssec的查询如下:

不支持dnssec查询如下:

10.2 DNSSEC涉及的6种记录

参考文档:
http://users.isc.org/~jreed/dnssec-guide/dnssec-guide.html
RRSIG (digital signature)
DNSKEY (public key)
DS (parent-child)
NSEC (proof of nonexistence)
NSEC3 (proof of nonexistence)
NSEC3PARAM (proof of nonexistence)

10.3 DNSSEC的查询过程

参考文档:
http://users.isc.org/~jreed/dnssec-guide/dnssec-guide.html


10.4 配置bind支持dnssec实例

其使用实例,请参考《内部根服务器架设实例》中DNSSEC的相关章节
参考文档:
http://blog.csdn.net/zhu_tianwei/article/details/45082015
http://blog.csdn.net/zhu_tianwei/article/details/45075577
http://www.isc.org/downloads/bind/bind-keys/

10.4.1 编译选项

CFLAGS="-g -O0" ./configure --prefix=/usr/local/sbin/bind --with-openssl=yes --disable-openssl-version-check
10.5 问题一(gethostbyname如何支持DNSSEC)
gethostbyname如何支持dnssec,或者说libc库如何支持dnssec
dnssec描述的是递归解析器到其他域名服务器之间的安全方案,那么从主机到递归解析器之间的安全如何保证?
参考文档:
http://www.linuxidc.com/Linux/2016-02/128188.htm
http://www.sourceware.org/glibc/wiki/DNSSEC

10.6 KSK与ZSK的区别

Key

Usage

Frequency of Use

ZSK Private

Used by authoritative server to create RRSIG for zone data

Used somewhat frequently depending on the zone, whenever authoritative zone data changes or re-signing is needed

ZSK Public

Used by recursive server to validate zone data RRset

Used very frequently, whenever recursive server validates a response

KSK Private

Used by authoritative server to create RRSIG for ZSK and KSK Public (DNSKEY)

Very infrequently, whenever ZSK's or KSK's change (every year or every five years in our examples)

KSK Public

Used by recursive server to validate DNSKEY RRset

Used very frequently, whenever recursive server validates a DNSKEY RRset


评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值