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