• Manuel Sanchez Pinar's avatar
    dns_aws: Fix when _acme-challenge is a hostedzone · 2280e66d
    Manuel Sanchez Pinar authored
        The function '_get_root' tries to retrieve the
        hostedzone iterating the domains, eg:
          1. srv.prod.example.com
          2. prod.example.com
          3. example.com
        This doesn't work if '_acme-challenge' is in it's
        own hostedzone for security reasons.
        Starting that iteration with '_acme-challenge.srv.prod.example.com'
        fixes this issue.
    2280e66d
dns_aws.sh 11.6 KB