18
DNSSEC deployment done with two clicks Red Hat Petr Špaček [email protected] Tomáš Hozza [email protected] IT 14

DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

  • Upload
    lamcong

  • View
    221

  • Download
    0

Embed Size (px)

Citation preview

Page 1: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

DNSSEC deployment done with two clicks

Red Hat

Petr Špač[email protected]áš [email protected]

IT 14

Page 2: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

Agenda

1 Client sideMotivationRequirementsArchitecture

2 Server sideRequirementsHighly available DNSSECDistributed signing & classic toolsDNSSEC on steroids

3 Conclusion

Page 3: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

Section 1Client side

Page 4: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

Client side Motivation

Motivation

Trusted data in DNS (TLSA, SSHFP, IPSECKEY)

Attacks on plain DNS

Authenticated DNS data for applications

End-to-end DNSSEC validation

Page 5: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

Client side Requirements

Client side - Requirements

Local validating resolver

Resolver reconfiguration mechanism

Split DNS handling

Network-provided nameservers probing

Fall-back configuration

Captive portal detection & handling

...

Page 6: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

Client side Architecture

Current situation

NetworkManagerOn every network change runs dispatcher scriptsProvides API for reading network configuration

dnssec-triggerProvides NM dispatcher scriptHandles – nameservers probing, captive portal detection,fall-back configuration, split DNSRewrites resolv.conf

unboundReconfigured by dnssec-trigger (global forwarders)Reconfigured by dnssec-trigger dispatcher script (forwardzones)

Page 7: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

Client side Architecture

Future plans

NetworkManagerUse configuration used by previous solutionProvide better and extended configuration possibilitiesRewrite resolv.conf

unbound NetworkManager DNS pluginIncorporate dnssec-trigger’s (and dispatcher script)functionality

nameservers probingcaptive portal detection and handlingsplit DNS configurationreconfigure unbound

unboundReconfigured by unbound NetworkManager DNS plugin

Page 8: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

Section 2Server side

Page 9: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

Server side Requirements

Requirements

High availability – at least read only

Resource Record and it’s signature:;; ANSWER SECTION:www.nic.cz. 474 IN A 217.31.205.50www.nic.cz. 474 IN RRSIG A 5 3 1800

20140520090247 2014050611550318996 nic.cz. SO8Zt1SM81R5BwPjM5DWz2jSC7gBVuUsZ4Ya/qNSK2m0FOX2jd4ChUE4n+id2YH1RfTQjRfwb2L

...

Page 10: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

Server side Highly available DNSSEC

Highly available DNSSEC

Avoid signature expiration problem completely

Distribute signing process

Hard to implement

Easy to use

Page 11: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

Server side Distributed signing & classic tools

Distributed signing & classic tools

Configure all DNS servers

Distribute signing keys

Install key management system

Update public keys in parent zones

Page 12: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling
Page 13: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

Server side DNSSEC on steroids

DNSSEC on steroids

DNSSEC is (almost) useless when used purely for name-IPresolution

DNSSEC as public key distribution mechanism

SSH, IPsec, TLS, PGP . . .

FreeIPA – SSH integration “for free”

FreeIPA – integrated Certificate Authority . . .

Page 14: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

Section 3Conclusion

Page 15: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

Conclusion

Conclusion

Requirement: Simple & quick deployment procedure

Requirement: High availability

Requirement: Maintenance-free system

Clients and workstations work in dynamic environment andneed special approach

FreeIPA – “canned” solution for internal networks

www.freeipa.org

www.redhat.com/mailman/listinfo/freeipa-users

Page 16: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

[email protected]@redhat.com

Page 17: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

Conclusion

Future plans

Page 18: DNSSEC deployment done with two clicks - CZ.NIC · unbound NetworkManager DNS plugin Incorporatednssec-trigger’s(anddispatcherscript) functionality nameserversprobing captiveportaldetectionandhandling

Conclusion

Current situation