Lines Matching refs:zone
85 * Queries all resource records of a zone given its domain name and class.
87 * the name server (and also on the zone transfer, but it won't matter).
89 ResourceRecords queryZone(DnsName zone, int rrclass, boolean recursion)
93 new DnsClient(findNameServers(zone, recursion), timeout, retries);
95 return cl.queryZone(zone, rrclass, recursion);
102 * Finds the zone of a given domain name. The method is to look
104 * the root. This search may be partially bypassed if the zone's
123 if (rrs.answer.size() > 0) { // found zone's SOA
126 // Look for an SOA record giving the zone's top node.
131 DnsName zone = rr.getName();
132 if (fqdn.endsWith(zone)) {
133 return zone;
145 * Finds a zone's SOA record. Returns null if no SOA is found (in
146 * which case "zone" is not actually a zone).
149 ResourceRecord findSoa(DnsName zone, int rrclass, boolean recursion)
152 ResourceRecords rrs = query(zone, rrclass, ResourceRecord.TYPE_SOA,
164 * Finds the name servers of a zone. <tt>zone</tt> is a fully-qualified
165 * domain name at the top of a zone.
168 private String[] findNameServers(DnsName zone, boolean recursion)
174 query(zone, ResourceRecord.CLASS_INTERNET, ResourceRecord.TYPE_NS,