Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to add iCloud+ now that it supports custom domains. #5

Closed
wormeyman opened this issue Sep 29, 2021 · 6 comments · Fixed by #6
Closed

Need to add iCloud+ now that it supports custom domains. #5

wormeyman opened this issue Sep 29, 2021 · 6 comments · Fixed by #6

Comments

@wormeyman
Copy link
Contributor

More info: https://support.apple.com/en-us/HT212514

I'll probably put in a pull request if I can.

@wormeyman
Copy link
Contributor Author

More info: https://support.apple.com/en-us/HT212524

@wormeyman
Copy link
Contributor Author

wormeyman commented Sep 29, 2021

How does this export look?

;;
;; Domain:     YOURDOMAIN.TLD.
;; Exported:   2021-09-29 22:31:02
;;
;; This file is intended for use for informational and archival
;; purposes ONLY and MUST be edited before use on a production
;; DNS server.  In particular, you must:
;;   -- update the SOA record with the correct authoritative name server
;;   -- update the SOA record with the contact e-mail address information
;;   -- update the NS record(s) with the authoritative name servers for this domain.
;;
;; For further information, please consult the BIND documentation
;; located on the following website:
;;
;; http://www.isc.org/
;;
;; And RFC 1035:
;;
;; http://www.ietf.org/rfc/rfc1035.txt
;;
;; Please note that we do NOT offer technical support for any use
;; of this zone data, the BIND name server, or any other third-party
;; DNS software.
;;
;; Use at your own risk.
;; SOA Record
YOURDOMAIN.TLD	3600	IN	SOA	YOURDOMAIN.TLD root.YOURDOMAIN.TLD 2038462126 7200 3600 86400 3600

;; CNAME Records
sig1._domainkey.YOURDOMAIN.TLD.	1	IN	CNAME	sig1.dkim.YOURDOMAIN.TLD.at.icloudmailadmin.com.

;; MX Records
YOURDOMAIN.TLD.	1	IN	MX	10 mx02.mail.icloud.com.
YOURDOMAIN.TLD.	1	IN	MX	10 mx01.mail.icloud.com.

;; TXT Records
YOURDOMAIN.TLD.	1	IN	TXT	"\"v=spf1 redirect=icloud.com\""
YOURDOMAIN.TLD.	1	IN	TXT	"apple-domain=YOUR-SECRET-CODE-FROMSETUP"

@irazasyed
Copy link
Owner

Hey!

This looks great.

I think we should keep it consistent with other files style and get rid of the disclaimer and other text. Add a title at the top.

Please open a PR?

Thanks!

@irazasyed
Copy link
Owner

I think this looks good enough?

apple-icloud-mail.txt

;; Apple iCloud+ Mail
;; https://support.apple.com/en-us/HT212514
;;
;; Docs:
;; https://support.apple.com/en-us/HT212524
;;
;; Adds the following records:
;; - MX Records: For inbound emails.
;; - TXT Records: Domain Verification & SPF.
;; - CNAME Records: DKIM.

;; === MX Records ===
@	1	IN	MX	10 mx02.mail.icloud.com.
@	1	IN	MX	10 mx01.mail.icloud.com.

;; === TXT Records ===
;; - YOU MUST CHANGE THE SECRET CODE FROM SETUP.
@	1	IN	TXT	"v=spf1 redirect=icloud.com"
@	1	IN	TXT	"apple-domain=YOUR-SECRET-CODE"

;; === CNAME Records ===
;; - YOU MUST REPLACE "YOURDOMAIN.TLD" WITH YOUR DOMAIN.
sig1._domainkey	1	IN	CNAME	sig1.dkim.YOURDOMAIN.TLD.at.icloudmailadmin.com.

wormeyman added a commit to wormeyman/dns-zone-files that referenced this issue Sep 30, 2021
@wormeyman
Copy link
Contributor Author

PR submitted. I tried out the new One-Click VS Code editor.

@irazasyed
Copy link
Owner

There is no PR. I see you've made a commit to your own repo but haven't opened a PR. Please check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants