95 articles
Knowledge Base
DNS & TLS
95 articles in the DNS & TLS category · page 1 of 4.
- TXT records in a busy zone — verification, SPF, and the noise Clean up the TXT records in a busy cPanel DNS zone, where email authentication records and old service verification codes pile up. List everything the zone publishes, merge duplicate SPF records into one, and remove leftovers that make troubleshooting harder.
- CAA records and AutoSSL on cPanel: fix blocked renewals Fix an AutoSSL renewal that a CAA record blocks on a cPanel or WHM server. You will read the AutoSSL log message, check the current record with dig, publish one that allows your provider and prove the certificate was issued.
- Cloudflare DNS-only vs proxied: the right mode for cPanel DNS-only (grey cloud) means Cloudflare answers DNS but does not proxy traffic. See which cPanel records must stay DNS-only and how to check each one.
- rndc reload, reconfig and retransfer on a cPanel server rndc controls BIND, the DNS server on many cPanel hosts. See what reload, reconfig, retransfer, notify and zonestatus do, and when a cPanel script fits.
- systemd-resolved: set and change DNS servers with resolvectl systemd-resolved handles DNS on most modern Linux systems. Set or change DNS servers per interface or globally with resolvectl, and keep resolv.conf right.
- Wildcard SSL on cPanel with Cloudflare DNS and AutoSSL Get a working wildcard certificate for a cPanel site whose DNS is hosted at Cloudflare. AutoSSL cannot issue the wildcard in that setup, so you will pick one of three routes that do work and prove the result with openssl.
- AutoSSL skipped a domain: find out why and get it covered Fix a domain that AutoSSL left off the certificate on a cPanel and WHM server. You will read the exact reason AutoSSL logged for that name, apply the matching fix and prove the name is covered with openssl.
- DANE for SMTP with Postfix: publish TLSA records and verify outbound mail Set up DANE on Postfix so other mail servers can check that the certificate they receive really belongs to you. You will sign your DNS zone, publish a TLSA record that names your server's key, turn on DANE checks for outgoing mail, and renew certificates without delaying delivery.
- Fix certificate verify failed (unable to get local issuer) Fix the certificate verify failed error in Python, Node, Git, curl, Java, R or PowerShell by finding out which certificate is actually missing. You will read one OpenSSL result, repair the server chain or your trust store, and keep verification switched on.
- cPanel says a domain already exists: find and clear it Fix the cPanel error that refuses to add a domain because it already exists on the server. You will find which account, file or DNS zone still claims the name, remove only that record, and add the domain to the right account.
- Deploy dnsdist as a DNS load balancer and traffic filter Set up dnsdist, the DNS load balancer from the PowerDNS project, in front of two or more name servers. You will spread queries across healthy backends, rate limit abusive clients, cache answers and watch it all live from the dnsdist console.
- Trusted HTTPS on localhost for development with mkcert Learn how to set up trusted local HTTPS with mkcert so your browser stops warning you about your development server. You will install a local certificate authority, issue one certificate that covers localhost and its subdomains, and serve it from nginx, Caddy, Vite and docker-compose.
- ACME DNS-01 challenge on cPanel: wildcards and CDN-fronted sites How the ACME DNS-01 challenge works on cPanel, what AutoSSL will and will not do with DNS DCV, and how to issue a wildcard or CDN-fronted certificate with acme.sh and install it back into cPanel.
- Sectigo vs Let's Encrypt on cPanel — which AutoSSL provider to run An operator's comparison of cPanel's bundled Sectigo AutoSSL, the Let's Encrypt AutoSSL provider, and a purchased certificate — coverage, wildcards, rate limits, DCV method, and CAA.
- PTR record and reverse DNS for cPanel mail: getting the IP provider to set it A PTR record is not in your DNS zone — it belongs to whoever owns the IP block. How to read the reverse tree for IPv4 and IPv6, find who controls it, and request the change in the right order so cPanel mail stops being greylisted.
- Internal ACME certificate authority with step-ca Run a private ACME certificate authority with step-ca: create an offline root, sign an online intermediate, enable the ACME provisioner, and point certbot and Caddy at it so internal services renew TLS certificates on their own.
- Generate a CSR and a self-signed certificate with OpenSSL A practitioner guide to openssl csr and self-signed certificate workflows: create a private key and CSR with the right subjectAltName, inspect them, self-sign for internal use, and fix the SAN and key-mismatch errors.
- Hardening TLS cipher suites and protocol versions on Nginx A practitioner guide to TLS cipher suites Nginx settings — disable TLS 1.0/1.1, apply a vetted Mozilla intermediate ssl_ciphers list, turn on TLS 1.3, add OCSP stapling, and verify the result with openssl and testssl.
- Publish MTA-STS and TLS-RPT for your mail domain Force inbound SMTP to use verified TLS. Publish the _mta-sts TXT record, serve the policy file from nginx over HTTPS, add TLS-RPT reporting, and roll from testing to enforce safely.
- dig: troubleshooting DNS resolution end to end A practitioner guide to the dig command for dns troubleshooting: reading the header and sections, +short, +trace, +norecurse, querying authoritative nameservers directly, DNSSEC, and reverse lookups.
- Verify a TLS certificate chain with OpenSSL A practitioner guide to openssl verify certificate chain workflows: pull a live chain with s_client, validate it with openssl verify -CAfile, read each certificate with x509, and fix "unable to get local issuer certificate".
- Checking SSL certificate expiry and staying ahead of renewals on cPanel How to check when SSL certificates expire across a cPanel server, confirm AutoSSL is renewing them, and catch the ones that will not auto-renew before they lapse into a browser warning.
- ERR_CERT_COMMON_NAME_INVALID on cPanel — the server is serving the wrong certificate A site shows ERR_CERT_COMMON_NAME_INVALID or a certificate for a different domain. The certificate is valid but bound to the wrong hostname. Here is why cPanel serves the wrong cert and how to fix it.
- Redirecting HTTP to HTTPS with .htaccess on a cPanel account — the per-site way How to force HTTPS for a single cPanel account using .htaccess, the correct rule behind a proxy, and why this differs from cPanel's server-wide Force HTTPS Redirect toggle.