My goal is able to browse websites hosted locally with configuration done of Primary as well as Secondary DNS Servers and websites hosted on IIS locally.

Manish Chawda 426 Reputation points
2021-10-30T12:34:12.27+00:00

Hi,

My goal is able to browse websites hosted locally with configuration done of Primary as well as Secondary DNS Servers and websites hosted on IIS locally. Also to achieve browsing of local website even if Primary DNS Server is down I should be able to browse the site with Secondary Server.

I am hereby attaching configuration details of both of my DNS Servers. Kindly advise as to how to resolve the issue.

Internet Information Services
Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,027 questions
0 comments No comments
{count} votes

Accepted answer
  1. Gary Reynolds 9,396 Reputation points
    2021-10-31T12:09:20.423+00:00

    Hi @Manish Chawda

    While you see the Google DNS servers are two IP address, these are only entry points and these reference hundreds, if not thousands of other DNS servers across the internet, that host the details of the all the domains on the internet. This details is the same as you are trying to configure on your local DNS servers.

    DNS is a look up service that is used to convert a name to an IP address. Once the client has the IP address it will then try to connect to the web server.

    The DNS configuration that you are trying to create, is considered to be a local solution and is not accessible from the internet. If you want to have this accessible from the internet then you are better off using a DNS host service, which will provide the underlying infrastructure and registration services for you domains.

    IIS is able to support multiple websites on a single IP address, this is configured by using host headers, which is part of the configuration details I have already provided, this website has more details on how to configure it https://docs.ukfast.co.uk/operatingsystems/windows/iis/hostheaders.html

    If you want to use the solution internally and simplify the configuration, you can configure DNS and website use one IP address. However there are a number of trade offs and a number of single point of failures with this configuration.

    Maybe you could provide some details on the target solution that you are try to archive and if you want this solution to be available from the internet or just internally. I might be able to provide more specific advice.

    Gary.

    1 person found this answer helpful.

4 additional answers

Sort by: Most helpful
  1. Manish Chawda 426 Reputation points
    2021-10-30T12:35:00.583+00:00
    0 comments No comments

  2. Gary Reynolds 9,396 Reputation points
    2021-10-30T22:30:11.017+00:00

    Hi @Manish Chawda

    Glad you came back and asked your question.

    Based on your description I'm assuming you want to get to this configuration, where the roles are separated across a number of servers and you have two DNS servers and a website, I've added an extra web server so both the DNS and web server have redundancy.

    145231-config.png

    Based on this assumption you have a few issues with your DNS configuration as you have mixed the DNS and the web roles with your IP address configuration. The forward lookup zone should look like this:

    145192-forward.png

    And your reverse lookup zone should look like this:

    145193-reverse.png

    Based on this configuration forward zone properties should look this:

    145214-dnsproperties.png

    And the name servers like this:

    145205-ns.png

    When you configure the IIS you will need to have the 172.16.15.185 IP address allocated to the network card. The binding configuration will look like this:

    145232-iis-bindings.png

    You only need to bind the 172.16.15.186 IP address (this assumes that you have assigned this IP address to the network card) to the same server for testing, if you want to do this then the bind string should be the same as 172.16.15.185, like this:

    145226-iis-two-binds.png

    When you setup the second web server, would need to remove the binding from the first server and bind to the 172.16.15.186 IP address to the second web server.

    If you only bind one IP address in the IIS, you will need to remove the other www record from the forward zone, so client don't try to connect to that one.

    The limitation of this solution, if one of the web servers goes off line, the DNS server is not aware of this and will continue to provide the IP address to client, causing a failed connection for that client. To solve this problem you will need to implement some form of network load balancing on the web servers.

    I hope this helps.
    Gary.


  3. Manish Chawda 426 Reputation points
    2021-10-31T10:19:10.417+00:00
    0 comments No comments

  4. Manish Chawda 426 Reputation points
    2021-10-31T10:22:53.557+00:00

    Excellent Sir for understanding my problem. You are genius / brilliant / bind blowing. I thought that no one in community will understand my question or I am totally posting wrong problem, but you have made my day.

    I have already attached as to what is my understanding and how can I achieve the same based on your explanation.

    Thanks again Sir for taking pains and going through all the stuff I posted and in return you also took pain to provide each and every details that's awesome. Thanks a lot! Your are Gr8!

    0 comments No comments