| Access | Constructor and Description |
|---|---|
| public | DefaultDnsPtrRecord(String
the domain name name, int the class of the record, usually one of the following:
dnsClass, long the TTL value of the record timeToLive, String the hostname this PTR record resolves to. hostname)Creates a new PTR record. |
| Modifier and Type | Method and Description |
|---|---|
| public DnsPtrRecord | copy()
Implements io. |
| public String | hostname()
Implements io. |
| public String | toString()
Overrides io. |
| hostname | back to summary |
|---|---|
| private final String hostname | |
| DefaultDnsPtrRecord | back to summary |
|---|---|
| public DefaultDnsPtrRecord(String name, int dnsClass, long timeToLive, String hostname) Creates a new PTR record. | |
| copy | back to summary |
|---|---|
| public DnsPtrRecord copy() Implements io. Doc from io. Returns a copy of this record object. Immutable record objects may return themselves.
| |
| hostname | back to summary |
|---|---|
| public String hostname() Implements io. Doc from io. Returns the hostname this PTR record resolves to.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides io. Doc from java. Returns a string representation of the object. | |