Join 2 networks and DNS entries

I got a company network with domain names *.company.com and a subnet of 172.16.84.0/24. This network restricts access to Internet via proxy. Let's call this NET_A
There is a different network 192.168.1.0/24 that it does dhcp and no restriction to internet.Lets call this NET_B
i would like to "merge" those 2 networks and have a new subnet for a small portion of devices. this network will be 10.10.10.0/24 (NET_C) and will route everything to the unrestircted network (NET_B), unless there is a request to URL(s) *.company.com which will be router to NET_A

The devices in NET_C should not have proxy settings

My thought is to have a PC running OperWRT and have 3 ethernet cards:
-eth0: NET_A
-eth1: NET_B. Default gateway will be here.
-eth2: NET_C

Up to now i got working only the NAT to eth1 (NET_B), unrestricted access to Internet. I do not know how to route to eth0: NET_A when there is a call to *.company.com