/* * Queries resource records of a particular class and type for a * given domain name. * Useful values of rrclass are ResourceRecord.[Q]CLASS_xxx. * Useful values of rrtype are ResourceRecord.[Q]TYPE_xxx. * If recursion is true, recursion is requested on the query. * If auth is true, only authoritative responses are accepted. */ ResourceRecords query(DnsName fqdn, int rrclass, int rrtype, boolean recursion, boolean auth) throws NamingException { return dnsClient.query(fqdn, rrclass, rrtype, recursion, auth); }