Page 1 of 1

How best to set create multiple DNS records for static IPs?

Posted: Wed Oct 05, 2011 4:57 am
by dinomic
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?

Re: How best to set create multiple DNS records for static I

Posted: Wed Oct 05, 2011 5:04 am
by bigfoot65
Check out the Aliases section in the networking tab. That might meet your requirements. It will allow you to give aliases to IP addresses. For example, I set my network printer alias to PRINTER so if I want to access the admin console, I only have to enter PRINTER.

Re: How best to set create multiple DNS records for static I

Posted: Wed Oct 05, 2011 5:20 am
by dinomic
bigfoot65, you *are* the MAN!

I didn't think of using the aliases. :oops:

And you're right, they work (other than I have to use the fully qualified name when accessing from Static IP machines).

Thanks, that certainly opens up more opportunities! :D