Use this API to fetch dnssuffix resources of given names .
6100
public static dnssuffix[] get(nitro_service service, String Dnssuffix[]) throws Exception{
		if (Dnssuffix !=null && Dnssuffix.length>0) {
			dnssuffix response[] = new dnssuffix[Dnssuffix.length];
			dnssuffix obj[] = new dnssuffix[Dnssuffix.length];
			for (int i=0;i<Dnssuffix.length;i++) {
				obj[i] = new dnssuffix();
				obj[i].set_Dnssuffix(Dnssuffix[i]);
				response[i] = (dnssuffix) obj[i].get_resource(service);
			}
			return response;
		}
		return null;
	}
663006
public static dnspolicy get(nitro_service service, String name) throws Exception{
		dnspolicy obj = new dnspolicy();
		obj.set_name(name);
		dnspolicy response = (dnspolicy) obj.get_resource(service);
		return response;
	}
238013
public static ipset[] get(nitro_service service) throws Exception{
		ipset obj = new ipset();
		ipset[] response = (ipset[])obj.get_resources(service);
		return response;
	}
995638
public static dnsmxrec[] get(nitro_service service, options option) throws Exception{
		dnsmxrec obj = new dnsmxrec();
		dnsmxrec[] response = (dnsmxrec[])obj.get_resources(service,option);
		return response;
	}
255489
def _get_namespaces(apiserver_url, name=""):
    ''''''
    # Prepare URL
    url = "{0}/api/v1/namespaces/{1}".format(apiserver_url, name)
    # Make request
    ret = http.query(url)
    if ret.get("body"):
        return salt.utils.json.loads(ret.get("body"))
    else:
        return None
930055
def get_domainalias(self, domainid, aliasid):
        """"""
        return self.api_call(
            ENDPOINTS['domainaliases']['get'],
            dict(domainid=domainid, aliasid=aliasid))
791629
public static cacheforwardproxy[] get(nitro_service service) throws Exception{
		cacheforwardproxy obj = new cacheforwardproxy();
		cacheforwardproxy[] response = (cacheforwardproxy[])obj.get_resources(service);
		return response;
	}
1159059
public static dnszone[] get(nitro_service service) throws Exception{
		dnszone obj = new dnszone();
		dnszone[] response = (dnszone[])obj.get_resources(service);
		return response;
	}
978012
public static base_responses add(nitro_service client, dnsnameserver resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dnsnameserver addresources[] = new dnsnameserver[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new dnsnameserver();
				addresources[i].ip = resources[i].ip;
				addresources[i].dnsvservername = resources[i].dnsvservername;
				addresources[i].local = resources[i].local;
				addresources[i].state = resources[i].state;
				addresources[i].type = resources[i].type;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
610797
public static dnscnamerec[] get(nitro_service service) throws Exception{
		dnscnamerec obj = new dnscnamerec();
		dnscnamerec[] response = (dnscnamerec[])obj.get_resources(service);
		return response;
	}
1105358
public static dnsaddrec[] get(nitro_service service, dnsaddrec_args args) throws Exception{
		dnsaddrec obj = new dnsaddrec();
		options option = new options();
		option.set_args(nitro_util.object_to_string_withoutquotes(args));
		dnsaddrec[] response = (dnsaddrec[])obj.get_resources(service, option);
		return response;
	}
858063
def dns_lookup(host, port, afi=socket.AF_UNSPEC):
    """"""
    # XXX: all DNS functions in Python are blocking. If we really
    # want to be non-blocking here, we need to use a 3rd-party
    # library like python-adns, or move resolution onto its
    # own thread. This will be subject to the default libc
    # name resolution timeout (5s on most Linux boxes)
    try:
        return list(filter(is_inet_4_or_6,
                           socket.getaddrinfo(host, port, afi,
                                              socket.SOCK_STREAM)))
    except socket.gaierror as ex:
        log.warning('DNS lookup failed for %s:%d,'
                    ' exception was %s. Is your'
                    ' advertised.listeners (called'
                    ' advertised.host.name before Kafka 9)'
                    ' correct and resolvable?',
                    host, port, ex)
        return []
558899
public static onlinkipv6prefix[] get(nitro_service service) throws Exception{
		onlinkipv6prefix obj = new onlinkipv6prefix();
		onlinkipv6prefix[] response = (onlinkipv6prefix[])obj.get_resources(service);
		return response;
	}
1320723
public static base_response delete(nitro_service client, String Dnssuffix) throws Exception {
		dnssuffix deleteresource = new dnssuffix();
		deleteresource.Dnssuffix = Dnssuffix;
		return deleteresource.delete_resource(client);
	}
1223778
public static gslbservice_dnsview_binding[] get(nitro_service service, String servicename) throws Exception{
		gslbservice_dnsview_binding obj = new gslbservice_dnsview_binding();
		obj.set_servicename(servicename);
		gslbservice_dnsview_binding response[] = (gslbservice_dnsview_binding[]) obj.get_resources(service);
		return response;
	}
600030
public static dnsaaaarec[] get(nitro_service service) throws Exception{
		dnsaaaarec obj = new dnsaaaarec();
		dnsaaaarec[] response = (dnsaaaarec[])obj.get_resources(service);
		return response;
	}
378707
public static dnsglobal_dnspolicy_binding[] get(nitro_service service) throws Exception{
		dnsglobal_dnspolicy_binding obj = new dnsglobal_dnspolicy_binding();
		dnsglobal_dnspolicy_binding response[] = (dnsglobal_dnspolicy_binding[]) obj.get_resources(service);
		return response;
	}