choon
02-15-2002, 07:15 AM
Hi everyone,
I need someone to guide me on how to setup my own domain name servers (ns1 & ns2) on my VDS using webmin and the OS is redhat 7.2. 5 IP addresses were given by my provider.
I have used 2 of the IP addresses to register my name servers of ns1 & ns2 of my domain at my domain registrar.
Besides that, how do I setup a mail server such as mail.mydomain.com and also ftp.mydomain.com for ftp access?
I try to read the linuxdoc.org HOWTO but until I have enough time to read and learn... I need to setup first.
Any help from you guys would be greatly appreciated :D
Many thanks in advance.
Kindest regards,
Choon
Wolfy
02-15-2002, 07:53 AM
If I'm reading your question(s) correctly, these are the steps to take:
Assign your hostnames to your IP's:
- Webmin, hardware, network config, host addresses
- Add your new host addresses matching your nameservers to their ip's
Once that has been done you can create your DNS zones:
- Webmin, servers, Bind DNS
- Create new master zone, complete as required
Then add your hosts etc to that zone:
- Webmin, servers, Bind DNS, Select your zone
- Configure the Addresses, nameservers, alias', mail server etc as required.
I hope that helps. :)
choon
02-15-2002, 09:40 AM
Hi Wolfy,
Many thanks for your help :)
Assign your hostnames to your IP's:
- Webmin, hardware, network config, host addresses
- Add your new host addresses matching your nameservers to their ip's
I have logged into my VDS using webmin. I go to Hardware -> Network Configuration -> Host Addresses and click on the Add a new host address link and added two. The following are my current Host Addresses output:
127.0.0.1 localhost.localdomain localhost
xxx.xx.xxx.xx1 ns1.mydomain.com
xxx.xx.xxx.xx2 ns2.mydomain.com
xxx.xx.xxx.xx1 & 2 is those ip addresses were given by my provider. mydomain.com is just an example.
Once that has been done you can create your DNS zones:
- Webmin, servers, Bind DNS
- Create new master zone, complete as required
I go to Server -> BIND DNS Server and click on the Create a new master zone link and added the following:
- Zone type is forward
- Domain Name is mydomain.com (example)
- Records File is automatic
- Master server is your hostname for your primary nameserver
- Email Address myemailaddress
- Defaults for everything else
- Click on "create"
- Click on "Apply Changes" back in the BIND module page
Then add your hosts etc to that zone:
- Webmin, servers, Bind DNS, Select your zone
- Configure the Addresses, nameservers, alias', mail server etc as required.
Err... How do I go about to add ns1.mydomain.com and ns2.mydomain.com? Is it under the Existing DNS Zones and click on the mydomain.com (example) then click on the NS to Add Name Server Record? How about creating mail.mydomain.com and ftp.mydomain.com? What are the steps?
Again, many thanks for any help :D
Kindest regards,
Choon