DNS error with CNAME record
-
I have created a A DNS records for
master.domain.io
and*.master.domain.io
which point to the ip of my cloud (1.1.1.1 for the example).
I created a CNAME record foranotherdomain.io
which points tomaster.domain.io
.
I added the domainanotherdomain.io
to the cloudron (wildcard option) and it worked.
When I try to install an app onanotherdomaine.io
I get stuck with this error:box:dns/waitfordns waitForDns: waiting for anotherdomaine.io to be 1.1.1.1 in zone thenils.fr Jan 25 14:24:31 box:dns/waitfordns waitForDns: nameservers are ["ns103.ovh.net","dns103.ovh.net"] Jan 25 14:24:31 box:dns/waitfordns resolveIp: Checking if anotherdomaine.io has A record at 213.251.128.147 Jan 25 14:24:31 box:dns/waitfordns resolveIp: Checking if anotherdomaine.io has CNAME record at 213.251.128.147 Jan 25 14:24:31 box:dns/waitfordns resolveIp: Resolving anotherdomaine.io's CNAME record master.domaine.io Jan 25 14:24:31 box:dns/waitfordns isChangeSynced: NS ns103.ovh.net (213.251.128.147) errored when resolve anotherdomaine.io (A): Error: queryA EREFUSED master.domaine.io Jan 25 14:24:31 box:dns/waitfordns waitForDns: anotherdomaine.io at ns ns103.ovh.net: not done Jan 25 14:24:31 box:dns/waitfordns Attempt 1 failed. Will retry: ETRYAGAIN
I can't permanently control the DNS records of
anotherdomain.io
but I need to be able to redirect it to another ip if I want and i have full control overmaster.domain.io
.
Also, the error tells me to point to213.251.128.147
but that's ovh's DNS server ip .
i don't know if i'm missing something or if there is a bug or if cloudron doesn't like CNAME ?Thanks
-
-
@girish it doesn't work better after the update.
the error has evolved though:Jan 26 11:32:55 box:dns/waitfordns waitForDns: nameservers are ["ns103.ovh.net","dns103.ovh.net"] Jan 26 11:32:55 box:dns/waitfordns resolveIp: Checking if anotherdomaine.io has A record at 213.251.128.147 Jan 26 11:32:55 box:dns/waitfordns resolveIp: No A record. Checking if anotherdomaine.io has CNAME record at 213.251.128.147 Jan 26 11:32:55 box:dns/waitfordns resolveIp: CNAME record found. Resolving anotherdomaine.io's CNAME record master.domaine.io using unbound Jan 26 11:32:55 box:dns/waitfordns isChangeSynced: NS ns103.ovh.net (213.251.128.147) errored when resolve anotherdomaine.io (A): Error: queryA EREFUSED master.domaine.io
-
@TheNils Oh indeed. I don't know how this happened but https://git.cloudron.io/cloudron/box/-/commit/e4d9dbb55853ae5e5a2cca5f0514db2a2f5665e5 was the fix and the line of code that actually fixes is the issue is... gone!
-
@TheNils Can you try this single line fix:
https://git.cloudron.io/cloudron/box/-/commit/2b260c873fafac29245f2e34ae65eeff0935c457
The file on the server is
/home/yellowtent/box/src/dns/waitfordns.js
. Just retry the task after you make the change and it should work (no need to restart anything). -
-