|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xbill.DNS.Record
org.xbill.DNS.OPTRecord
Options - describes Extended DNS (EDNS) properties of a Message. No specific options are defined other than those specified in the header. An OPT should be generated by Resolver. EDNS is a method to extend the DNS protocol while providing backwards compatibility and not significantly changing the protocol. This implementation of EDNS is mostly complete at level 0.
Message
,
Resolver
Field Summary |
Fields inherited from class org.xbill.DNS.Record |
dclass, name, ttl, type |
Constructor Summary | |
OPTRecord(int payloadSize,
byte xrcode,
byte version)
Creates an OPT Record with no data. |
|
OPTRecord(int payloadSize,
byte xrcode,
byte version,
int flags)
Creates an OPT Record with no data. |
Method Summary | |
int |
getExtendedRcode()
Returns the extended Rcode |
int |
getFlags()
Returns the EDNS flags |
int |
getPayloadSize()
Returns the maximum allowed payload size. |
int |
getVersion()
Returns the highest supported EDNS version |
String |
rdataToString()
Converts rdata to a String |
Methods inherited from class org.xbill.DNS.Record |
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToWireCanonical, remainingStrings, toString, toWire, toWireCanonical, withName |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OPTRecord(int payloadSize, byte xrcode, byte version, int flags)
public OPTRecord(int payloadSize, byte xrcode, byte version)
Method Detail |
public String rdataToString()
rdataToString
in class Record
public int getPayloadSize()
public int getExtendedRcode()
Rcode
public int getVersion()
public int getFlags()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |