Linux Server How ToHow To Setup, Configure, Manage and Secure a Linux Server |
|
Home Which Linux Distribution? Linux Server Hardware Linux Server Security Linux Web Server - Apache Linux DNS Server - Bind Introduction to Bind Install Bind With Apt-get Install Bind From Source Bind Compile Options Configuring Bind Caching DNS Config Authoritative DNS Config Zone Files Download New Named.Root Linux DHCP Server - DHCPD Linux Mail Server - Sendmail LDP How To's About This Site |
Linux Server How To - Install the BIND DNS Server Using Apt-getInstalling the BIND DNS Server Using Apt-getInstalling the BIND DNS server using apt-get is an easy process that can be performed in less than one minute. Apt-get retrieves the selected packages from a source server on the internet and automatically installs the software you have selected for you, in this instance the BIND DNS server application. An internet connection is necessary for this process to be successfull. The commands documented here worked effectively on our Ubuntu Linux server and the majority of the information provided here will hold true for any Linux server using a distribution based on Debian.To install the BIND Linux DNS server onto your Linux server simply log in and at the command prompt type-
In the instance of our Ubuntu Linux server this has installed named and its supporting tools in /usr/sbin and the configuration files including named.conf in /etc/bind. The result is a DNS server that is ready to perform lookups and cache the results but additional zone information will need to be added if you wish to provide authoritive answers for your own domains. The named.conf file contains basic information that BIND needs to function, most notably the file /etc/bind/db.root which contains information about the root nameservers which your DNS server will refer to when looking up domains recursively. There are also forward and reverse zones for the localhost as well as for the broadcast addresses and the zone files for these are in the /etc/bind directory.
There are two include statements instructing BIND to read the contents of two additional files, named.conf.local and named.conf.options which are also located in the /etc/bind directory. Named.conf.local is essentially empty and is the file that we would add our local zones to. Named.conf.options includes additional configuration options such as working directories and forwarding nameservers. Any line in these configuration files that starts with // is essentially commented out and named will not attempt to read these files when loading them. Named.conf.options is the file shown below.
|
| © 2009 www.linuxserverhowto.com |