How to pass domain traffic with a specific extension through the wan interface

I want to transfer .ir domains through the wan interface . Also in vpn policy routing the domains must be complete. It won't allow .ir
It has edited with dnsmasq and ipset=/ir/wan #irsite.
But there is a problem ,this file is deleted after restart
Do you have any suggestions?
I copy vpn policy routing temporarily and through the script put in schedule, it copy in /var/dnsmasq.d every minute
I will search for solutions

It allows ir though :wink: