public class DefaultDnsPtrRecord extends AbstractDnsRecord implements DnsPtrRecord
CLASS_ANY, CLASS_CHAOS, CLASS_CSNET, CLASS_HESIOD, CLASS_IN, CLASS_NONE| Constructor and Description | 
|---|
| DefaultDnsPtrRecord(String name,
                   int dnsClass,
                   long timeToLive,
                   String hostname)Creates a new PTR record. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | hostname()Returns the hostname this PTR record resolves to. | 
| String | toString() | 
dnsClass, equals, hashCode, name, timeToLive, typeclone, finalize, getClass, notify, notifyAll, wait, wait, waitdnsClass, name, timeToLive, typepublic DefaultDnsPtrRecord(String name, int dnsClass, long timeToLive, String hostname)
name - the domain namednsClass - the class of the record, usually one of the following:
                 timeToLive - the TTL value of the recordhostname - the hostname this PTR record resolves to.public String hostname()
DnsPtrRecordhostname in interface DnsPtrRecordpublic String toString()
toString in class AbstractDnsRecordCopyright © 2008–2025 The Netty Project. All rights reserved.