Before creating DNS record, make sure this zone is already created, follow the guide to create the dns zone.
cyberpanel createDNSRecord --domainName cyberpanel.net --name cyberpanel.net --recordType A --value 192.168.100.1 --priority 0 --ttl 3600
–recordType → A, MX, CNAME, TXT and all those supported by CyberPanel GUI.