Set up and run your own Cesidian Root DNS server



Similar documents
Enabling DNS for IPv6 CSD Fall 2011

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

DNS using BIND 9. TELE301 Laboratory Manual. 1 Using Dig Basic Configuration The Master Bind Configuration File...

Remote DNS Cache Poisoning Attack Lab

HowTo Check. Microsoft Cluster. Functionality via SNMP

BIND 9 DNS Security. Enterprise Applications Division of the Systems and Network Analysis Center (SNAC) Information Assurance Directorate

DNS. Computer Networks. Seminar 12

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

Deploying & Configuring a DNS Server on OpenServer 6 or UnixWare 7. Kirk Farquhar

DNS Service on Linux. Supawit Wannapila CCNA, RHCE

How to simulate network devices using the Verax SNMP Simulator (Linux/Windows)

ITIS 2110 Lab 11: Domain Name Server. Tyler Everhart 11/12/2010

netkit lab Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group Version 1.

Advanced Internetworking

walkthrough Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group Version 1.

Ciphermail Gateway Separate Front-end and Back-end Configuration Guide

Create a virtual machine at your assigned virtual server. Use the following specs

Installing Virtual Coordinator (VC) in Linux Systems that use RPM (Red Hat, Fedora, CentOS) Document # 15807A1-103 Date: Aug 06, 2012

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

Apache and Virtual Hosts Exercises

IMF Tune Quarantine & Reporting Running SQL behind a Firewall. WinDeveloper Software Ltd.

SI455 Advanced Computer Networking. Lab2: Adding DNS and Servers (v1.0) Due 6 Feb by start of class

Configuring your network settings to use Google Public DNS

Securing an Internet Name Server

17 Administrative Services: DNS, FTP, and Logging

Networking Domain Name System

Automatic Configuration of Slave Nameservers (BIND only)

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering

DNS Pharming Attack Lab

TECHNICAL NOTE. Technical Note P/N REV 03. EMC NetWorker Simplifying firewall port requirements with NSR tunnel Release 8.

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

Hadoop Multi-node Cluster Installation on Centos6.6

Immotec Systems, Inc. SQL Server 2005 Installation Document

Installing MooseFS 2.0 Step by Step Tutorial. Core Technology Development & Support Team

Install and configure a Debian based UniFi controller

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

SNMP Peach Pit Data Sheet

Using Webmin and Bind9 to Setup DNS Sever on Linux

Solaris Networking Guide. Stewart Watkiss. Volume. New User To Technical Expert Solaris Bookshelf. This document is currently under construction

DNS + DHCP. Michael Tsai 2015/04/27

Linux FTP Server Setup

1 Scope of Assessment

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

Application Note: Upgrading Interceptor software with FTP server on local PC

Samba and Vista with IPv6

Procedure to Create and Duplicate Master LiveUSB Stick

How to install PowerChute Network Shutdown on VMware ESXi 3.5, 4.0 and 4.1

System administration basics

How to Create, Setup, and Configure an Ubuntu Router with a Transparent Proxy.

PVFS High Availability Clustering using Heartbeat 2.0

IP Address: the per-network unique identifier used to find you on a network

Pwn Plug Community Edition 1.1 Installation Guide

Setup a Virtual Host/Website

How To Install Storegrid Server On Linux On A Microsoft Ubuntu 7.5 (Amd64) Or Ubuntu (Amd86) (Amd77) (Orchestra) (For Ubuntu) (Permanent) (Powerpoint

Work No. 1 Samba. What is Samba?

BIND versus DJBDNS: A Comparison of Performance, Ease of Configuration, and Security

Lab 4 Domain Name System - DNS CMPE 150

Windows 98 Workstation Install

IPv6.marceln.org.

Non-authoritative answer: home.web.cern.ch canonical name = drupalprod.cern.ch. Name: drupalprod.cern.ch Address:

Using Red Hat Enterprise Linux with Georgia Tech's RHN Satellite Server Installing Red Hat Enterprise Linux

Use Domain Name System and IP Version 6

A SHORT INTRODUCTION TO DUPLICITY WITH CLOUD OBJECT STORAGE. Version

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

How To - Configure Virtual Host using FQDN How To Configure Virtual Host using FQDN

DNS zone transfers from FreeIPA to non-freeipa slave servers

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

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

Copyright

HP Device Manager 4.6

Univention Corporate Server. Extended domain services documentation

FTP Server Configuration

Monitoring Netflow with NFsen

TCP Labs. WACREN Network Monitoring and Measurement Workshop Antoine Delvaux perfsonar developer

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

Lab 2. CS-335a. Fall 2012 Computer Science Department. Manolis Surligas

Networking Domain Name System

Installation Instruction STATISTICA Enterprise Small Business


50.XXX is based on your station number

Chapter 8 Monitoring and Logging

Building a Linux IPv6 DNS Server

Acronis Backup & Recovery 11.5 Quick Start Guide

CipherMail Gateway Installation Guide

HOWTO: Set up a Vyatta device with ThreatSTOP in router mode

Before deploying SiteAudit it is recommended to review the information below. This will ensure efficient installation and operation of SiteAudit.

Red Hat OpenStack Platform 8 DNS-as-a-Service Guide

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

MyPBX Security Configuration Guide

HONEYD (OPEN SOURCE HONEYPOT SOFTWARE)

How to Backup XenServer VM with VirtualIQ

Configuration Notes 0215

Syncplicity On-Premise Storage Connector

KB Windows 2000 DNS Event Messages 1 Through 1614

Firewalls with IPTables. Jason Healy, Director of Networks and Systems

The Tor VM Project. Installing the Build Environment & Building Tor VM. Copyright The Tor Project, Inc. Authors: Martin Peck and Kyle Williams

BIND 9 Administrator Reference Manual

Transcription:

Set up and run your own Cesidian Root DNS server How-to for Debian 6.0, bind9 and IPv4 Cesidian Root website http://cesidianroot.net/ Last change 13.02.2012 Author Contact Patrick Jansen Administrator of the Cesidian G-Root DNS Server cesidian@qnea.de Page 1/7

First of all, before you set up and run your own server contact the Cesidian Root administration http://cesidianroot.net/contact.html Page 2/7

Open a shell as root su root - Update the local package apt-get update Install the newest versions of all packages apt-get upgrade Install the DNS server (bind9) and its documentation ( man named ) apt-get install bind9 bind9-doc Stop bind9 after installation /etc/init.d/bind9 stop If you plan to run an IPv4 (not IPv6) DNS server only nano /etc/default/bind9 add -4 to the existing OPTIONS line OPTIONS="-u bind -4" Create a new directory for the Cesidian Root files mkdir /etc/bind/cesidian-root/ chmod bind:bind /etc/bind/cesidian-root/ Optional: Make a backup of original configuration files cp /etc/bind/named.conf.default-zones /etc/bind/named.conf.default-zones_orig cp /etc/bind/named.conf.options /etc/bind/named.conf.options_orig Page 3/7

Set the root zone configuration nano /etc/bind/named.conf.default-zones Change the lines // prime the server with knowledge of the root servers zone "." { type hint; file "/etc/bind/db.root"; to // prime the server with knowledge of the root servers //zone "." { // type hint; // file "/etc/bind/db.root"; // and below the above lines add // Cesidian Root Server zone "." { type slave; file "/etc/bind/cesidian-root/cesidian-root.zone"; masters { 178.254.3.55; max-refresh-time 60; allow-transfer { any; Page 4/7

Set the DNS server configuration nano /etc/bind/named.conf.options Replace the whole file content with the following one // Limit control channel access ("rndc" command) controls { inet 127.0.0.1 port 953 allow { 127.0.0.1; options { directory "/var/cache/bind"; zone-statistics yes; auth-nxdomain no; //dnssec-enable yes; //dnssec-validation yes; notify yes; notify-source * port *; notify-source-v6 * port *; transfers-in 10; transfers-out 10; transfers-per-ns 10; recursion yes; allow-recursion { any; allow-query { any; provide-ixfr yes; request-ixfr yes; query-source address * port *; query-source-v6 address * port *; listen-on port 53 { <your external IPv4>; listen-on port 3001 { <your external IPv4>; //listen-on-v6 port 53 { <your external IPv6>; //listen-on-v6 port 3001 { <your external IPv6>; preferred-glue AAAA; max-cache-size 0; cleaning-interval 60; lame-ttl 600; max-cache-ttl 604800; max-ncache-ttl 300; edns-udp-size 4096; max-udp-size 4096; transfer-source *; use-alt-transfer-source yes; version "Cesidian Root Server"; Replace <your external IPv4> with the external IPv4 of your DNS server If you re running an IPv4 and IPv6 DNS server remove the // before //listen-on-v6 port 53 { <your external IPv6>; //listen-on-v6 port 3001 { <your external IPv6>; and replace <your external IPv6> with the external IPv6 of your DNS server. Page 5/7

The Cesidian Root administration will send you two additional files: cw.conf and rapid.conf Copy both to /etc/bind/ and set their rights and owner with chmod 644 /etc/bind/cw.conf /etc/bind/rapid.conf chown root:root /etc/bind/cw.conf /etc/bind/rapid.conf Enable them by nano /etc/bind/named.conf.local and add the following lines to the end of the file // Cesidian Root include "/etc/bind/cw.conf"; include "/etc/bind/rapid.conf"; Start bind9 Note: before starting bind9 you have to open port 53 TCP & UDP and 3001 TCP & UDP in your firewall - but this is out of scope of this how-to /etc/init.d/bind9 start After some seconds there should be a file /etc/bind/cesidian-root/cesidian-root.zone -rw-r--r-- 1 bind bind 101K Feb 4 11:57 /etc/bind/cesidian-root/cesidian-root.zone The command netstat -ln should show something like this (reformatted output) tcp <your external IPv4>:53 tcp 127.0.0.1:53 by using listen-on port 53 { 127.0.0.1; <your external IPv4>; tcp 127.0.0.1:953 Control channel, see /etc/bind/named.conf.options tcp <your external IPv4>:3001 udp <your external IPv4>:53 udp 127.0.0.1:53 by using listen-on port 53 { 127.0.0.1; <your external IPv4>; udp <your external IPv4>:3001 To determine bind s status type rndc status Page 6/7

To write server statistics to a file type rndc stats less /var/cache/bind/named.stats To test your own DNS server follow the instructions to change the TCP/IP configuration of your computer on http://cesidianroot.net/crt/. Set the Preferred DNS server of your computer to the external IP of your DNS server Applications running on the Linux system can use the local bind9 as DNS server. Therefore replace the line listen-on port 53 { <your external IPv4>; in /etc/bind/named.conf.options with listen-on port 53 { 127.0.0.1; <your external IPv4>; In this case also the content of /etc/resolv.conf has to be changed to nameserver 127.0.0.1 The command ping -c 1 zonefile.cesidian.root should return an IP (currently 84.200.212.28) now Anyway, always write-protect /etc/resolv.conf with chattr +i /etc/resolv.conf otherwise the system can change it back to default during reboot If you re using Monit to monitor daemons you can use a configuration like this check process named with pidfile /var/run/named/named.pid start program "/etc/init.d/bind9 start" with timeout 15 seconds stop program "/etc/init.d/bind9 stop" if failed host <your external IPv4> port 3001 type tcp protocol dns with timeout 5 seconds then restart if failed host <your external IPv4> port 53 type udp protocol dns with timeout 5 seconds then restart if totalcpu > 90% for 3 cycles then restart if totalmemory > 150 MB for 3 cycles then restart if 5 restarts within 5 cycles then timeout Replace <your external IPv4> with the external IPv4 of your DNS server Page 7/7