Archive:Docs/Drafts/AdministrationGuide/Servers/DNSBIND/Introduction

From FedoraProject

Jump to: navigation, search

Contents

DNS and BIND

Introduction

The Domain Name System (DNS) organizes the Internet into a hierarchy of domains, providing a system to resolve easy to remember host and domain names to their IP address. An example of this is typing www.google.com into a Web browser and having the google webpage come up. Another example is using the ping [hostname] command instead of the ping [IP address] command. These are both examples of forward lookups. DNS can provide reverse lookups which is resolving a hostname when given an IP address. Reverse lookups are handy for web sites tracking users, tools such as traceroute and ping, checking the reverse DNS records of email addresses, which can be useful against fighting spam, and so on. DNS also solves name uniqueness problems on networks: a hostname only needs to be unique in the domain or organization, not the entire Internet.

Docs Drafts AdministrationGuide Servers DNSBIND Introduction hierarchy.png

At the top of the DNS hierarchy is a "dot", which is the root domain. The root domain holds together all domains underneath it. Below the root domain are the familiar com's, edu's, net's, and so on. These are called global Top Level Domains (gTLD). Below gTLDs are subdomains, for example, google.com.

When working with DNS you will hear about zones, which are basically a group of machines within a domain. Every period in a DNS name indicates a point where authority can be delegated, so you can think of a zone as part of the DNS namespace. Using australia.test.com as an example, australia is a zone in the test.com domain.

DNS Queries

In most cases a DNS query is sent when you need the IP address of a hostname. The following example will use the host testhost, and the domain testdomain.com. The process is as follows:

Idea.png
Referrals
Referrals do not contain an answer section (A Resource Records). Instead, they provide an answer section which contains a list of authoritative nameservers to query.

Types of DNS Queries

There are three types of queries you can send to a DNS server. These are recursive, iterative, and inverse:

Types of DNS Servers

There are many different types of DNS servers. The following is a list of the most common:

Idea.png
BIND and named
In this guide BIND and named are the same thing. The actual daemon providing the DNS service is called named. These two terms will be used interchangeably throughout this guide.
Administration Guide - TOC Next Page - Client Configuration