S
S
Sergey2019-06-04 17:15:14
Domain Name System
Sergey, 2019-06-04 17:15:14

How can I make a different configuration of one DNS zone outside and inside the local network?

The question may be stupid, but still.
There is conditionally outside the primary DNS server serving the example.com zone.
I would like inside the DNS server with the same zone example.com, also as primary, but the zone will have a different configuration (with local addresses).
Why is this needed? For example, in order for an external client accessing host1.example.com to receive an external reverse-proxy address and then go where it needs to go, at the same time, inside the network, this host1.example.com would resolve to an internal address.
For some reason, it seems to me that if you just take and make a zone in the internal DNS server that already exists outside - this is not a very elegant solution, maybe there are other options.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Fedoseev, 2019-06-04
@Kamikaze

there is such a concept in bind - view
is exactly what you are asking

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question