Archive for November, 2008

How to Setup DNS in Webmin

After the installation of Webmin, I have not been able to catch up with it lately as I was busy over other personal stuff. So I will write quick-setup on DNS in Webmin.

Here are instructions:

1. Log into Webmin control panel
2. Update Webmin if necessary
3. Go to Servers > Bind DNS Server

Create a Master Zone
1. Click on Create Master Zone
2. Enter the domain into Domain name / Network
3. Enter the domain into Master server
4. Check Add NS record for master server? (optional)
5. Enter the email into Email address
6. Enter the IP address into IP address for template records
7. Click Create
You will be redirected to the zone page of the domain that you created.

Create Address Records
1. Click on Address
2. Leave the Name field blank
3. Enter the IP into Address field
4. Click Create
Create www address record
5. Enter www in the Name
6. Enter the IP into Address field
7. Click Create
Create mail address record
7. Enter mail in the Name
8. Enter the IP into Address field
9. Click Create
Create ftp address record
10. Enter ftp in the Name
11. Enter the IP into Address field
12. Click Create
Create ns1 address record
13. Enter ns1 in the Name
14. Enter the IP into Address field
15. Click Create
Create ns2 address record
16. Enter ns2 in the Name
17. Enter the IP into Address field
18. Click Create
After you created necessary address records, click on the Return to Record Types.

Create Name Server (NS)
1. Click on Name Server
2. Enter the domain followed by dot (.) in Zone Name (e.g, domain.com.)
3. Enter ns1.domain.com. into Name Server
4. Repeat the above to create ns2.domain.com. as well
After Name servers are created, click on the Return to Record Types.

If you wish to create Mail Server on the domain, follow the below:
Create MX Record
1. Click Mail Server
2. Enter domain.com. into Name
3. Enter mail.domain.com. into Mail Server
4. Enter 10 in Priority
5. Click Save

If you have a problem or like this tutorial, I’d like to hear from you.

Leave a Comment