• Increase font size
  • Default font size
  • Decrease font size
dns

 BIND 9 DNS Administration Reference Book : 

Name Server Operations and DNS Configuration using BIND

Order the BIND 9 DNS Administration Reference Book from AmazonLuluBarnes&Noble, or your favorite book store.

The BIND 9 DNS Administration Reference Book is based on Internet Systems Consortium's BIND 9 documentation including the Administrator Reference Manual (Bv9ARM). In addition to hundreds of improvements (most integrated upstream) and major reorganization of the original documentation, new content, examples, detailed indexing and more cross-referencing were added. This book is an excellent resource which provides a convenient way to find BIND 9 documentation and to learn DNS basics.

The resource introduces DNS and the BIND (Berkeley Internet Name Domain) suite of software, including the "named" server, configuration tools, diagnostic DNS lookup tools, and tools for operating the server. The BIND 9 DNS Administration Reference Book contains the definitive documentation covering the syntax and all the configuration options for BIND 9.5 (and covers some older versions). The book also includes advanced topics such as dynamic updates, TSIG, DNSSEC, IPv6 support, journal files, split DNS, Incremental Zone Transfers (IXFR), TKEY, and SIG(0). Security considerations such as access control, preventing Denial of Service (DoS) attacks, chroot, setuid, and other security features are also covered.

 

 

Purchase the BIND 9 DNS Administration Reference Book from AmazonLuluBarnes&Noble, or your favorite book store.

Donations

A portion of the profit from the sales of this book will be sent to Internet Systems Consortium, a non-profit organization dedicated to providing Internet infrastructure, protocols, and software, such as BIND. You can learn more about donating to ISC at http://www.isc.org/index.pl?/store/donation/donation-faq.php. Reed Media Services actively donates money and time to various open source projects.

Reviews

 

  • Book review by James Pyles: "... you'll find Reed's BIND 9 DNS Administration Reference Book a great compilation of information on BIND 9 and a great companion for anyone administering BIND 9."
Please let us know about any reviews of the BIND 9 DNS Administration Reference Book.

 

Feedback

The publisher welcomes feedback. If you have any suggestions or comments about the book or would like to report an error, please email us at info@reedmedia.net.

Order the BIND 9 DNS Administration Reference Book from AmazonLuluBarnes&Noble, or your favorite book store.

 

 DNS example, bind 9 sample file - /etc/named.conf

Source Code

 
options {

        directory "/var/lib/named";
        dump-file "/var/log/named_dump.db";
        statistics-file "/var/log/named.stats";

        # The forwarders record contains a list of servers to which queries
        # should be forwarded.  Up to three servers may be listed.

        forwarders { 62.31.176.39 ; 193.38.113.3; };

        # Enable the next entry to prefer usage of the name server declared in
        # the forwarders section.

        #forward first;

        listen-on-v6 { any; };

        # If notify is set to yes (default), notify messages are sent to other
        # name servers when the zone data is changed.  Instead of setting
        # a global 'notify' statement in the 'options' section, a separate
        # 'notify' can be added to each zone definition.

        notify no;
};

# The following zone definitions don't need any modification.  The first one
# is the definition of the root name servers.  The second one defines
# localhost while the third defines the reverse lookup for localhost.

zone "." in {
        type hint;
        file "root.hint";
};

zone "localhost" in {
        type master;
        file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" in {
        type master;
        file "127.0.0.zone";
};

# This is where you put in the link to the zone you
# want to serve

zone "spring.wellho.net" in {
        type master;
        file "/var/lib/named/wellho.zone";
};

# Include the meta include file generated by createNamedConfInclude.  This
# includes all files as configured in NAMED_CONF_INCLUDE_FILES from
# /etc/sysconfig/named

include "/etc/named.conf.include";
 

 You are not clear whether you are configuring client or server.
If you configuring client then simply do the following steps:

vi /etc/resolv.conf
nameserver
:wq

 

you need to edit this file:

etc/resolv.conf

#vi /etc/resolv.conf

 

search local
nameserver 202.103.225.68
 

 

 A DNS is a Domain Name Server. A domain is the name of a website

The Domain Name Server plays an important role in making Internet traffic possible. A DNS server is part of a global network of servers that translate host names, like whatislinux.net, into numerical IP (Internet Protocol) addresses, like 67.20.97.125, which computers on the Net use to communicate with each other. This allows us to use easy to memorize or intuitive URLs and e-mail addresses instead of a long string of numbers.

 

 1. Enable DNS services.
2. Configure the `/etc/hosts'' file.
3. Configure `/etc/named.conf'' file.
4. Set up DNS tables in the ``var/named/'' directory.
5. Check for the named daemon is running.

1. Enable DNS services:- To enable DNS services, /etc/host.conf file should be look like below:

# Lookup names via /etc/hosts first, then by DNS query
order hosts, bind

2. Configure /etc/hosts file. :- For better performance you can add any hosts you access often like your local servers to avoid performing DNS lookups on them.

3. Configure `/etc/named.conf'' file:- This file should be configured in such a way that the DNS tables correctly. Named.conf file contains information about different type of views like localhost_reslover (for caching nameservers), internal (who are directly connecting through LAN interface), External (addresses that are not in your LAN interface subnets), logging, Options.

4. Set up DNS tables in /var/named directory:- Each domain will have its own DNS table file named as /var/named/domain.db. All the zones will be explained for a domain in this file.

5. Check for the named daemon is running:- This daemon usually starts upon system boot. You can also start and stop the daemon manually by typing ``named start'' and `named stop'' commands respectively.

 

 Login as the root, enter:

# vi /etc/resolv.conf
 
OR
$ sudo vi /etc/resolv.conf
Modify or enter nameserver as follows:
nameserver 202.103.227.68
nameserver 202.103.225.68
 
Save and close the file. To test DNS configuration type any one of the following command:
# host google.com
# ping www.bing.com
# nslookup www.bing.com
 
Read more...  

Login Form