Possibility of using views to properly return appropriate IP address for hostname based on requestor subnet?

Matus UHLAR - fantomas uhlar at fantomas.sk
Thu Jun 29 11:44:14 UTC 2023


On 28.06.23 15:45, Ubence Quevedo wrote:
>My question is, is there any way to "properly" return a hostname/IP based
>on what network the request is coming from?

bind has "sortlist" statement that could do what you want. It will provide 
all IPs but sorted differently.

Otherwise, you can set up multiple views with different versions of the same 
zone, configured to provide different verision according to source IP.
This is much harder to set up.


-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Emacs is a complicated operating system without good text editor.


More information about the bind-users mailing list