How to install external DNS Server on Windows server 2008?
After 2 days hard working I'm confused about DNS servers.
i registered a domain name and want to host my own DNS for my website.
i install DNS Role and IIS on a windows server 2008 R2 and config them all and set 127.0.0.1 and 18.104.22.168 on my network interface on my serve .
on my server i have 2 website
dns1.mysite.com //to set it on my domain panel as name server
now everything work on my server , when i type mysite.com at my web browser i can see my site.and when i ping mysite.com it reply my server static ip.
but on internet it does not work. i mean if you type dns1.mysite.com or mysite.com not works and i got request time out when i ping theme.
at this state if you set my server IP as DNS server at your network adapter(interface) everything work great.
how can i have a DNS Server like that hosting using on our domains like dns1.godaddy.com ?
i should register my DNS on any where like a organization or website or...?
For the local nic you should _always_ configure dns servers that have the same scope. I think 22.214.171.124 and 127.0.0.1 will never have the same scope. Note that the configuration of multiple dns servers is only there for failover purposes. If the first one
is working, the second one is never used.
You should create a zone on your dns server matching your domain, and you should request your registrar to make your server authorative over your zone. Some providers let you configure this yourself (on a weninterface), so please consult the documentation
provided by the service provider/registrar. If in doubt, they will be the primary contact point as the required configuration depends on theirs.
Note that when you want to host a public dns server, the server should be reachable from the internet on port 53 tcp/udp and you should follow guidelines for serrver security very strictly.
Also be aware updates on dns servers need some time to be applied worldwide due to caching that has to expire and zone transfers that might be needed. be patient.
Thanks SenneVL for your nice answer .
my server IP is static and reachable from Internet,then why when you add my server ip on your network adapter as a DNS it works and you can type mysite.com on your browser and see my site?
you said "Also be aware updates on dns servers need some time to be applied worldwide due to caching that has to expire and zone transfers that might be needed. be patient."
how long it takes?