MailSlurp logo

Dns guides and tutorials

35 practical MailSlurp resources

DNS, or Domain Name System, is a fundamental component of the internet infrastructure that plays a crucial role in translating human-readable domain names into machine-readable IP addresses. It acts as a directory service, allowing users to access websites and other online resources by simply typing in a domain name instead of a complex string of numbers.

For software developers and technical people, understanding how DNS works is essential for building and maintaining reliable and efficient web applications. Here are a few key aspects of DNS that developers should be familiar with:

1. DNS Resolution: When a user enters a domain name in their web browser, the DNS resolution process begins. The browser sends a query to a DNS resolver, which then recursively searches for the IP address associated with the domain name. Developers should be aware of the different types of DNS resolvers, such as recursive resolvers and authoritative resolvers, and how they interact to provide the correct IP address.

2. Caching: DNS caching is an important mechanism that helps improve the performance of DNS resolution. DNS resolvers store recently resolved domain names and their corresponding IP addresses in a cache. This allows subsequent queries for the same domain name to be resolved faster, reducing the overall latency of the application. Developers should understand how DNS caching works and how to configure caching settings to optimize performance.

3. DNS Records: DNS records are used to store various types of information about a domain name. For example, the A record maps a domain name to an IPv4 address, while the AAAA record maps it to an IPv6 address. Other types of records include MX records for email servers, CNAME records for aliasing, and TXT records for additional information. Developers should be familiar with these record types and how to manage them for their applications.

4. DNS Security: DNS is not immune to security threats, and developers should be aware of potential vulnerabilities. DNS spoofing, cache poisoning, and DDoS attacks are some of the common security risks associated with DNS. Implementing DNSSEC (DNS Security Extensions) can help protect against these threats by adding digital signatures to DNS records, ensuring their authenticity and integrity.

In conclusion, DNS is a critical component of the internet infrastructure that developers should understand to build reliable and efficient web applications. By familiarizing themselves with DNS resolution, caching, records, and security, developers can optimize their applications' performance and protect against potential security threats.

Articles and guides

technical

DNS Propagation Checker for email record changes

Check DNS propagation for SPF, DKIM, DMARC, MX, CNAME, and TXT updates before email launches, sender migrations, and deliverability changes.

Read more
technical

DMARC Checker and DMARC Lookup for Policy, Alignment, and Reports

Use this DMARC checker and lookup guide to validate DMARC records, policy tags, reporting addresses, SPF/DKIM alignment, and rollout readiness.

Read more
technical

What Is PTR? Reverse DNS, Email Sender Identity, and Why Receivers Care

Learn what a PTR record is, how reverse DNS works, and why PTR matters for email sender identity, spam filtering, and deliverability troubleshooting.

Read more
technical

What Is a DKIM Selector? Why It Exists and How To Troubleshoot It

Learn what a DKIM selector is, how mail receivers use it to find public keys, and how to rotate or troubleshoot selectors without breaking delivery.

Read more
technical

SPF Flattening: When To Use It, Risks, and Safer Rollout Steps

Understand SPF flattening, why teams use it to manage the 10-lookup limit, and how to avoid stale records and deliverability regressions.

Read more
technical

Permanent Error Evaluating DMARC Policy: Why It Happens and How To Fix It

Learn what the `permanent error evaluating DMARC policy` rejection means, which DMARC record mistakes trigger it, and how to repair the policy without breaking legitimate mail.

Read more
technical

Office 365 DKIM Setup: Enable DKIM in Microsoft 365 Without Guessing the CNAMEs

Set up DKIM for Office 365 and Microsoft 365 custom domains without copying stale examples. Learn where Microsoft exposes the required CNAMEs, how selectors work, and how to verify live signing.

Read more
technical

Google Workspace DMARC: Setup, Alignment, and Safe Rollout for Gmail Senders

Set up Google Workspace DMARC without treating it like a standalone TXT record. Learn how Gmail sender requirements, SPF, DKIM, alignment, and gradual enforcement fit together.

Read more
technical

Google Workspace DKIM Setup: Generate the TXT Record, Turn It On, and Verify It

Set up Google Workspace DKIM without guessing. Learn how to generate the record in the Admin console, publish the TXT value, turn on signing, and verify real Gmail headers.

Read more
technical

GoDaddy DMARC Setup: Add the Record, Avoid DNS Mistakes, and Verify It Works

Set up DMARC in GoDaddy without guesswork. Learn which host to use, what the TXT record should look like, how to avoid duplicate records, and how to verify the policy before it affects live mail.

Read more
technical

PHP Email Validation Guide: Syntax, Domain Checks, and Real Verification

Learn how to validate email addresses in PHP with filter_var, when to use DNS checks, why regex alone is weak, and how to verify real email flows before release.

Read more
technical

MX Record Lookup Guide: How to Verify Email Routing and Troubleshoot Delivery

Learn what MX records do, how to check them with dig and nslookup, how MX interacts with SPF, DKIM, and DMARC, and how to verify email routing safely.

Read more
technical

Google Workspace MX Records: Setup, Verification, and Common Mistakes

Learn which Google Workspace MX records to publish, how to verify Gmail routing after DNS changes, and which migration mistakes break inbound mail.

Read more
technical

DMARC Explained: Records, Policy, Alignment, and Safe Rollout

Learn what DMARC does, how DMARC records work with SPF and DKIM, when to use none, quarantine, or reject, and how to validate email flows safely after DNS changes.

Read more
technical

SPF Verification Guide: How to Check and Validate SPF Records

Learn how SPF verification works, how to check an SPF record correctly, and how to interpret pass, fail, softfail, and neutral results.

Read more
technical

SPF checker and SPF record lookup for sender authorization

Use an SPF checker to validate Sender Policy Framework records, inspect include chains, and fix DNS issues that hurt email authentication and deliverability.

Read more
technical

MX Records Guide: What Mail Exchanger Records Do and How to Check Them

Learn what MX records are, how mail exchanger priority works, and how to check MX setup when domains are not receiving mail as expected.

Read more
technical

MX lookup guide for mail exchanger records and MX record checks

Run an MX lookup to find a domain's mail exchanger records, confirm priority order, and troubleshoot inbound routing after migrations, provider cutovers, and delivery failures.

Read more
technical

DKIM Lookup Guide: How to Check Selectors and Validate Signatures

Learn how DKIM lookup works, how to check selectors in DNS, and how to confirm that real messages are signed and aligned correctly.

Read more
technical

SPF Record Generator for Sender Policy Framework setup

Generate SPF records for your domain with practical guidance on include chains, safe policy modes, and DNS rollout checks.

Read more
technical

DKIM Record Generator for selector and key setup

Generate DKIM TXT record values for selector-based email signing and deploy them safely with validation and propagation checks.

Read more
technical

BIMI checker for DNS and brand logo readiness

Use this BIMI checker workflow to verify BIMI DNS records, logo requirements, and DMARC prerequisites before mailbox logo rollout.

Read more
technical

Email DNS Checker for MX, SPF, DKIM, and DMARC

Check the DNS records that control email routing and authentication, then use the matching live MailSlurp tool to diagnose MX, SPF, DKIM, DMARC, BIMI, PTR, and transport-policy problems.

Read more
technical

DKIM Checker: Validate DKIM Selectors, Records, and Signatures

Use this DKIM checker guide to validate DKIM selectors, TXT records, and live message signatures before alignment failures hurt deliverability.

Read more
technical

Learn how to get a blue checkmark for your email in Gmail with BIMI and logos.

Gmail now supports BIMI and verified logos. This guide shows you how to get a blue checkmark for your email address in Gmail.

Read more
technical

Using multiple SPF records for a single email domain is not recommended.

Multiple SPF records for the same domain: why you should avoid them and how to check if you have any. Learn from our experts' do's and don'ts.

Read more
technical

All you should know about SPF email records

Verify your email security and prevent email spoofing with SPF. Learn how it works and create your SPF record to protect your reputation.

Read more
technical

How to stop email spam bots on forms and signups

Stop form and signup spam with server-side validation, rate limits, risk-based challenges, email confirmation, and tests that protect real users.

Read more
technical

What Is an SPF Record? Syntax, Examples, Limits, and Troubleshooting

Learn what an SPF record is, where it is published, how SPF syntax works, and which common failure patterns affect delivery and sender trust.

Read more
technical

What is a PTR record? Reverse DNS and email deliverability

Learn what PTR records are, how reverse DNS lookup works, and why sender IP identity matters for SMTP deliverability and inbox placement.

Read more
technical

MTA-STS and TLS-RPT: How to Harden SMTP Transport Security

Deploy MTA-STS and TLS reporting to reduce downgrade/MITM risk for SMTP delivery and monitor transport failures across receiving domains.

Read more
technical

Domain reputation tools: what to monitor weekly and what to fix first

A practical guide to domain reputation tools for email teams, with a monitoring cadence and incident response framework.

Read more
technical

DNS Lookup Nameservers with MailSlurp

Use MailSlurp to look up nameserver, MX, TXT, SPF, DKIM, and DMARC records, then connect DNS evidence to email deliverability and inbox testing.

Read more
technical

DKIM records explained: DNS record example, selectors, and setup

Learn what DKIM records are, see a DKIM DNS record example, understand selectors, and fix signature failures in production email systems.

Read more
technical

Creating custom domains

How to use MailSlurp custom domains for inboxes, routing, and sender-controlled workflows. Verify DNS, create addresses on your own domain, and connect branded email to apps, tests, and operations.

Read more

Popular tags