dig +trace +add example.com NSnamed-checkconf -p
dig domain.ir @server ip goeshere
check named.conf allow-query not set to localhost, any for example
check named.conf listen-to not set to localip, should set to ip pulic,
disable firewalld,iptable,selinux for ignore silents permission errors
I mean especially to work with views to not configure a recursive resolver for the public