How best to set create multiple DNS records for static IPs?
Posted: Wed Oct 05, 2011 4:57 am
Recently, I’ve been trying to move all my virtual machines to the Amahi box (using VirtualBox), and save me needing to have a Server2008 machine always running when the Amahi box is already on 24/7.
Anyway, one of the issues I have is to do with using the same static IP for more than 1 DNS record. For example, with web stuff, it’s very likely that you’ll have the webserver listening on a given IP address for a number of Host Headers (eg “www.mydomain.com” for port 80, and “secure.mydomain.com” for port 443).
Now, I’ve got webmin installed so that I could set DNS stuff, but I’ve found that entries seem to sometimes get wiped and replaced by Amahi. So I then looked at getting the job done by setting static IPs for the desired Host Headers through the HDA control panel ("Networking -> Static IPs"), but it appears that each entry in the “Static IPs” has to be a unique IPs (ie I can’t create seem to create more than 1 entry for the same IP address).
So far, I've been using entries in the local Windows "hosts" file to direct traffic to the right IP, but if I can centrally manage these DNS entries I could then use other devices that don't have a local "hosts" file (eg iPhone, iPad, etc).
Does anyone know of the best way to get this done?
Anyway, one of the issues I have is to do with using the same static IP for more than 1 DNS record. For example, with web stuff, it’s very likely that you’ll have the webserver listening on a given IP address for a number of Host Headers (eg “www.mydomain.com” for port 80, and “secure.mydomain.com” for port 443).
Now, I’ve got webmin installed so that I could set DNS stuff, but I’ve found that entries seem to sometimes get wiped and replaced by Amahi. So I then looked at getting the job done by setting static IPs for the desired Host Headers through the HDA control panel ("Networking -> Static IPs"), but it appears that each entry in the “Static IPs” has to be a unique IPs (ie I can’t create seem to create more than 1 entry for the same IP address).
So far, I've been using entries in the local Windows "hosts" file to direct traffic to the right IP, but if I can centrally manage these DNS entries I could then use other devices that don't have a local "hosts" file (eg iPhone, iPad, etc).
Does anyone know of the best way to get this done?