code: public static base_response add(nitro_service client, dnsnsrec resource) throws Exception {
  		dnsnsrec addresource = new dnsnsrec();
  		addresource.domain = resource.domain;
  		addresource.nameserver = resource.nameserver;
  		addresource.ttl = resource.ttl;
  		return addresource.add_resource(client);
  	}
docs: Use this API to add dnsnsrec.