Possible to exclude domain from firewall forwarding?

I have a VPN configured with a kill switch (basically a script that pushes the forwarding rule below which disables lan to wan forwarding).

But what I'm looking to achieve is to keep this script but exclude one domain so that it can still resolve. Is this possible within firewall forwarding rules or would it have to be achieved through another method like iptables?

config forwarding
option src 'lan'
option dest 'wan'
option enabled '0'

@gjames92, welcome to the community!

It is possible...you'll have to resolve the domain, then add the relevant IPs...you would do this with ip rule and ip route - not iptables.

(Moved to Installing and Using OpenWrt - Network and Wireless Configuration)