dnscontrol: Switch to Migadu for email
This commit is contained in:
parent
18502cbb50
commit
6c30de3b18
1 changed files with 34 additions and 43 deletions
|
@ -4,9 +4,6 @@
|
||||||
// the registrar.
|
// the registrar.
|
||||||
|
|
||||||
var REG_NONE = NewRegistrar('none');
|
var REG_NONE = NewRegistrar('none');
|
||||||
var REG_GANDI = NewRegistrar('gandi');
|
|
||||||
// Porkbun as a registrar is not supported
|
|
||||||
// var REG_PORKBUN = NewRegistrar('porkbun');
|
|
||||||
|
|
||||||
// Domains:
|
// Domains:
|
||||||
// A “DnsProvider” is the service that actually provides DNS service (port 53)
|
// A “DnsProvider” is the service that actually provides DNS service (port 53)
|
||||||
|
@ -25,26 +22,23 @@ D('sanchayanmaity.net', REG_NONE, DnsProvider(DNS_DESEC),
|
||||||
CNAME("openpgpkey", "wkd.keys.openpgp.org."),
|
CNAME("openpgpkey", "wkd.keys.openpgp.org."),
|
||||||
TXT('openpgp', '41B3422B03703BF5FD03FAFB6F6A0609C12038F3'),
|
TXT('openpgp', '41B3422B03703BF5FD03FAFB6F6A0609C12038F3'),
|
||||||
TXT('keyoxide', 'openpgp4fpr:41b3422b03703bf5fd03fafb6f6a0609c12038f3'),
|
TXT('keyoxide', 'openpgp4fpr:41b3422b03703bf5fd03fafb6f6a0609c12038f3'),
|
||||||
MX("@", 10, "in1-smtp.messagingengine.com."),
|
TLSA("_443._tcp", 3 , 1, 1 , "421ea3303e6f4f72329ad70307179463ed70b38be518233b9d1075ea295866a8"),
|
||||||
MX("@", 20, "in2-smtp.messagingengine.com."),
|
// Email provider specific configuration
|
||||||
TXT('@', 'v=spf1 include:spf.messagingengine.com ?all'),
|
TXT('@', 'hosted-email-verify=eh8u4xst'),
|
||||||
TXT('*', 'v=spf1 include:spf.messagingengine.com ?all'),
|
MX("@", 10, "aspmx1.migadu.com."),
|
||||||
CNAME("fm1._domainkey", "fm1.sanchayanmaity.net.dkim.fmhosted.com."),
|
MX("@", 20, "aspmx2.migadu.com."),
|
||||||
CNAME("fm2._domainkey", "fm2.sanchayanmaity.net.dkim.fmhosted.com."),
|
MX("*", 10, "aspmx1.migadu.com."),
|
||||||
CNAME("fm3._domainkey", "fm3.sanchayanmaity.net.dkim.fmhosted.com."),
|
MX("*", 20, "aspmx2.migadu.com."),
|
||||||
// Create SRV records for mail service
|
CNAME("key1._domainkey", "key1.sanchayanmaity.net._domainkey.migadu.com."),
|
||||||
// ,priority, weight, port, target
|
CNAME("key2._domainkey", "key2.sanchayanmaity.net._domainkey.migadu.com."),
|
||||||
SRV('_submission._tcp', 0 , 1, 587, 'smtp.fastmail.com.'),
|
CNAME("key3._domainkey", "key3.sanchayanmaity.net._domainkey.migadu.com."),
|
||||||
SRV('_imap._tcp' , 0 , 0, 0 , '.'),
|
TXT('@', 'v=spf1 include:spf.migadu.com -all'),
|
||||||
SRV('_imaps._tcp' , 0 , 1, 993, 'imap.fastmail.com.'),
|
TXT("_dmarc", "v=DMARC1; p=quarantine;"),
|
||||||
SRV('_pop3._tcp' , 0 , 0, 0 , '.'),
|
CNAME("autoconfig", "autoconfig.migadu.com."),
|
||||||
SRV('_pop3s._tcp' , 10, 1, 995, 'pop.fastmail.com.'),
|
SRV("_autodiscover._tcp", 0, 1, 443, "autodiscover.migadu.com."),
|
||||||
SRV('_jmap._tcp' , 0 , 1, 443, 'api.fastmail.com.'),
|
SRV("_submissions._tcp" , 0, 1, 465, "smtp.migadu.com."),
|
||||||
SRV('_carddav._tcp' , 0 , 0, 0 , '.'),
|
SRV("_imaps._tcp" , 0, 1, 993, "imap.migadu.com."),
|
||||||
SRV('_carddavs._tcp' , 0 , 1, 443, 'carddav.fastmail.com.'),
|
SRV("_pop3s._tcp" , 0, 1, 995, "pop.migadu.com.")
|
||||||
SRV('_caldav._tcp' , 0 , 0, 0 , '.'),
|
|
||||||
SRV('_caldavs._tcp' , 0 , 1, 443, 'caldav.fastmail.com.'),
|
|
||||||
TLSA("_443._tcp" , 3 , 1, 1 , "421ea3303e6f4f72329ad70307179463ed70b38be518233b9d1075ea295866a8")
|
|
||||||
);
|
);
|
||||||
|
|
||||||
D('sanchayanmaity.com', REG_NONE, DnsProvider(DNS_DESEC),
|
D('sanchayanmaity.com', REG_NONE, DnsProvider(DNS_DESEC),
|
||||||
|
@ -55,24 +49,21 @@ D('sanchayanmaity.com', REG_NONE, DnsProvider(DNS_DESEC),
|
||||||
CNAME("git" , "sanchayanmaity.com."),
|
CNAME("git" , "sanchayanmaity.com."),
|
||||||
CNAME("www" , "sanchayanmaity.com."),
|
CNAME("www" , "sanchayanmaity.com."),
|
||||||
CNAME("monitor" , "sanchayanmaity.com."),
|
CNAME("monitor" , "sanchayanmaity.com."),
|
||||||
MX("@", 10, "in1-smtp.messagingengine.com."),
|
TLSA("_443._tcp", 3 , 1, 1 , "bc66287a474ef9b6bd41cf38da8d02a58d07b39ea851d117359c1cc9e70b6272"),
|
||||||
MX("@", 20, "in2-smtp.messagingengine.com."),
|
// Email provider specific configuration
|
||||||
TXT('@', 'v=spf1 include:spf.messagingengine.com ?all'),
|
TXT('@', 'hosted-email-verify=99g1rtgx'),
|
||||||
TXT('*', 'v=spf1 include:spf.messagingengine.com ?all'),
|
MX("@", 10, "aspmx1.migadu.com."),
|
||||||
CNAME("fm1._domainkey", "fm1.sanchayanmaity.com.dkim.fmhosted.com."),
|
MX("@", 20, "aspmx2.migadu.com."),
|
||||||
CNAME("fm2._domainkey", "fm2.sanchayanmaity.com.dkim.fmhosted.com."),
|
MX("*", 10, "aspmx1.migadu.com."),
|
||||||
CNAME("fm3._domainkey", "fm3.sanchayanmaity.com.dkim.fmhosted.com."),
|
MX("*", 20, "aspmx2.migadu.com."),
|
||||||
// Create SRV records for mail service
|
CNAME("key1._domainkey", "key1.sanchayanmaity.com._domainkey.migadu.com."),
|
||||||
// ,priority, weight, port, target
|
CNAME("key2._domainkey", "key2.sanchayanmaity.com._domainkey.migadu.com."),
|
||||||
SRV('_submission._tcp', 0 , 1, 587, 'smtp.fastmail.com.'),
|
CNAME("key3._domainkey", "key3.sanchayanmaity.com._domainkey.migadu.com."),
|
||||||
SRV('_imap._tcp' , 0 , 0, 0 , '.'),
|
TXT('@', 'v=spf1 include:spf.migadu.com -all'),
|
||||||
SRV('_imaps._tcp' , 0 , 1, 993, 'imap.fastmail.com.'),
|
TXT("_dmarc", "v=DMARC1; p=quarantine;"),
|
||||||
SRV('_pop3._tcp' , 0 , 0, 0 , '.'),
|
CNAME("autoconfig", "autoconfig.migadu.com."),
|
||||||
SRV('_pop3s._tcp' , 10, 1, 995, 'pop.fastmail.com.'),
|
SRV("_autodiscover._tcp", 0, 1, 443, "autodiscover.migadu.com."),
|
||||||
SRV('_jmap._tcp' , 0 , 1, 443, 'api.fastmail.com.'),
|
SRV("_submissions._tcp" , 0, 1, 465, "smtp.migadu.com."),
|
||||||
SRV('_carddav._tcp' , 0 , 0, 0 , '.'),
|
SRV("_imaps._tcp" , 0, 1, 993, "imap.migadu.com."),
|
||||||
SRV('_carddavs._tcp' , 0 , 1, 443, 'carddav.fastmail.com.'),
|
SRV("_pop3s._tcp" , 0, 1, 995, "pop.migadu.com.")
|
||||||
SRV('_caldav._tcp' , 0 , 0, 0 , '.'),
|
|
||||||
SRV('_caldavs._tcp' , 0 , 1, 443, 'caldav.fastmail.com.'),
|
|
||||||
TLSA("_443._tcp" , 3 , 1, 1 , "bc66287a474ef9b6bd41cf38da8d02a58d07b39ea851d117359c1cc9e70b6272")
|
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue