mirror of
https://github.com/anonaddy/anonaddy.git
synced 2026-04-25 14:15:53 +03:00
[GH-ISSUE #96] "Check Records" says CNAME default._domainkey record not found #128
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/anonaddy#128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @crazy-max on GitHub (Nov 9, 2020).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/96
Hi,
When I want to "Check Records" I've got:
But the record exists on Namecheap:
Am I missing something?
@h-town commented on GitHub (Nov 16, 2020):
Your DKIM should be configured as a TXT type record that returns a string of data led with v=DKIM1; k=rsa; p=
@willbrowningme commented on GitHub (Nov 17, 2020):
Is this for self-hosting or on app.anonaddy.com?
@crazy-max commented on GitHub (Nov 17, 2020):
@willbrowningme Yes self-hosting with our Docker image
@willbrowningme commented on GitHub (Nov 19, 2020):
@crazy-max do you have
config('anonaddy.domain')set correctly?Those are the lines that performs the check in the code.
@crazy-max commented on GitHub (Nov 19, 2020):
@willbrowningme
Yes
I think that's the issue. On Namecheap host and target cannot be the same for CNAME:
So
default._domainkey/default._domainkey.example.com.does not work.That's why I've used
default._domainkey/example.com..@willbrowningme commented on GitHub (Jan 7, 2021):
@crazy-max is this issue still present?
@crazy-max commented on GitHub (Jan 7, 2021):
@willbrowningme Yes (0.6.2):
DNS records on Namecheap:
WDYT about what I said in https://github.com/anonaddy/anonaddy/issues/96#issuecomment-730417789?
@willbrowningme commented on GitHub (Jan 7, 2021):
Thanks for the screenshots. Hmm, I've not used namecheap to set DNS records before.
Please could you try the following CNAME record:
Host: default._domainkey
Value: default._domainkey.yourdomain.com
Notice the missing period (full-stop) for the value of the record.
I'm not sure why namecheap wouldn't allow that since the host and value are different.
@crazy-max commented on GitHub (Jan 7, 2021):
@willbrowningme Like I said in https://github.com/anonaddy/anonaddy/issues/96#issuecomment-730417789, I can't:
default._domainkey=default._domainkey.example.com.does not work.Only I can do is
default._domainkey=example.com..@willbrowningme commented on GitHub (Jan 7, 2021):
I just tried to add that record with a domain I have on namecheap and it seems to have worked.
@crazy-max commented on GitHub (Jan 7, 2021):
With the same domain as the zone?
Zone:
example.comCNAME:
default._domainkey=default._domainkey.example.com.@willbrowningme commented on GitHub (Jan 8, 2021):
Okay, I think I understand the issue now.
So let's say you are self-hosting AnonAddy on the domain
maindomain.com.This domain should have
default._domainkeyset with an actual DKIM value e.g."v=DKIM1;h=sha256;k=rsa;...."Then say you want to add a custom domain through the domains page called
customdomain.com.This
customdomain.comshould have adefault._domainkeyrecord ofdefault._domainkey.maindomain.com.so that it uses the same signing key as the maindomain.In your example above if you are trying to add
example.comas a custom domain then the record should point to thedefault._domainkeyon the main domain hosting AnonAddy.@crazy-max commented on GitHub (Jan 8, 2021):
Yes in my case I don't have a custom domain but only use the main domain and I have defined this main domain in the anonaddy interface. Maybe I should not?
About that it should be defined as a TXT record right?:
TXT/s1._domainkey/v=DKIM1;t=s;p=Is there something wrong here in my records?
@willbrowningme commented on GitHub (Jan 8, 2021):
That's right, you do not need to add the domain AnonAddy is running on to the domains page as this is seen as the main domain. So if I was using
example.comto host AnonAddy I would not addexample.comto the domains page too as it will already have been setup in/etc/postfix/main.cfduring installation.You can add
ANONADDY_ADMIN_USERNAME=johndoeor whatever your username is to your.envfile and that will allow your main domain to act as a catch-all.I'm not sure what your
_domainkeyrecord with a value oft=y; o=-;is?@crazy-max commented on GitHub (Jan 8, 2021):
Ok got it thanks
I'm currently in test mode for DKIM. I have to add support for it in our Docker image (anonaddy/docker#35).