java.io.Serializable, java.lang.Iterable<org.xbill.DNS.RRset>public class SecureableZone
extends org.xbill.DNS.Zone
| Constructor | Description |
|---|---|
SecureableZone(org.xbill.DNS.Name zone,
int dclass,
java.lang.String remote) |
Creates a Zone by performing a zone transfer to the specified host.
|
SecureableZone(org.xbill.DNS.Name zone,
java.lang.String file) |
Creates a Zone from the records in the specified master file.
|
SecureableZone(org.xbill.DNS.Name zone,
org.xbill.DNS.Record[] records) |
Creates a Zone from an array of records.
|
SecureableZone(org.xbill.DNS.ZoneTransferIn xfrin) |
Creates a Zone by doing the specified zone transfer.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addRecord(org.xbill.DNS.Record r) |
Adds a Record to the Zone.
|
org.xbill.DNS.Record |
getNXTRecord(org.xbill.DNS.Record queryRecord,
org.xbill.DNS.Zone zone) |
Return a NXT record appropriate for the query.
|
void |
removeRecord(org.xbill.DNS.Record r) |
Removes a record from the Zone.
|
addRRset, AXFR, findExactMatch, findRecords, getDClass, getNS, getOrigin, getSOA, iterator, removeRRset, toMasterFile, toStringpublic SecureableZone(org.xbill.DNS.ZoneTransferIn xfrin)
throws java.io.IOException,
org.xbill.DNS.ZoneTransferException
xfrin - The incoming zone transfer to execute.java.io.IOException - if there is an error.org.xbill.DNS.ZoneTransferException - if there is an error.public SecureableZone(org.xbill.DNS.Name zone,
int dclass,
java.lang.String remote)
throws java.io.IOException,
org.xbill.DNS.ZoneTransferException
zone - zone name.dclass - the dclassremote - the remote host.java.io.IOException - if there is an error.org.xbill.DNS.ZoneTransferException - if there is an error.public SecureableZone(org.xbill.DNS.Name zone,
java.lang.String file)
throws java.io.IOException
zone - The name of the zone.file - The master file to read from.java.io.IOException - if there is an error.public SecureableZone(org.xbill.DNS.Name zone,
org.xbill.DNS.Record[] records)
throws java.io.IOException
zone - The name of the zone.records - The records to add to the zone.java.io.IOException - if there is an error.public void addRecord(org.xbill.DNS.Record r)
addRecord in class org.xbill.DNS.Zoner - The record to be addedRecordpublic void removeRecord(org.xbill.DNS.Record r)
removeRecord in class org.xbill.DNS.Zoner - The record to be removedRecordpublic org.xbill.DNS.Record getNXTRecord(org.xbill.DNS.Record queryRecord,
org.xbill.DNS.Zone zone)
queryRecord - the query record.zone - the zone to search.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.