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