Class DnsServiceImpl

  • All Implemented Interfaces:
    DnsService

    public class DnsServiceImpl
    extends java.lang.Object
    implements DnsService
    • Constructor Summary

      Constructors 
      Constructor Description
      DnsServiceImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DnsServiceImpl

        public DnsServiceImpl()
    • Method Detail

      • resolveIp

        public java.lang.String resolveIp​(java.lang.String hostName)
        Description copied from interface: DnsService
        Resolve host name to the bottom A-Record or the latest available CNAME
        Specified by:
        resolveIp in interface DnsService
        Returns:
        IP address
      • resolveARecord

        @Nullable
        public java.util.List<java.lang.String> resolveARecord​(java.lang.String rootDomainName)
        Description copied from interface: DnsService
        Resolve A-record entry for a given domain name.
        Specified by:
        resolveARecord in interface DnsService