V
V
VicTHOR2020-11-05 11:18:48
linux
VicTHOR, 2020-11-05 11:18:48

How easy is it to set up DNS forwarding in a CentOS virtual machine?

Task: when accessing the local network, any computer that enters the address ourteam.dom (for example) was redirected to a virtual machine that had a static ip conditionally 192.168.1.111 in the adapter parameters
. After that, you need to process this address through nginx. How to approach this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2020-11-05
@VicTHOR

Deploy a DNS server on the local network that will respond to clients with local addresses for certain domains. It is a centralized and flexible solution.
You can simply add this domain to all the necessary local hosts /etc/hosts.. This is easier, but in fact it is a crutch.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question