Package org.xbill.DNS
Class NSRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.SingleNameBase
org.xbill.DNS.SingleCompressedNameBase
org.xbill.DNS.NSRecord
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Record>
Name Server Record - contains the name server serving the named zone
- See Also:
-
Field Summary
Fields inherited from class org.xbill.DNS.SingleNameBase
singleName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name for which additional data processing should be done for this record.Gets the target of the NS RecordMethods inherited from class org.xbill.DNS.SingleCompressedNameBase
rrToWireMethods inherited from class org.xbill.DNS.SingleNameBase
getSingleName, rdataFromString, rrFromWire, rrToStringMethods inherited from class org.xbill.DNS.Record
byteArrayFromString, byteArrayToString, checkByteArrayLength, checkName, checkU16, checkU32, checkU8, cloneRecord, compareTo, equals, fromString, fromString, fromWire, fromWire, fromWire, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, sameRRset, setTTL, toString, toWire, toWire, toWireCanonical, unknownToString, withDClass, withName, writeReplace
-
Constructor Details
-
NSRecord
NSRecord() -
NSRecord
Creates a new NS Record with the given data- Parameters:
target- The name server for the given domain
-
-
Method Details
-
getTarget
Gets the target of the NS Record -
getAdditionalName
Description copied from class:RecordReturns the name for which additional data processing should be done for this record. This can be used both for building responses and parsing responses.- Overrides:
getAdditionalNamein classRecord- Returns:
- The name to used for additional data processing, or null if this record type does not require additional data processing.
-