|
Live DNS with Open Suse 11 By: Salman AftabThis is a Basic Live DNS Setup Steps Server at my end is Open Suse Linux 11 with Required Bind Packages for DNS Steps: Should be Performed on Registrar Site: My Domain = mydomain.com My IP Address = <Live IP Address Provided by your ISP and assigned to the Machine you wish to create DNS Server> 1. On Registrar ( for example register.com, godaddy.com, name.com) register the IP address <Live IP Provided by your ISP) with your choice of Name Server (e.g ns.mydomain.com) It will be like ns.mydomain.com = <Live IP Address of your machine> OR ns1.mydomain.com in case you have more than one IP address and wish to create Primary and Secondary DNS Server. I am creating only Master or Primary DNS Server thus: 2. Delete Other Name Servers Provided by Your Registrar. Only ns.mydomain.com should be the only name server present. Domain Records Should be as follow: NS = ns.mydomain.com -----> <IP address> A = mydomain.com -------> <IP address> CNAME = www.mydomain.com -----> <IP address> ON Suse Machine (On Your Server End) 1. Make Sure that the Live IP is assinged to the machine Properly, ping and make sure that it can access internet. 2. Make sure you have latest Bind Package with Chroot-env and Utilities 3. Now on root shell type yast and access DNS under Network Services 4. In Start-UP enter the name of your domain in my case its mydomain.com select it as master 5. Once the domain is added click on it and click Edit and add NS (it should be automatically created e.g ns.mydomain.com) , MX and other records. 6. In Forwarders enter the live IP address 7. Zone files will be automatically created. Now give at least one day to settle the things up , DNS is working you can check it with the following command and it should return no error [root]# dig www.mydomain.com <--- |