M
M
maksachv2018-11-07 01:09:14
Domain Name System
maksachv, 2018-11-07 01:09:14

DNS server local domains in an external network?

Help with solving this issue, there are 3 servers:
1. The DNS server on win server 2012 has a local ip 192.168.88.10
2. The server with sites has a local ip 192.168.88.11
3. The server with sites has a local ip 192.167.88.12 Everyone has an
external IP same.
How to configure DNS so that, when requested from an external network, it gets to the right server and that the site has the right ip?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Rsa97, 2018-11-07
@Rsa97

DNS won't help here. These gray addresses on WANs are usually not routable.
You need to configure all sites on the external DNS to the external white static address of your router, forward ports 80 and 443 on the router to one of the servers and raise a reverse proxy on this server to your sites.

V
vreitech, 2018-11-07
@fzfx

As for DNS, assign each domain name an A-record with an external IP (thus, which is the same for everyone).
all that remains is to forward the necessary TCP ports (80, 443) to one of the servers with sites and configure a reverse proxy on it (for example, nginx), but this has nothing to do with the DNS server.

A
Alexander Chernykh, 2018-11-07
@sashkets

two options
1. play with forwarding, as you were told above
2. throw into each server with sites on a network card, to which external addresses are nailed (they must be taken from the provider). Set up external dns (forward and reverse zones, not to be confused with local). On servers, we hang sites on external addresses
, item 2 costs more, but this way is the most correct

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question