Incoming DNS based load balancing

Hi Team,

Since Vyos can act as WAN load balancer I would like to submit a feature request by which vyos device can act as a NS server or DNS proxy for incoming traffic and it can intercept the incoming A request and respond accordingly. Like peplink DNS proxy or F5 GTM.

In this case assume a scenario if I have vyos and has 2 ISP links terminated on
ISPA - 1.1.1.1
ISPB - 2.2.2.2
domain - example.com
Traffic to be load balanced test.example.com

Then

test.example.com will be a sub-domain delegated in parent NS of example.com

test.example.com NS ns1.test.example.com
test.example.com NS ns2.test.example.com
ns1.test.example.com A 1.1.1.1
ns2.test.example.com A 2.2.2.2

on vyos

test.example.com A 1.1.1.5
test.example.com A 2.2.2.5

So if the NS request received from ISPA then 1.1.1.5 will be given as A record for test.example.com and 2.2.2.5 if that is received on ISPB