We have an intranet DNS server using Unbound in FreeBSD. We have another file server with multiple network IP, First one is 10.10.10.10
and Second one in 192.168.10.10
.
Is there any way that DNS server provide different IP for this file server based on the client network?
Eg:
For the user from 10.10.x.x network, fileserver ip should be 10.10.10.10
For the user from 192.168.x.x network, fileserver ip should be 192.168.10.10
.
Best Answer
The jargon for that is normally "split horizon DNS".
In Unbound that is implemented via "tags and views" functionality. Those make it possible to send specific DNS answers based on the IP address of the client.