DNS and BIND. David White



Similar documents
HTG XROADS NETWORKS. Network Appliance How To Guide: DNS Delegation. How To Guide

DNS. Computer Networks. Seminar 12

Computer Networks: Domain Name System

THE MASTER LIST OF DNS TERMINOLOGY. v 2.0

Introduction to the Domain Name System

DNS Session 4: Delegation and reverse DNS. Joe Abley AfNOG 2006 workshop

- Domain Name System -

THE MASTER LIST OF DNS TERMINOLOGY. First Edition

DNS. The Root Name Servers. DNS Hierarchy. Computer System Security and Management SMD139. Root name server. .se name server. .

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

Services: DNS domain name system

Understanding DNS: Essential knowledge for all IT professionals

Use Domain Name System and IP Version 6

Domain Name Server. Training Division National Informatics Centre New Delhi

Part 5 DNS Security. SAST01 An Introduction to Information Security Martin Hell Department of Electrical and Information Technology

Domain Name System (DNS) RFC 1034 RFC

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

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

Motivation. Domain Name System (DNS) Flat Namespace. Hierarchical Namespace

DNS : Domain Name System

Creating a master/slave DNS server combination for your Grid Infrastructure

How to Add Domains and DNS Records

How To Guide Edge Network Appliance How To Guide:

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

Securing an Internet Name Server

DNS Service on Linux. Supawit Wannapila CCNA, RHCE

Distributed Systems. 09. Naming. Paul Krzyzanowski. Rutgers University. Fall 2015

Introduction to DNS and Application Issues related to DNS. Kirk Farquhar

The Domain Name System

Understand Names Resolution

IPv6 support in the DNS

Configuring DNS. Finding Feature Information

Basic DNS Course. Module 1. DNS Theory. Ron Aitchison ZYTRAX, Inc. Page 1 of 24

Domain Name System Security

FAQ (Frequently Asked Questions)

Monitoring the DNS. Gustavo Lozano Event Name XX XXXX 2015

THE DOMAIN NAME SYSTEM DNS

DNS and BIND Primer. Pete Nesbitt linux1.ca. April 2012

DNS & IPv6. Agenda 4/14/2009. MENOG4, 8-9 April Raed Al-Fayez SaudiNIC CITC rfayez@citc.gov.sa, DNS & IPv6.

Understanding DNS (the Domain Name System)

Configuring the BIND name server (named) Configuring the BIND resolver Constructing the name server database files

Introduction to DNS CHAPTER 5. In This Chapter

An Introduction to the Domain Name System

DNS zone transfers from FreeIPA to non-freeipa slave servers

Using the Domain Name System for System Break-ins

Response Policy Zones for the Domain Name System (DNS RPZ) By Paul Vixie, ISC (et.al.) 2010 World Tour

DNS Root NameServers

HTG XROADS NETWORKS. Network Appliance How To Guide: EdgeDNS. How To Guide

DNS Domain Name System

Zimbra :: The Leader in Open Source Collaboration. Administrator's PowerTip #3: June 21, 2007 Zimbra Forums - Zimbra wiki - Zimbra Blog

ECE 4321 Computer Networks. Network Programming

NET0183 Networks and Communications

Local DNS Attack Lab. 1 Lab Overview. 2 Lab Environment. SEED Labs Local DNS Attack Lab 1

DNS based Load Balancing with Fault Tolerance

Internet-Praktikum I Lab 3: DNS

The Domain Name System (DNS)

F5 and Infoblox DNS Integrated Architecture Offering a Complete Scalable, Secure DNS Solution

USING TRANSACTION SIGNATURES (TSIG) FOR SECURE DNS SERVER COMMUNICATION

what s in a name? taking a deeper look at the domain name system mike boylan penn state mac admins conference

The Domain Name System (DNS)

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

Configuring a Domain to work with your Server

IPv6 Support in the DNS. Workshop Name Workshop Location, Date

Using Webmin and Bind9 to Setup DNS Sever on Linux

Improving DNS Reliability and Security

Domain Name System (DNS) Fundamentals

Chapter 23 The Domain Name System (DNS)

Intro to djbdns. A DNS server besides BIND. Nathan Straz. nate@techie.com. Intro to djbdns p.1/21

Domain Name System (or Service) (DNS) Computer Networks Term B10

Talk-101 User Guide. DNSGate

The Use of DNS Resource Records

OVERVIEW OF THE DNS AND GLOSSARY OF TERMS

Domain Name System. Heng Sovannarith

LinkProof DNS Quick Start Guide

DNSSEC Applying cryptography to the Domain Name System

Domain Name System (DNS) Security By Diane Davidowicz 1999 Diane Davidowicz

Copyright International Business Machines Corporation All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure

Creating the Conceptual Design by Gathering and Analyzing Business and Technical Requirements

Red Hat system-config-bind BIND (Berkeley Internet Name Domain) DNS ( Domain Name System)

How to Configure the Windows DNS Server

The secret life of a DNS query. Igor Sviridov <sia@nest.org>

DNS + DHCP. Michael Tsai 2015/04/27

CS3600 SYSTEMS AND NETWORKS

3. The Domain Name Service

Where is Hong Kong in the secure Internet infrastructure development. Warren Kwok, CISSP Internet Society Hong Kong 12 August 2011

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

Enterprise Architecture Office Resource Document Design Note - Domain Name System (DNS)

Application Protocols in the TCP/IP Reference Model

Transcription:

DNS and BIND David White

DNS: Backbone of the Internet Translates Domains into unique IP Addresses i.e. developcents.com = 66.228.59.103 Distributed Database of Host Information Works seamlessly behind the scenes

So what is a Domain? RFC 920: Domains are Administrative entities A unique name Can contain subdomain names

Basic Structure Hierarchical, Tree-like structure Made up of individual Nodes

DNS: Series of Delegated Information A Silly Example checkers.boardgames.games.fun.com

checkers.boardgames.games.fun.com. (root).games.boardgames.com.fun

Domain Namespace: Another Picture This tree is also called a domain namespace. root (.) com edu google developcents taylor server1 server2

Components of DNS Domain Name Space Name Servers (Authoritative Name Servers) Resolvers (Caching Name Servers)

DNS Zones A portion of a Domain Namespace defined by Zone Files (which contain Zone Records) Portion of a Domain Namespace that has been administratively delegated Therefore, this information comes from an authoritative source (Master Name Server) Can be loaded by Slave Name Servers (for backup and redundancy purposes)

Components of Zone Files TTL (Time to Live) Tells caching nameservers how long they should cache information from an authoritative source The domain administrator s contact information DNS Records

Common DNS Records (Resource Records) SOA Record (Start of Authority) Indicates that the nameserver is the best source of info for data within a domain s zone A Record (Address) Directly maps a name to an IP address MX Record (Mail Exchanger) Specifies which servers receive email for a domain (and in what order they should be tried)

Common DNS Records (Resource Records) NS Records (nameserver) Required Identify which servers are a particular zone s nameservers Does NOT have to be the same as the zone s domain

Glue Records: What and Why? Solve a circular dependency problem: The TLD delegates DNS requests for example.com to the particular authoritative name servers for example.com. But this DNS information is contained within example.com s nameservers. A record that s served by a DNS server that s not authoritative for the zone.

Glue Records: How? Add IP addresses to your nameservers in your Domain Registrar THEN add NS records AND A records for your authoritative nameservers: INNS ns1.example.com. INNS ns2.example.com. ns1 INA 1.2.3.4 ns2 INA 2.3.4.5

Anti-Spam Mechanisms SPF Records Identifies which IP addresses are allowed to send an email from a certain domain. DKIM Records Uses encryption keys to determine if a sending mail server is who it says it is. DMARC Specifies what should happen to email if a SPF and DKIM check fails.

Introduction to BIND Berkeley Internet Name Domain Originally developed at University of California Berkeley Maintained and supported by ISC (Internet Systems Consortium) https://www.isc.org/software/bind/

Intro to BIND (con t) Most widely used Domain Name Server Software Ported to most flavors of UNIX (including Ubuntu, RHEL, and CentOS) Can also be run on Microsoft Windows

Configuring BIND (for CentOS) First, install BIND with: Yum install bind Main config file: /etc/named.conf Zone file(s) for Master: /var/named/ Zone file(s) for Slave (Caching): /var/named/slaves

BIND s named.conf for Master Name Server Options { listen-on port53 { any; }; allow-transfer { 2.3.4.5; }; recursion no; };

BIND s named.conf for Master Name Server zone example.com IN { type master; file path-to-zone-file-location ; };

BIND s named.conf for Slave (Caching) Name Server Options { recursion: no; };

BIND s named.conf for Slave (Caching) Name Server zone example.com IN { type slave; file path-to-zone-file-location ; masters { 1.2.3.4; }; };

A Couple Security Considerations An Open Resolver is a BAD IDEA DNS Security Extensions (DNSSEC) Digitally signs DNS data so that you are assured its valid. It s a digital signature, No encryption or decryption takes place Must be deployed at each step of the lookup process

Recommended Resources BIND Homepage https://www.isc.org/software/bind O Reilly s DNS and BIND RFCs 920, 1034, 1035, 2308 & their updates - http://tools.ietf.org/html/ Wikipedia s List of DNS Record Types: http://en.wikipedia.org/wiki/list_of_dns_record_ types

Recommended Resources (con t) Website (Intro to DNS): How does DNS work? http://cr.yp.to/djbdns/intro-dns.html Pingdom s DNS Check Tool: http://dnscheck.pingdom.com/ MX Toolbox (for testing MX and DNS configuration): http://www.mxtoolbox.com/

Recommended Resources (con t) DNSSEC What Is It and Why Is It Important? http://www.icann.org/en/about/learning/fa ctsheets/dnssec-qaa-09oct08-en.htm

The End This presentation was prepared and presented by David White, Founder & CEO of Develop CENTS, LLC. IT Consulting, Technical Support, Hosting & More for Nonprofits. Visit http://developcents.com to learn more.