From ffa427d3e9622cadedca586aec3d7ef1fe79ac7e Mon Sep 17 00:00:00 2001 From: Jeremy Fleischman Date: Sat, 30 Nov 2024 16:37:00 -0600 Subject: [PATCH] Simplify DNS instructions See this review comment: https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/merge_requests/342#note_2231232814: > host is always installed on every nixos system > https://github.com/NixOS/nixpkgs/blob/98dece1bf5f69dbe87f236cb1caf5952fa4da2f3/nixos/modules/tasks/network-interfaces.nix#L1426 I'm not sure this is a great idea though: what about people who use nix as a package manager? --- docs/setup-guide.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/setup-guide.rst b/docs/setup-guide.rst index 61b1559..103a0f3 100644 --- a/docs/setup-guide.rst +++ b/docs/setup-guide.rst @@ -133,7 +133,7 @@ You can check this with :: - $ nix-shell -p bind --command "host -t mx example.com" + $ host -t mx example.com example.com mail is handled by 10 mail.example.com. Note that it can take a while until a DNS entry is propagated. @@ -154,7 +154,7 @@ You can check this with :: - $ nix-shell -p bind --command "host -t TXT example.com" + $ host -t TXT example.com example.com descriptive text "v=spf1 a:mail.example.com -all" Note that it can take a while until a DNS entry is propagated. @@ -186,7 +186,7 @@ You can check this with :: - $ nix-shell -p bind --command "host -t txt mail._domainkey.example.com" + $ host -t txt mail._domainkey.example.com mail._domainkey.example.com descriptive text "v=DKIM1;p=" Note that it can take a while until a DNS entry is propagated. @@ -206,7 +206,7 @@ You can check this with :: - $ nix-shell -p bind --command "host -t TXT _dmarc.example.com" + $ host -t TXT _dmarc.example.com _dmarc.example.com descriptive text "v=DMARC1; p=none" Note that it can take a while until a DNS entry is propagated.