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, uh...@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. -- Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users