All about the PowerDNS nameserver and how you can use it.



Similar documents
Products, Features & Services

PowerDNS Introduction

The story of dnsdist - or - Do we need a DNS Delivery Controller?

The story of dnsdist - or - Do we need a DNS Delivery Controller?

Tunnel Client FAQ. Table of Contents. Version 0v5, November 2014 Revised: Kate Lance Author: Karl Auer

How to Add Domains and DNS Records

USING TRANSACTION SIGNATURES (TSIG) FOR SECURE DNS SERVER COMMUNICATION

BEST PRACTICES FOR IMPROVING EXTERNAL DNS RESILIENCY AND PERFORMANCE

Alfresco Enterprise on AWS: Reference Architecture

THE MASTER LIST OF DNS TERMINOLOGY. v 2.0

INSTALLATION OF BLOGGING PLATFORM

Defending your DNS in a post-kaminsky world. Paul Wouters <paul@xelerance.com>

Computer Networks: Domain Name System

DNS security: poisoning, attacks and mitigation

The Future of DNS. Johan Ihrén Netnod. October 15,


DNS and BIND. David White

WebGUI Load Balancing

Domain Name System (DNS) Fundamentals

FAQ (Frequently Asked Questions)

CDN SERVICE ICSS ROUTE MANAGED DNS DEUTSCHE TELEKOM AG INTERNATIONAL CARRIER SALES AND SOLUTIONS (ICSS)

Overview of Databases On MacOS. Karl Kuehn Automation Engineer RethinkDB

Registry Update. John Dickinson. Nominet UK

DNS at NLnet Labs. Matthijs Mekking

Glossary of Technical Terms Related to IPv6

Tushar Joshi Turtle Networks Ltd

THE MASTER LIST OF DNS TERMINOLOGY. First Edition

Applied Network Services. Janet Services for Resilience. Andrew Davis Network Services Coordinator

SIDN Server Measurements

DNS ActiveX Control for Microsoft Windows. Copyright Magneto Software All rights reserved

Reliable DNS and DHCP for Microsoft Active Directory

Lesson 13: DNS Security. Javier Osuna GMV Head of Security and Process Consulting Division

netkit lab dns Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group Version Author(s)

NET0183 Networks and Communications

SOLUTION BRIEF. Advanced ODBC and JDBC Access to Salesforce Data.

GL-275: Red Hat Linux Network Services. Course Outline. Course Length: 5 days

DNS Resolving using nslookup

Global Service Loadbalancing & DNSSEC. Ralf Brünig Field Systems Engineer r.bruenig@f5.com DNSSEC

Conexim DNS Administrator s Guide

Zero Downtime Deployments with Database Migrations. Bob Feldbauer

DNS. Computer networks - Administration 1DV202. fredag 30 mars 12

Automatic Configuration of Slave Nameservers (BIND only)

Architecture and Mode of Operation

How to set up the Integrated DNS Server for Inbound Load Balancing

Defending your DNS in a post-kaminsky world. Paul Wouters <paul@xelerance.com>

Lecture 2 CS An example of a middleware service: DNS Domain Name System

DBX. SQL database extension for Splunk. Siegfried Puchbauer

Content Server Installation Guide

DNS + DHCP. Michael Tsai 2015/04/27

Domain Name System Security

DNSSEC Applying cryptography to the Domain Name System

Name Server Selec+on of DNS Caching Resolvers

dnsperf DNS Performance Tool Manual

Domain Name System (DNS) Session-1: Fundamentals. Ayitey Bulley

PowerDNS dnsdist. OX Summit 2015 All presentations will be on:

SSSD DNS Improvements in AD Environment

Scaling Database Performance in Azure

CimTrak Technical Summary. DETECT All changes across your IT environment. NOTIFY Receive instant notification that a change has occurred

DNS zone transfers from FreeIPA to non-freeipa slave servers

DNS ROUND ROBIN HIGH-AVAILABILITY LOAD SHARING

Copyright

Configuring DNS. Finding Feature Information

Domain Name System :49:44 UTC Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement

Parallels Operations Automation

AWS Schema Conversion Tool. User Guide Version 1.0

AWS Schema Conversion Tool. User Guide Version 1.0

Atomia Cloud Hosting Platform Overview

Unbound a caching, validating DNSSEC resolver. Do you trust your name server? Configuration. Unbound as a DNS cache (SEC-less)

Load Balancing Microsoft Sharepoint 2010 Load Balancing Microsoft Sharepoint Deployment Guide

ActiveXperts Network Monitor. White Paper

Technical. Overview. ~ a ~ irods version 4.x

Simplifying Your IT Helpdesk with Request Tracker

Configuration of a Load-Balanced and Fail-Over Merak Cluster using Windows Server 2003 Network Load Balancing

Synchronization Agent Configuration Guide

The Advantages of PostgreSQL

Improving DNS Reliability and Security

- Domain Name System -

DNS and LDAP persistent search

OpenSER the open SIP Server. Bogdan-Andrei Iancu CEO Voice System Co-Founder OpenSER Project

High-Performance DNS Services in BIG-IP Version 11

Transferring Your Internet Services

XLink ClusterReplica SQL 3.0 For Windows 2000/2003/XP

Reliable DNS and DHCP for Microsoft Active Directory Protecting and Extending Active Directory Infrastructure with Infoblox Appliances

DNSSEC Deployment a case study

Using ODBC with MDaemon 6.5

H-Sphere Reseller Step-By-Step Beginner guide: Welcome To MatrixReseller! Introduction. I. The Reseller Panel

Database Management System Choices. Introduction To Database Systems CSE 373 Spring 2013

Pre-Installation Notes & Checklist for LISTSERV Maestro

Sharding with postgres_fdw

Large-scale DNS and DNSSEC data sets for network security research

Internet-Praktikum I Lab 3: DNS

Transferring Hosting to Fasthosts

PowerLink Bandwidth Aggregation Redundant WAN Link and VPN Fail-Over Solutions

PowerDNS dnsdist. NLUUG Najaarsconferentie Presentation is on:

Informatica Data Replication FAQs

Transcription:

PowerDNS.COM BV All about the PowerDNS nameserver and how you can use it. bert hubert bert@powerdns.com http://wiki.powerdns.com - http://www.powerdns.com http://netherlabs.nl

What is PowerDNS? PowerDNS is a company PowerDNS is also the name of one of our products PowerDNS is a full-featured authoritative nameserver that can read from most databases, BIND zone files, LDAP but can also be scripted PowerDNS is a high-performance recursor

PowerDNS Company Around since 2000 Co-founded by V3 Redirection Services, well known from sites such as come.to, go.to, start.at and other short domains. Started express.powerdns.com, a hosted domain service. Does installations, support, custom enhancements (public, private)

PowerDNS Software Open source since 2001 (GPL) Started out as a means to do geographic loadbalancing between servers Goals: Secure (37,000 lines of code, bind 350,000) Fast Modular Linux, FreeBSD, NetBSD, OpenBSD, Solaris. Windows experimental.

Some interesting users Top-level domains.mn,.mp (and.tk) All Wikipedia sites (Global Load Balancing) Schlund + Partner Tucows E164.org (ENUM) Siemens (ENUM trial) Register.com (visa.com, burgerking.com bayerag.com) Ascio (Speednames)... about 8 million domains known

PowerDNS features Implements RFC1034/1035 DNS protocol All common, and some uncommon, record types (including SRV, NAPTR, SPF) Full master / slave support - or use DB replication Serves data from SQL, LDAP, BIND &c Whole-packet caching for high performance Large amount of statistics

PowerDNS features Can serve DNS from: MySQL, PostgreSQL, SQL Server, Sybase, Oracle, DB2, ODBC... SQLite LDAP Geographical information system Any external program Bind zone files!

SQL Features Defaults to a simple schema: create table domains ( id NUMBER, name VARCHAR(255) NOT NULL, master VARCHAR(20) DEFAULT NULL, last_check INT DEFAULT NULL, type VARCHAR(6) NOT NULL, notified_serial INT DEFAULT NULL, account VARCHAR(40) DEFAULT NULL, );

SQL Schema CREATE TABLE records ( ); id number(11) not NULL, domain_id INT DEFAULT NULL REFERENCES Domains(ID) ON DELETE CASCADE, name VARCHAR(255) DEFAULT NULL, type VARCHAR(6) DEFAULT NULL, content VARCHAR(255) DEFAULT NULL, ttl INT DEFAULT NULL, prio INT DEFAULT NULL, change_date INT DEFAULT NULL,

SQL Queries can be modified Five basic queries: basic-query id-query any-query any-id-query list-query Can all be modified for your own schema: gpgsql-basic-query=select content,ttl,prio,type,domain_id,name from records where type='%s' and name='%s'

Other backends Pipebackend A separate program is launched that receives queries on standard input and sends answers on standard output Sample perl script provided geobackend - works with standard maps Randombackend A new IP address for each question!

Special features automatic provisioning: An authorized IP address sends a notification for an unknown domain PowerDNS checks if that domain is indeed present on that server, and that it lists itself as a nameserver If so, the domain is added as a slave domain automatically Built-in webserver for operational insights

BIND compatibility mode PowerDNS can read almost all named.conf files directly Reads and writes zonefiles as well Additionally, can read gzipped zones Loads faster Works faster Uses less memory Just as cheap though!

Multiple modules Multiple backends can be active at the same time Each backend can be loaded multiple times, for example to connect to several databases Queried in order: first one that answers geobackend can `overlay' a single record Same for pipebackend

Things PowerDNS doesn't do DNSSEC Too complicated in its current form. Perhaps TSIG soon. Dynamic TSIG? Views Complicate a nameserver a lot Send out optional authority records I think there is still 1 registry with problems Dynamic updates over DNS Security risk - update your database!

Safe migration The nameserver is the most vital part of operations: migration is scary Three tools: dnswasher anonymise tcpdumps for analysis dnsreplay replay recorded DNS traffic and compare dnsscope get statistics: latencies, errors, drops

How to test Record existing DNS traffic using tcpdump Install PowerDNS on a separate server Migrate BIND zonefiles using zone2sql: zone2sql --named-conf=/etc/bind/named.conf.. Start PowerDNS, stop tcpdump Start dnsreplay: dnsreplay new-ip-address new-port < dumpfile Will display statistics

PowerDNS recursor Resists Denial of Service attacks Remembers broken nameservers Remembers broken domains Very fast - can handle traffic of 300.000 ADSL users on laptop over WiFi and DSL with 30% cpu load. More standards compliant than dnscache

So.. Why PowerDNS? No embarassing startup downtime even the bind backend can serve while (re) loading! Most large ISPs will have DNS data in a database anyhow. Easier to update, easier to manage. Diversity - it makes sense not to rely on one program Probably less security risk (or use nsd)

Future TSIG dynamic TSIG? Stateful zone (de)provisioning push zones to slaves remove zones from slaves Improved Windows support DNS-based failover

Support by PowerDNS.COM BV Installation services Private support 8 hours, 24 hours, 48 hours response time 4 hour phone support for large contracts Private new features (backends, management etc) Sponsor new features (half-rate) xs4all, register.com

Community Support Wiki.powerdns.com user editable FAQ pointers to other PowerDNS pages LDAP has a separate page for example Mailing lists Over 500 members Questions often answered by other PowerDNS users We answer public questions there as well