This Blog is intended to collect information of my various Intrests,pen my opinion on the information gathered and not intended to educate any one of the information posted,but are most welcome to share there view on them
Tuesday, July 27, 2010
How to setup a simple DNS Server in easy steps?
It has been long I was thinking of writing something about DNS(Domain Name Server).DNS is a database of the IP to Name and Name to IP conversion.I went through lots of tutorials related to DNS but couldnt satisfy myself unless and until I started writing commands and configuring files for the initial setup.After lot of tweaking and commandline I was able to setup a simple DNS server.
Lets travel into the world of DNS.
I have a RHEL 4 Machine ready with bind packages installed.The Minimal requirement are:
[root@localhost etc]# pwd
[root@localhost etc]# vi named.conf
// named.conf for Red Hat caching-nameserver
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
// query-source address * port 53;