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/Course/Section2/index.htm) 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 (named.conf 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 this file (resolv.conf) to your /etc/.

All files in compress format:localdns.tar.gz
to extract this file, type "tar -zxvf localdns.tar.gz".

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, please
mail it to sifu@rindu.net. Good luck!.

---SiFu/maznan
1