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

dinomic
Posts: 65
Joined: Mon Jan 03, 2011 6:49 am

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

Postby dinomic » 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?
Norco 4220 Case
Gigabyte GA-G33-DS3R Motherboard w/ 8GB RAM
LSI SAS2116PCIe 6GB/s SAS (replaced 3Ware 9690SA-4I & Chenbro CK1360)
1 x Hitachi 160Gb2.5" System Drive (original 1 x OCZ 60GB Vertex 2 SATAII 2.5" SSD died)
8 x 4TB Hitachi Deskstars
6 x 3TB Hitachi Deskstars
6 x 2TB Hitachi Deskstars (1 dead!)

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

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

Postby bigfoot65 » Wed Oct 05, 2011 5:04 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

dinomic
Posts: 65
Joined: Mon Jan 03, 2011 6:49 am

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

Postby dinomic » Wed Oct 05, 2011 5:20 am

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
Norco 4220 Case
Gigabyte GA-G33-DS3R Motherboard w/ 8GB RAM
LSI SAS2116PCIe 6GB/s SAS (replaced 3Ware 9690SA-4I & Chenbro CK1360)
1 x Hitachi 160Gb2.5" System Drive (original 1 x OCZ 60GB Vertex 2 SATAII 2.5" SSD died)
8 x 4TB Hitachi Deskstars
6 x 3TB Hitachi Deskstars
6 x 2TB Hitachi Deskstars (1 dead!)

Who is online

Users browsing this forum: No registered users and 23 guests