The configuration file is in /var/named/chroot/etc/named.conf
Set recursion no;
Restart the dns service after the modification is completed.
#Stop dns service
Pkill -9 named
#Start dns service
/usr/sbin/named -u named -c /etc/named.conf -t /var/named/chroot
We will set the recursive query to off by default in the next version.