M
M
maksachv2017-08-22 18:22:22
Domain Name System
maksachv, 2017-08-22 18:22:22

Setting up DNS on Mikrotik?

How to do?
There are 2 PCs in the local network. One is 192.168.88.20 and the other is 192.168.88.30. On one is the site mysite1.ru, and on the other mysite2.ru. One external ip. How to configure DNS Static on Mikrotik so that it sends a request from the external Internet to the desired local ip?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Axian Ltd., 2017-08-22
@AxianLTD

Dns is out of business here. As far as I know, RouterOS proxy does not support rewrite. So the correct solution would be to install something like nginx, send all traffic to it, and split sites there.

P
paxlo, 2017-08-22
@paxlo

No way. We need a balancer from nginx, for example, which will redirect to the desired backend.

P
pr0l, 2017-08-22
@pr0l

send to one and turn on the proxy on it to the second

D
Diman89, 2017-08-22
@Diman89

hairpin nat + src address + dst address

V
Vladimir Zhurkin, 2017-10-24
@icCE

How to do?
There are 2 PCs in the local network. One is 192.168.88.20 and the other is 192.168.88.30. On one is the site mysite1.ru, and on the other mysite2.ru. One external ip. How to configure DNS Static on Mikrotik so that it sends a request from the external Internet to the desired local ip?

Several options:
Make port forwarding on one machine and it will continue to transfer to the second and be a kind of balancer.
If not critical, hang sites on different ports and forward. One to 80 the other to 81.
At the same time, physically inside the network they will be on port 80, only from the outside they will be on different ones.
You need to configure DNS where you have domain names and bind ip to what your provider gives you. (white static.)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question