org.xbill.DNS
Class NSRecord
java.lang.Object
|
+--org.xbill.DNS.Record
|
+--org.xbill.DNS.NS_CNAME_PTRRecord
|
+--org.xbill.DNS.NSRecord
- public class NSRecord
- extends NS_CNAME_PTRRecord
Name Server Record - contains the name server serving the named zone
|
Constructor Summary |
NSRecord(Name _name,
short _dclass,
int _ttl,
Name _target)
Creates a new NS Record with the given data |
| Methods inherited from class org.xbill.DNS.Record |
equals,
fromString,
fromWire,
getDClass,
getName,
getRRsetType,
getTTL,
getType,
getWireLength,
hashCode,
newRecord,
newRecord,
newRecord,
toWire,
toWireCanonical,
withName |
NSRecord
public NSRecord(Name _name,
short _dclass,
int _ttl,
Name _target)
throws IOException
- Creates a new NS Record with the given data
- Parameters:
target - The name server for the given domain