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


Fields inherited from class org.xbill.DNS.Record
dclass, name, ttl, type, wireLength
 
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.NS_CNAME_PTRRecord
getTarget, toString
 
Methods inherited from class org.xbill.DNS.Record
equals, fromString, fromWire, getDClass, getName, getRRsetType, getTTL, getType, getWireLength, hashCode, newRecord, newRecord, newRecord, toWire, toWireCanonical, withName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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