code: public static dnsnsrec get(nitro_service service, String domain) throws Exception{
  		dnsnsrec obj = new dnsnsrec();
  		obj.set_domain(domain);
  		dnsnsrec response = (dnsnsrec) obj.get_resource(service);
  		return response;
  	}
docs: Use this API to fetch dnsnsrec resource of given name .