code: def create_zone(server, token, domain, identifier, dtype, master=None):
      
      method = 'PUT'
      uri = 'https://' + server + '/zone'
  
      obj = JSONConverter(domain)
      obj.generate_zone(domain, identifier, dtype, master)
      connect.tonicdns_client(uri, method, token, obj.zone)
docs: Create zone records.
  
      Arguments:
  
          server:     TonicDNS API server
          token:      TonicDNS API authentication token
          domain:     Specify domain name
          identifier: Template ID
          dtype:      MASTER|SLAVE|NATIVE (default: MASTER)
          master:     master server ip address when dtype is SLAVE
                      (default: None)
  
      ContentType: application/json
      x-authentication-token: token