Hello @mk-sb welcome to the balena community!
Actually we do not recommend to introduce specific domains, as this can change and then that can become a problem for you in future versions.
Did you try this? Firewall configuration without wildcards - #2 by ab77