Change cPanel DNS record via terminal

To change, add or remove some account record of WHM cPanel via terminal use the steps below, before just remember that you must have minimal knowledge of what you are doing, change a key erroneously may suspend the operation of your domain, we are not responsible for any results … follow the steps:

In the terminal as root server access the domain files in: /var/named
Edi
t the file for the domain: nano /var/named/domain.com.br.db
To term
inate after editing the keys you need to restart the DNS server and reload your cache, the steps are: systemctl restart named and after rndc reload

ready!

We emphasize that the whole procedure is the entire responsibility of those who are performing it, this above is knowledge of personal use that is being shared.
For any questions I leave a comment or send a message.