2022-12-08 17:06:28 +01:00
|
|
|
// Providers:
|
|
|
|
// A “Registrar” is who you register the domain with.
|
|
|
|
// Start with NONE, which is a provider that never talks to or updates
|
|
|
|
// the registrar.
|
|
|
|
|
|
|
|
var REG_NONE = NewRegistrar('none');
|
|
|
|
|
|
|
|
// Domains:
|
|
|
|
// A “DnsProvider” is the service that actually provides DNS service (port 53)
|
|
|
|
// and may be the same or different as the registrar.
|
|
|
|
var DNS_BIND = NewDnsProvider('bind');
|
|
|
|
var DNS_DESEC = NewDnsProvider('desec');
|
|
|
|
|
2022-12-11 10:21:57 +01:00
|
|
|
D('sanchayanmaity.net', REG_NONE, DnsProvider(DNS_DESEC),
|
2022-12-08 17:06:28 +01:00
|
|
|
DefaultTTL("1h"),
|
2023-01-23 04:18:05 +01:00
|
|
|
A('@', '157.90.118.14'),
|
2022-12-11 19:53:16 +01:00
|
|
|
AAAA("@", '2a01:4f8:1c1c:30e9::1'),
|
2022-12-08 17:06:28 +01:00
|
|
|
CAA("@", "issue", "letsencrypt.org"),
|
|
|
|
CNAME("git" , "sanchayanmaity.net."),
|
|
|
|
CNAME("www" , "sanchayanmaity.net."),
|
2023-01-23 10:23:47 +01:00
|
|
|
CNAME("monitor" , "sanchayanmaity.net."),
|
2022-12-15 15:51:08 +01:00
|
|
|
CNAME("openpgpkey", "wkd.keys.openpgp.org."),
|
2022-12-16 12:30:53 +01:00
|
|
|
TXT('openpgp', '41B3422B03703BF5FD03FAFB6F6A0609C12038F3'),
|
2022-12-17 06:33:34 +01:00
|
|
|
TXT('keyoxide', 'openpgp4fpr:41b3422b03703bf5fd03fafb6f6a0609c12038f3'),
|
2024-10-27 17:36:41 +01:00
|
|
|
TLSA("_443._tcp", 3 , 1, 1 , "421ea3303e6f4f72329ad70307179463ed70b38be518233b9d1075ea295866a8"),
|
|
|
|
// Email provider specific configuration
|
|
|
|
TXT('@', 'hosted-email-verify=eh8u4xst'),
|
|
|
|
MX("@", 10, "aspmx1.migadu.com."),
|
|
|
|
MX("@", 20, "aspmx2.migadu.com."),
|
|
|
|
MX("*", 10, "aspmx1.migadu.com."),
|
|
|
|
MX("*", 20, "aspmx2.migadu.com."),
|
|
|
|
CNAME("key1._domainkey", "key1.sanchayanmaity.net._domainkey.migadu.com."),
|
|
|
|
CNAME("key2._domainkey", "key2.sanchayanmaity.net._domainkey.migadu.com."),
|
|
|
|
CNAME("key3._domainkey", "key3.sanchayanmaity.net._domainkey.migadu.com."),
|
|
|
|
TXT('@', 'v=spf1 include:spf.migadu.com -all'),
|
|
|
|
TXT("_dmarc", "v=DMARC1; p=quarantine;"),
|
|
|
|
CNAME("autoconfig", "autoconfig.migadu.com."),
|
|
|
|
SRV("_autodiscover._tcp", 0, 1, 443, "autodiscover.migadu.com."),
|
|
|
|
SRV("_submissions._tcp" , 0, 1, 465, "smtp.migadu.com."),
|
|
|
|
SRV("_imaps._tcp" , 0, 1, 993, "imap.migadu.com."),
|
|
|
|
SRV("_pop3s._tcp" , 0, 1, 995, "pop.migadu.com.")
|
2022-12-08 17:06:28 +01:00
|
|
|
);
|
|
|
|
|
|
|
|
D('sanchayanmaity.com', REG_NONE, DnsProvider(DNS_DESEC),
|
|
|
|
DefaultTTL("1h"),
|
2023-01-23 04:18:05 +01:00
|
|
|
A('@', '157.90.118.14'),
|
2022-12-11 19:53:16 +01:00
|
|
|
AAAA("@", '2a01:4f8:1c1c:30e9::1'),
|
2022-12-08 17:06:28 +01:00
|
|
|
CAA("@", "issue", "letsencrypt.org"),
|
|
|
|
CNAME("git" , "sanchayanmaity.com."),
|
|
|
|
CNAME("www" , "sanchayanmaity.com."),
|
2023-01-23 10:23:47 +01:00
|
|
|
CNAME("monitor" , "sanchayanmaity.com."),
|
2024-10-27 17:36:41 +01:00
|
|
|
TLSA("_443._tcp", 3 , 1, 1 , "bc66287a474ef9b6bd41cf38da8d02a58d07b39ea851d117359c1cc9e70b6272"),
|
|
|
|
// Email provider specific configuration
|
|
|
|
TXT('@', 'hosted-email-verify=99g1rtgx'),
|
|
|
|
MX("@", 10, "aspmx1.migadu.com."),
|
|
|
|
MX("@", 20, "aspmx2.migadu.com."),
|
|
|
|
MX("*", 10, "aspmx1.migadu.com."),
|
|
|
|
MX("*", 20, "aspmx2.migadu.com."),
|
|
|
|
CNAME("key1._domainkey", "key1.sanchayanmaity.com._domainkey.migadu.com."),
|
|
|
|
CNAME("key2._domainkey", "key2.sanchayanmaity.com._domainkey.migadu.com."),
|
|
|
|
CNAME("key3._domainkey", "key3.sanchayanmaity.com._domainkey.migadu.com."),
|
|
|
|
TXT('@', 'v=spf1 include:spf.migadu.com -all'),
|
|
|
|
TXT("_dmarc", "v=DMARC1; p=quarantine;"),
|
|
|
|
CNAME("autoconfig", "autoconfig.migadu.com."),
|
|
|
|
SRV("_autodiscover._tcp", 0, 1, 443, "autodiscover.migadu.com."),
|
|
|
|
SRV("_submissions._tcp" , 0, 1, 465, "smtp.migadu.com."),
|
|
|
|
SRV("_imaps._tcp" , 0, 1, 993, "imap.migadu.com."),
|
|
|
|
SRV("_pop3s._tcp" , 0, 1, 995, "pop.migadu.com.")
|
2022-12-08 17:06:28 +01:00
|
|
|
);
|