code: public static base_response delete(nitro_service client, dnsaddrec resource) throws Exception {
  		dnsaddrec deleteresource = new dnsaddrec();
  		deleteresource.hostname = resource.hostname;
  		deleteresource.ipaddress = resource.ipaddress;
  		return deleteresource.delete_resource(client);
  	}
docs: Use this API to delete dnsaddrec.