public final class LookupResult extends Object
Constructor and Description |
---|
LookupResult(List<Record> records,
List<Name> aliases)
Construct an instance with the provided records and, in the case of a CNAME or DNAME
indirection a List of aliases.
|
public LookupResult(List<Record> records, List<Name> aliases)
records
- a list of records to return.aliases
- a list of aliases discovered during lookup, or null if there was no indirection.Copyright © 2022 dnsjava.org. All rights reserved.