How to make view specific dns answer logic?

Good day.
we have been using unbound 1.16.2. as internal DNS that serves both our internal servers and internal DNS clients

I have a task where I need to configure the system so that requests coming from the client IP range 10.211.135.0/24 to *-testdomain-com are resolved to IP 10.10.10.1, while requests for test1-testdomain-com and test2-testdomain-com are resolved to IP 10.10.20.1

At the same time, requests coming from the client IP 10.211.134.0/24 to the same *-testdomain-com should be answered by the external DNS, but requests for test1-testdomain-com and test2-testdomain-com should be answered by IP 10.10.20.1

i have tried to do this by using view

view:
name: “internal_ssl”

 local-zone: "testdomain.com." redirect
 local-data: "testdomain.com. 30 IN A 10.10.10.1"

on external DNS we have test-testdomain-com pointing to 217.11.11.5 . I have assigned users to this view but now when user digs test1-testdomain-com he gets 172.30.110.100 but on another dig gets 217.11.11.5