Open rubydotexe opened 7 months ago
@rubydotexe
'xyz is not a valid domain. Expected at least 1 TLD and 1 SLD' Means that the SOA record for your domain, i.e. foo.xyz
, is incorrect. I experienced this because I had a CNAME for the root record, which was causing Namecheap to not return a SOA.
Caddy will keep trying to find the root zone of the given hostname, and the above error is because the only valid SOA response is from the tld zone. (This behavior is from https://github.com/caddyserver/certmagic/blob/master/dnsutil.go#L23)
I also encountered: namecheap api returned error in response. Err: Error0: Invalid request IP:
This means that the IP the API request is coming from is not whitelisted. Namecheap requires you to whitelist the IP you want to call their API from.
1. The problem I'm having:
Hello everyone. :) I am trying to use Namecheap as my DNS Provider and have Caddy lease and renew certificates for my wildcard url. I get an error saying
xyz is not a valid domain
. francislavoie says its a bug with the namecheap libdns. Please see this discussion post for further details as to why.Here my logs from Caddy. The error seems to be coming from this line of code, ""domain: %s is not a valid domain. Expected at least 1 TLD and 1 SLD", domain"
2. Error messages and/or full log output:
Any assistance would be deeply appreciated, thank you.