Welcome to Kuwait Linux User Group - OpenSource free stuff

Search   in  

 Create an AccountHome | Gallery | Submit News | Your Account | Content | Topics | Top 10  

Modules
· Home
· Advertising
· Downloads
· FAQ
· Forums
· PHP-Nuke Tools
· Stories Archive
· Submit News
· Surveys
· Top 10
· Topics
· Tutorials
· Web Links
· Your Account

Search
Google
Web q8linux.net

Phoronix
Currently there is a problem with headlines from this site

  

how to make your own DNS server in  5 min.

This is apply only
for those who have only one ip such as cable/DSL users with a static/dynamic IP.




1- you have to install bind, either you download it or installed it from your own cd's destroy.

2- you have to register a free domain/dns from any free provider such as,

NO-IP.com and make for you simple domain that point to your ip. that's very important .

example: QS1.NO-IP.ORG  and this domain should point to your own ip.

ip users use their program to update your ip upon restart/change.

http://www.no-ip.com/downloads.php?sid=5fd34f72bd277bc57481ef89795872b2

3- now go to your domain name control panel where you bought the domain from and change

the DNS servers to QS1.NO-IP.ORG .

*some domain registrar require 2 domain name for DNS server so make 2 domain names for

your own from no-ip that point to your ip .

after you change your DNS server for your own domain, you have to wait from 1 up to 24 hours to take effect.

that's depends on your domain registrar.

4- Now  edit these 3 files just like as I am going to provide. /etc/named.conf & /var/named/yourdomain.net.hosts &

/etc/resolv.conf

change the ip 62.215.22.22 to your own ip and change q8linux.net to your own domain name.

a- http://www.q8linux.net/named.conf

b- http://www.q8linux.net/q8linux.net.hosts

c- http://www.q8linux.net/resolv.conf

*If your linux is a gateway then  you should add your locale linux gateway ip

to the DNS configuration in your dsl/cable modem  which is gonna be either 192.168.0.1 or 192.168.1.1

after editing them run bind.

RH type# service bind start

SW type# /etc/rc.bind start

now test your own DNS. type# dig yourdmain.net or host yourdomain.net / host your ip.

If  Reverse DNS doesn't work then you have to ask your own ISP to add your domain to their PTRs DNS.

If everything goes well, then you can add ns.yourdomain.net to your domain DNS safely in domain control panel as second DNS server.

for any comment/tips please email me at q8linux @ q8linux.net



q8linux.net

Copyright © by Kuwait Linux User Group - OpenSource free stuff All Rights Reserved.

Published on: 2004-10-13 (847 reads)

[ Go Back ]

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest ©2004-2008 by Q8linux.كويت لينكس
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.04 Seconds