Local DNS Micro Howto
---------------------

Author: Maznan Deraman
Date: Aug. 4, 1999
Email: sifu@my-linux.org
Updated: Nov. 5, 1999

1.0 Preface
-----------

I call this as DNS "micro-howto" and it is not the complete guides for
Domain Name System howto. Please refer other comprehensive documents on
DNS (http://sifu.rindu.net/course/one/freesoft/CIE/) or if provided in 
your Linux CDs, FTP sites or other places.

I've tested this configuration to work in small Intranet that has 1 Linux
server for its gateway, proxy, File Server and of course the DNS server.

Comments and suggestions?: Please email to me at sifu@rindu.net.

2.0 Pre-requisites
------------------

  i. The bind (named) package.
 ii. Knowledge of Domain Name System, IP Address, Unix commands

3.0 How to configure
--------------------

Choose a domain name, i.e: "mydomain.com.my"
copy this file (<a href="named.conf">named.conf</a> to your /etc/.
change the fields like, the name, serial number, IP address etc.

Copy these files named.ca, named.mydomain, named.local, named.reverse
into /var/named/ directory. Again please edit those files.
To update your named.ca, issue this command "dig @jaring.my > named.ca".

Copy resolv.conf to your /etc/. Edit it if you like.

Ok, now all has been set, let's move to the next steps.


4.0 Starting the DNS/Bind
-------------------------

If you are using Redhat, issue this command "/etc/rc.d/init.d/named restart".
If you are using distro other than RedHat, just type /usr/bin/named, or 
"killall -HUP named" to restart the service.

To test your DNS, type "nslookup". MAKE SURE YOU ARE CONNECTED TO THE INTERNET
FIRST. Type "sifu.rindu.net" and it suppose to give 202.188.124.228 as the reply.
To know other commands, read the nslookup manual (man nslookup).


5.0 End
-------

Thank you for using this micro-howto. Any comment and suggestion, or if you
want to hire me to do it, please email me at sifu@rindu.net.

Good Luck!
---SiFu/maznan
