Soweit mir bekannt ist, sollten die folgenden DNS-Einträge als Failover für meine Mailserver funktionieren:
example.com A 192.0.2.1 3600
www.example.com A 192.0.2.1 3600
ftp.example.com A 192.0.2.1 3600
example.com TXT "v=spf1 a mx a:spf.batchsmtp.com ip4:198.51.100.1 ip4:203.0.113.2 -all" 86400
example.com MX srv1.batchsmtp.com 10 86400
example.com MX srv2.batchsmtp.com 10 86400
srv1.example.com A 198.51.100.1 3600
srv2.example.com A 203.0.113.2 3600
_smtp._tcp.example.com SRV 2 25 srv1.example.com 10 3600
_smtp._tcp.example.com SRV 1 25 srv2.example.com 10 3600
_imaps._tcp.example.com SRV 2 993 srv1.example.com 10 3600
_imaps._tcp.example.com SRV 1 993 srv2.example.com 10 3600
_imap._tcp.example.com SRV 2 143 srv1.example.com 10 3600
_imap._tcp.example.com SRV 1 143 srv2.example.com 10 3600
_submission._tcp.example.com SRV 2 587 srv1.example.com 10 3600
_submission._tcp.example.com SRV 1 587 srv2.example.com 10 3600
Ich habe es ausgeschaltet srv1.example.com
, aber bei meinen E-Mail-Clients läuft einfach eine Zeit ab und sie scheinen nie Kontakt aufzunehmen srv2.example.com
(kurze TTLs dienen zum Testen).
Online-DNS-Tools scheinen meine SRV-Einträge nie anzuzeigen, aber ich glaube, das ist ein normales Verhalten.
- Mache ich hier etwas falsch?
- Oder dauert es vielleicht sehr lange (z. B. 48 Stunden), bis Mail-Clients diese Datensätze verwenden?
- Muss ich in meinem E-Mail-Client etwas Bestimmtes eingeben? (Welcher Zielhost)
Ausprobierte E-Mail-Clients: Mozilla Thunderbird, iOS Mail
Das ist, was eine Grabung bringt:
;; QUESTION SECTION:
;_imaps._tcp.example.com. IN SRV
;; ANSWER SECTION:
_imaps._tcp.example.com. 3600 IN SRV 10 2 993 srv1.example.com.
_imaps._tcp.example.com. 3600 IN SRV 10 1 993 srv2.example.com.
;; AUTHORITY SECTION:
example.com. 86400 IN NS ns3.nsdomain.com.
example.com. 86400 IN NS ns2.nsdomain.com.
example.com. 86400 IN NS ns1.nsdomain.com.
;; ADDITIONAL SECTION:
srv2.example.com. 2502 IN A 203.0.113.2
srv1.example.com. 3600 IN A 198.51.100.1
Antwort1
Die Welt ist noch nicht bereit für SRV-Rekorde. Seufz, die gibt es erst seit 1996...