Class PodDNSConfig


  • public final class PodDNSConfig
    extends java.lang.Object
    • Method Detail

      • nameservers

        public java.util.List<java.lang.String> nameservers()
        Returns:
        A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.
      • options

        public java.util.List<PodDNSConfigOption> options()
        Returns:
        A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.
      • searches

        public java.util.List<java.lang.String> searches()
        Returns:
        A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.