I would like to know if there's any way of having a DNS server on Linux that runs a script and reply a different IP list depending on the script data returned.
I've searched Google for 'DNS server with scripting' but found nothing.
EDIT: I wanted to return a different IP list depending of the request IP and found an answer here: https://stackoverflow.com/questions/774490/dns-resolving-based-on-client-ip and @Rex told me about GeoDNS.
I leave this open just in case someone has the 'DNS scripting' answer, for others to know.