R
R
rama_jecboom2021-09-07 21:32:18
Nginx
rama_jecboom, 2021-09-07 21:32:18

How to make DNS server on nginx with forwarding?

Good afternoon, I installed nginx, I tried to make a dns server, it doesn’t work, I would like to ask you for an example, etc. how to do it. The bottom line is that you need a DNS server (NOT A DOMAIN NAME, etc.) for it to work and if, for example, a person comes to https://перваяссылка1.ру/тест1/тест2redirect tohttps://втораяссылка2.ру/тест1/тест2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2021-09-07
@rama_jecboom

DNS has nothing to do with it - what you want is done with rewrite, or return. Take a look at the documentation, there are examples.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question