Lines Matching defs:Zone
9 * A DNS Zone. This encapsulates all data related to a Zone, and provides
15 public class Zone implements Serializable {
19 /** A primary zone */
22 /** A secondary zone */
40 synchronized (Zone.this) {
120 " does not match zone origin " +
128 * Creates a Zone from the records in the specified master file.
129 * @param zone The name of the zone.
134 Zone(Name zone, String file) throws IOException {
137 if (zone == null)
138 throw new IllegalArgumentException("no zone name specified");
139 Master m = new Master(file, zone);
142 origin = zone;
149 * Creates a Zone from an array of records.
150 * @param zone The name of the zone.
151 * @param records The records to add to the zone.
155 Zone(Name zone, Record [] records) throws IOException {
158 if (zone == null)
159 throw new IllegalArgumentException("no zone name specified");
160 origin = zone;
183 * Creates a Zone by doing the specified zone transfer.
184 * @param xfrin The incoming zone transfer to execute.
188 Zone(ZoneTransferIn xfrin) throws IOException, ZoneTransferException {
193 * Creates a Zone by performing a zone transfer to the specified host.
197 Zone(Name zone, int dclass, String remote)
200 ZoneTransferIn xfrin = ZoneTransferIn.newAXFR(zone, remote, null);
205 /** Returns the Zone's origin */
211 /** Returns the Zone origin's NS records */
217 /** Returns the Zone's SOA record */
223 /** Returns the Zone's class */
426 * Looks up Records in the Zone. This follows CNAMEs and wildcards.
438 * Looks up Records in the zone, finding exact matches only.
453 * Adds an RRset to the Zone
464 * Adds a Record to the Zone
484 * Removes a record from the Zone
504 * Returns an Iterator over the RRsets in the zone.
512 * Returns an Iterator over the RRsets in the zone that can be used to
536 * Returns the contents of the Zone in master file format.
552 * Returns the contents of the Zone as a string (in master file format).