code: public static dnsnsrec[] get(nitro_service service) throws Exception{
  		dnsnsrec obj = new dnsnsrec();
  		dnsnsrec[] response = (dnsnsrec[])obj.get_resources(service);
  		return response;
  	}
docs: Use this API to fetch all the dnsnsrec resources that are configured on netscaler.