public class DnsServiceImpl extends java.lang.Object implements DnsService
Constructor and Description |
---|
DnsServiceImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
resolveARecord(java.lang.String rootDomainName)
Resolve A-record entry for a given domain name.
|
java.lang.String |
resolveIp(java.lang.String hostName)
Resolve host name to the bottom A-Record or the latest available CNAME
|
public java.lang.String resolveIp(java.lang.String hostName)
DnsService
resolveIp
in interface DnsService
@Nullable public java.util.List<java.lang.String> resolveARecord(java.lang.String rootDomainName)
DnsService
resolveARecord
in interface DnsService