Quote:
Originally posted by RefCom
So, here's what I think you should do - use a service such as dyndns.org and have THEM host the DNS. You'll have a really hard time doing the nameservers yourself - just because of the way the technology is. Not to say it isn't possible! But it just won't work well even if you do know what you are doing inside out.
|
I agree, the problems with hosting your own DNS with a single routable IP (fault tolerance for a start) means that its a headache you only want to take on if you like headaches...
However here's loosely what you need to do:
Contact the registrar of Gatorstudios.com and ask them to register 2 names servers: ns1.gatorstudios.com and ns2.gatorstudios.com assign them the IP address of your machines. Your problem is... you need these to be static as they can't be dynamically updated. So if your IP address changed the whole setup would fail.
Assuming your IP didn't change then your DNS service would be able to resolve the names for you. eg:
www.gatorstudios.com=xyz.xyz.xyz.xyz
However remember that your LAN IP addresses (172.26.0.x) are not going to be routable, so your web server will need to be on the same machine as your DNS...
Whatsmore your LAN machines will resolve the hostnames (
www.gatorstudios.com) to public IP so this had better be acesssible from inside your network and not just reach your router.
I've never tried it but I think the only way this could work is if your web server/ nameserver and gateway machine are all one! Not an ideal set-up.