You can edit the DNS Zone via SSH by editing .db file of the particular user. Let us see the procedure in detail.
  • Login to SSH as root.
  • Now execute the command-
cd /var/named
  • Execute ls command to get the list of all users.
  • To edit DNS Zone of any domain execute the following command:
vi username.db
  • All the DNS Records of particular user will appear on the prompt. 
  • Edit the one as per your choice then save and exit.
With the above given steps, you can easily edit the DNS Zone of a user via SSH. You can edit the DNS Zone from WinSCP as well. Check out the video tutorial and blog to get in detail procedure for the same.
Was this answer helpful? 0 Users Found This Useful (0 Votes)