SOLVED bind /etc/named.conf should domains be in internal and external view section?

horizon2021

Active Member
Jan 31, 2021
43
3
8
USA
cPanel Access Level
Root Administrator
I have two WHM/cPanel servers running bind as the dns server and functioning as web and dns server.

Looking at the file /etc/named.conf I notice the older server has all domains in internal view and external view. (duplicated in both internal and external views section)

On the new server I notice domains are in the internal view section only of /etc/named.conf

Both seem to report fine testing with intodns.com but I'm wondering which is correct.
 

horizon2021

Active Member
Jan 31, 2021
43
3
8
USA
cPanel Access Level
Root Administrator
Thanks very much for checking on an example install for me and for the solution.

Yes, moving /etc/named.conf to named.conf.backup and then running /scripts/rebuilddnsconfig fixed it, recreating a new named.conf file with the authoritative domains in both the internal and external view sections.

Thanks!