HI guys, I dont actually know how to ask this question correctly...so i will muddle my way through it. As i may have already stated somewhere else, I build wordpress websites and have been a reseller in the past. I have played around quite a bit with LAMP servers on my home network, however, my understanding of dns is limited by my innability to properly visualise the working model.
I note that we are supposed to have more than one name server for dns. Can this be achieved from a single server with multiple virtual servers on, for example, Google Cloud Compute? So the single Google Cloud Compute instance would be the only external ip address...all of the other ones would be internal ones i create myself on my own little network contained within this instance. So the model would be:
1 GCC instance (A single external/public ip address, Google internal network ip address) a. webhosting server (create my own internal network ip address.3) b. name server 1 (create my own internal network ip address.1) c. name server 2 ( create my own internal network ip address.2) d. mail server (create my own internal network ip address.4)
I am asking this because i am really unsure about nameservers and am trying to understand exactly how they may be configured from a networking point of view.
My assumption is that I register a "nameserver domain" with a registrar then point 2 A records at my own GCC name servers for that domain (ie ns1.mynameserverdomain.com.au, ns2.mynameserverdomain.com.au)
What i want to do, is instead of using multiple GCC instances, i want all of the above to be on a single GCC instance, however, have my own individual virtual machines on that instance to perform the above tasks (ie shared webhosting clients, mail, nameservers etc). These virtual servers (2 of which would be my nameservers) would only have unique internal ip addresses as their external ip address is the Google Cloud Instance IP.
Can i create my own internal ip addresses for my network for all of the above tasks and then access them via a registrar?
IF the above is yes, can this all be done using webmin/virtualmin or do i need to use cloudmin too?
At present i am finding a lot of information about all of this, however, it a large amount of separate articles that i am having to piece together to form the model i am after. Because I am having trouble visualising if anyone could create a visual image showing how this works (with webmin) that would be really appreciated (post a link to dropbox or something for me to download..or point me in the direction of a youtube video that explains it all)
EDIT I guess what i am also asking is, are nameservers that are used by registrars machines with ip addresses that are sold to them by an international allocation of ip addresses? If so, does this mean that i have to use my registrars 3 nameservers to point at my own 3 nameservers, or do i need just 1 nameserver record at my registrar pointing to my domain name that is split up into 2 or three name servers with ip addresses on my own network? (hope this is making sense)
I had thought that perhaps a domain, could be the basis for any dns and nameserver searches...and that once the domain registrar is found and the clients browser is pointed at the external domain ip address, any of the internal domain namservers and webhosting accounts contained on that Google Cloud instance internal virtual servers network could then be resolved...oh goodness im lost already!!!
kind regards, Adam.