How Do I Set My Domains DNS ?

8daysaweek

Distinguished
Jun 21, 2013
68
0
18,630
Hi: I'm setting up a virtual-server at home.

I've set-up the Server-IP to a non-routable-LAN-IP and reserved that IP in my broadband router.

I WILL Port_Forward my routers Port 80, to the servers non-routable-LAN-IP.

My broadband router is the usual DHCP type:
Its routable-IP has stayed constant for quite some time,
so for now at least, I don't want to use a Dynamic-DNS-Service.

So now I need to set-up my domains DNS to point to the server.

I want to use one domain as a Private-Named-Server
...and add other domains as a normal domains.

So as an example:
If I had a hosting business named SuperHosting & its website was SuperHosting.com
then that domain could be set-up as the Private-Named-Server domain, as follows...

NS1.SuperHosting.com + its IP, eg: 216.239.32.10 (ie whatever my routable-IP is)
NS2.SuperHosting.com + its IP, eg: 216.239.32.11 (but what should this IP be ?)

And the normal domains would use the above PNS as follows, ie:

ClientsDomainOne.com =
NS1.SuperHosting.com + its IP, eg: 216.239.32.10 (ie whatever my routable-IP is)
NS2.SuperHosting.com + its IP, eg: 216.239.32.11 (but what should this IP be ?)

ClientsDomainTwo.com =
NS1.SuperHosting.com + its IP, eg: 216.239.32.10 (ie whatever my routable-IP is)
NS2.SuperHosting.com + its IP, eg: 216.239.32.11 (but what should this IP be ?)

ete,etc.

NB: When I've hosted a website using a regular hosting company. they usually give you 2 IPs for your domain, or sometimes just say that the NS2-IP is the same as the first, but +1

I know my routers routable-IP, but it's just one IP, for NS1, so what should my NS2 IP be ?

Thanks
 

Houlden

Honorable
Sep 17, 2013
23
0
10,540
Would this not be best done using a DMZ on the network?

Also, what is your requirement (i.e. what will you be using it for)? If it's just website based stuff, you can always run a local web server and run stuff off there.
 
Multiple DNS servers are for redundancy (that is, if one of DNS servers is not available, client will ask the other one.

So, the questions are, who are DNS servers for your "ClientDomainOne" and "ClientDomainTwo"? These are the servers you've assigned while registering these two domains. Once you do that, you enter this DNS' server configuration, and change A record to point to your router' external IP address.
 

8daysaweek

Distinguished
Jun 21, 2013
68
0
18,630

Thanks for the reply...
YES, I get that, but what do you do when like me, you only have one IP address ?
Do I put my routers-(single)-external-IP-address (ie the same IP address) against both NS1 & NS2, ie...

NS1.SuperHosting.com + its IP, eg: 216.239.32.10 (ie, whatever my routable-IP is)
NS2.SuperHosting.com + its IP, eg: 216.239.32.10 (ie, same as NS1)

And the normal domains would use the above PNS as follows, ie:

ClientsDomainOne.com =
NS1.SuperHosting.com + its IP, eg: 216.239.32.10 (ie whatever my routable-IP is)
NS2.SuperHosting.com + its IP, eg: 216.239.32.10 (ie same as NS1)

ClientsDomainTwo.com =
NS1.SuperHosting.com + its IP, eg: 216.239.32.10 (ie whatever my routable-IP is)
NS2.SuperHosting.com + its IP, eg: 216.239.32.10 (ie same as NS1)

Thanks


 

8daysaweek

Distinguished
Jun 21, 2013
68
0
18,630

Alabalcho: Thanks so much for your reply, it's always good to have such a helpful and definitive answer.
Because doing something, that then happens to work, doesn't always mean that it's correct, reliable, or best practice.

Thanks
 

abysse

Honorable
Sep 13, 2013
31
0
10,540
Moreover, DNS changes propagate slowly, so even if you make a change at the DNS, it won't take effect immediately.

-> Partially true

For the DNS to propgate throughout the whole web takes time but it does resolve within 5 minutes after updating your DNS zones at your registrar level.
Providers are saying that because to prevent some support tickets about the DNS cache issues and the higher resolving time.

Great place to check if your DNS settings are propagated :

intodns.com
 

abysse

Honorable
Sep 13, 2013
31
0
10,540
Moreover, DNS changes propagate slowly, so even if you make a change at the DNS, it won't take effect immediately.

-> Partially true

For the DNS to propgate throughout the whole web takes time but it does resolve within 5 minutes after updating your DNS zones at your registrar level.
Providers are saying that because to prevent some support tickets about the DNS cache issues and the higher resolving time.

Great place to check if your DNS settings are propagated :

intodns.com