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