summaryrefslogtreecommitdiff
path: root/content/2023/wildcard-mx-and-a-dns-record-conflict.md
diff options
context:
space:
mode:
authormms <michal@sapka.me>2023-12-05 11:57:10 +0100
committermms <michal@sapka.me>2023-12-05 11:57:10 +0100
commit4c17989711a76866214f71f645fdf8fe785c15ad (patch)
treef5d65084bacd3a6a3842ac512006c6da7b98fd1a /content/2023/wildcard-mx-and-a-dns-record-conflict.md
parentb2606034ed696e5acc95f0033d19e6b0bef142c7 (diff)
chore: extract old blog posts to section
Diffstat (limited to 'content/2023/wildcard-mx-and-a-dns-record-conflict.md')
-rw-r--r--content/2023/wildcard-mx-and-a-dns-record-conflict.md28
1 files changed, 0 insertions, 28 deletions
diff --git a/content/2023/wildcard-mx-and-a-dns-record-conflict.md b/content/2023/wildcard-mx-and-a-dns-record-conflict.md
deleted file mode 100644
index 5c730c5f..00000000
--- a/content/2023/wildcard-mx-and-a-dns-record-conflict.md
+++ /dev/null
@@ -1,28 +0,0 @@
----
-title: "Wildcard Mx and a Dns Record Conflict"
-category: engineering
-abstract: How to have a wildcard email and same domain for a webpage?
-year: 2023
-date: 2023-01-15T17:43:42+01:00
-draft: false
-tags:
-- DNS
-- mx-record
-- a-record
-- e-mail
----
-
-A random problem I've just encountered by discovering that my email is broken. You can have a wildcard MX record (*.domain), which will handle all subdomains not defined by other records.
-
-> A common mistake is thinking that a wildcard MX for a zone will apply to all
- hosts in the zone. A wildcard MX will apply only to names in the
- zone which aren't listed in the DNS at all.
-> [RFC1912](https://www.rfc-editor.org/rfc/rfc1912)
-
-So, in this case, an A record for test.domain will break the email for test@domain. Solution: add a dedicated MX record for this domain (MX test.domain) with the same value as the wildcard. Now, even if the wildcard one is ignored, the client will fall back to the new record.
-
-```
-*.domain MX 10 addr
-test.domain A 10 adddr2
-test.domain MX 10 addr
-```