Database backed DNS.

Slides:



Advertisements
Similar presentations
1 Dynamic DNS. 2 Module - Dynamic DNS ♦ Overview The domain names and IP addresses of hosts and the devices may change for many reasons. This module focuses.
Advertisements

High-Performance Task Distribution for Volunteer Computing Rom Walton
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 8: Managing and Troubleshooting DNS.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition Chapter 9 Network Services.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
25.1 Chapter 25 Domain Name System Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Module 13 Windows NT Networking Services. 2  Overview Installing Network Services Dynamic Host Configuration Protocol (DHCP) Windows Internet Name.
Domain Name Services Oakton Community College CIS 238.
Domain Names and Linux Philip Bock. Contents What is the Domain Name System? Acquiring a Domain Name Name Servers Linux as an Internet Server Web, Mail,
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
Architecture of DNS CS 718 Activity 4 Submitted by Parag Abhyankar Anup S. Kunte
Module 5: Planning a DNS Strategy. Overview Planning DNS Servers Planning a Namespace Planning Zones Planning Zone Replication and Delegation Integrating.
Chapter 17 Domain Name System
IMPLEMENTING F-SECURE POLICY MANAGER. Page 2 Agenda Main topics Pre-deployment phase Is the implementation possible? Implementation scenarios and examples.
Paper Presentation – CAP Page 2 Outline Review - DNS Proposed Solution Simulation Results / Evaluation Discussion.
Plesk for Windows Server Automation SWSOFT GLOBAL HOSTING SUMMIT 2006 Todd L. Crumpler May 30-June 1, 2006.
Domain Name System CH 25 Aseel Alturki
Step By Step Windows Server 2003 Installation Guide Step By Step Windows Server 2003 Installation Guide.
Krit Witwiyaruj Thai Name Server Co., Ltd.th DNSSEC Implementation.
1 Kyung Hee University Chapter 18 Domain Name System.
A Brief Documentation.  Provides basic information about connection, server, and client.
Module 6: Managing and Monitoring Domain Name System (DNS)
LAT HSK Data Handling from B33 Cleanroom. ISOC Software Architecture.
Module 6: Designing Name Resolution. Module Overview Collecting Information for a Name Resolution Design Designing a DNS Server Strategy Designing a DNS.
Module 1: Implementing Active Directory ® Domain Services.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 19 Domain Name System (DNS)
* Agenda  What is the DNS ?  Poisoning the cache  Short term solution  Long term solution.
Linux Services Configuration
DNS Domain Name Systems Theory 1. HOW DNS WORKS Theory 2.
Rolando Gaytan Clay Schumacher Josh Weisskopf Cory Simon Aaron Steil (Reiman Gardens) – Client Dr. Tien Nguyen - Advisor.
Hostway Confidential & Proprietary Introduction to Web Hosting.
Basics of the Domain Name System (DNS) By : AMMY- DRISS Mohamed Amine KADDARI Zakaria MAHMOUDI Soufiane Oujda Med I University National College of Applied.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
Retele de senzori Curs 1 - 1st edition UNIVERSITATEA „ TRANSILVANIA ” DIN BRAŞOV FACULTATEA DE INGINERIE ELECTRICĂ ŞI ŞTIINŢA CALCULATOARELOR.
Domain Name System: DNS To identify an entity, TCP/IP protocols use the IP address, which uniquely identifies the Connection of a host to the Internet.
DNS Security Risks Section 0x02. Joke/Cool thing traceroute traceroute c
System Administration(SAD622S) Name of Presenter: Shadreck Chitauro Lecturer 18 July 2016 Faculty of Computing and Informatics.
High performance recursive DNS solution
Understand Names Resolution
Understanding and Improving Server Performance
CS 372 COMPUTER COMMUNICATION AND NETWORKS
Everything You need to know
Physics validation database
Chapter 25 Domain Name System.
Principles of Computer Security
IMPLEMENTING NAME RESOLUTION USING DNS
Benefits of Using Domain Name System (DNS)
DNS.
SUBMITTED BY: NAIMISHYA ATRI(7TH SEM) IT BRANCH
Unit 5: Providing Network Services
3.2 Virtualisation.
Lame DNS Server Sweeping
Software Architecture in Practice
Net 323 D: Networks Protocols
Chapter 19 Domain Name System (DNS)
Providing Network Services
draft-zhang-dnsext-test-result-00
Network Services.
Examining a Windows NT Infrastructure (2)
AWS Cloud Computing Masaki.
Chapter 25 Domain Name System
Modern network servers
System & Network Administration (MCSA & RHCSA)
DNS: Domain Name System
Chapter 25 Domain Name System
Computer Networks Primary, Secondary and Root Servers
Windows Name Resolution
Computer Networks Presentation
Presentation transcript:

Database backed DNS

Target users Internet Service Providers Webhosting companies Domain Registrars TLD operators Other people with lots of domains

Why use a database? Choosing an option Stability Performance Support Options BIND BIND-DLZ PowerDNS

Flat files don't always rock Flat files rock for system administrators DNS administrators may not have root access Editing flat files from the web is ... insane Delegating single zone management is difficult Edits and reloads have to be batched Startup times for nameserver processes

Flat files don't always rock Flat files cause a startup time delay on the server process For BIND, this penalty is huge A single host, with 113K small zones took slightly over an hour to start with flat files It then served data at about 30K qps PowerDNS is “optimised” for this task It took over 6 minutes to parse 113K small zones and start serving data This served data at about 26K qps

BIND Native BIND has “some” support. One connection to the backend for each domain Low performance

BIND-DLZ Patch to BIND See http://bind-dlz.sourceforge.net/ One/Two connections to the backend for all domains User defined queries, including stored procedures Supports MySQL, PostgreSQL, OpenLDAP, BDB

BIND-DLZ architecture

DLZ schema BENEFITS Single connection to database Single table needed to store all records Keeps it simple DISADVANTAGES No caching Bad performance Third party patch to BIND

PowerDNS DNS server written in C++ Separate authoritative and recursive servers Strong focus on security

PowerDNS architecture

PowerDNS BENEFITS One or more connections to the database Two tables needed Internal in-memory cache makes responses fast Low memory footprint DISADVANTAGES Cache management DNSSEC and views are not supported

Lies, damn lies and statistics Actually, performance benchmarks Native BIND wasn't going to be very useful to us. We didn't test it at all, except as a baseline statistic.

Testing Test infrastructure was a single host with two dual core Xeon CPUs at 2.something GHz and 16 GB of RAM with one disk, running the nameserver and the database The clients were three pentium boxes with 1 GB of RAM connected over a 100 Mbps network. We used the commandline queryperf tool to run queries. queryperf -q 20 -s <IP> -d <FILE>

Results

Same numbers, as a graph

Operational architecture