GunnaSatria

October 17, 2007

DNS Setting using Webmin

Filed under: Linux — gunnasatria @ 1:52 am

After all of this years, i’m back again interacting with Linux world. This is because i was asked by my former school teacher Pak Naryo to help him do the DNS setting.
Well, honestly i’m not good at it also, in fact i’m not good at linux at all. But this is the opportunity to learn. So.. why not i say
And after three days of no luck finally i got it right(well atleast it worked on me hehehe…).
Step 1.
Install your webmin. It’s quite easy. After you got your copy of webmin’s rpm just type rpm -ivh [webmin file] in your console. If you having any trouble when installing webmin, try to download it again. I had experienced V3 DSA signature: BAD, key ID 11f63c51 error, and it is likely because of i download the package from my windows OS and copying it to linux. After re-download it again from linux OS, it worked.
Step 2.
After succesfully installation, open webmin using your favorite browser and go to http://localhost:10000
Login to your webmin. For default, use your os account name and password. You can create your own webmin user if you like, using Webmin user menu.
Step 3.
Go to Networking menu and choose BIND DNS Server. I Assume that you already installed bind service in your linux. If not, you must install it first! To see whether your system already had bind package, type rpm -qa | grep bind in your console. It should preview something like this

installed bind package list

Step 4.
Click on Create Master Zone menu. And fill Domain name/ Network with your desired domain name, Master server is your host name, and Email address with root@[your domain name] and click Create.

snapshot2.jpg

you will be redirected to record page.

Step 5.
In record page, choose Address menu. Fill Name with www and Address with your host IP. If you are not connected to a network, you can use 127.0.0.1

snapshot3.jpg

And click create. You will see the new added address in the list.

Step 6.

Last is to restart your bind service. Type /etc/init.d/named restart. In the beginning of my many attempts this is not working. But after i restart my xinetd service.. /etc/init.d/xinetd restart it finally worked.

Well, Good Luck

Powered by ScribeFire.

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.