Interface DnsService

  • All Known Implementing Classes:
    DnsServiceImpl

    public interface DnsService
    • Method Summary

      All Methods Instance Methods Abstract 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
    • Method Detail

      • resolveIp

        java.lang.String resolveIp​(java.lang.String hostName)
        Resolve host name to the bottom A-Record or the latest available CNAME
        Returns:
        IP address
      • resolveARecord

        @Nullable
        java.util.List<java.lang.String> resolveARecord​(java.lang.String rootDomainName)
        Resolve A-record entry for a given domain name.