dns
Rules: 38
dns/aaaa
The host has no IPv6 address
dns/aaaa/missing · info · score 1.4 · site
Visitors on IPv6-only networks cannot reach the host, and everyone else misses the IPv6 path where it is faster.
Reported as
no AAAA record, so the host is unreachable over IPv6
Fix
Publish an AAAA record with the host’s IPv6 address.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.dns.aaaa
Expects
{
"minItems": 1
}
dns/agents
The zone has no DNS-AID entry point for agents
dns/agents/missing · hint · score 0.8 · site
Without a record at _index._agents, AI agents cannot discover the zone’s agent services through DNS.
Reported as
no DNS-AID entry point at _index._agents, so an agent cannot find the zone’s agent services through DNS
Fix
Add an HTTPS record that tells agents which host serves the site.
- Name:
_index._agents.<domain> - Priority:
1 - Target:
<host>. - Value:
alpn="h3,h2" port=443 - Zone file:
_index._agents.<domain>. 3600 IN HTTPS 1 <host>. alpn="h3,h2" port=443
For each agent service, add one more such record with the service’s own host as Target, at _mcp._agents.<domain> for an MCP server or _a2a._agents.<domain> for an A2A agent. The record format is in RFC 9460 and DNS-AID.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.dns.agents
Expects
{
"type": "array",
"minItems": 1
}
dns/apex-cname
The zone apex is a CNAME
dns/apex-cname/present · warning · score 4.8 · site
A CNAME cannot sit beside the SOA and NS records every apex has, so resolvers may fail on the zone itself or on its mail and name server records.
Reported as
the zone apex is a CNAME to the value found, which cannot sit beside the apex’s SOA and NS records
Fix
Delete the CNAME record of <domain>, then add A and AAAA records with the addresses it led to, or the ALIAS or flattened CNAME record your DNS provider offers in its place.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.dns.apex-cname
Expects
{
"const": false
}
When
{
"site.hosts.*.dns.apex-cname": {
"type": [
"string",
"boolean"
]
}
}
dns/caa-flags
CAA marks an unknown tag as critical
dns/caa-flags/invalid · error · score 7.2 · site
A certificate authority that does not know a critical tag must refuse to issue, so certificate issuance and renewal for the name can fail outright. Checked only where CAA records exist.
Reported as
CAA marks a tag outside RFC 8659 critical, so a CA that does not know it refuses to issue at all (got the value found)
Fix
Set the CAA flags to 0 on the unknown tag, or remove the record.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
site.hosts.*.dns.caa.records
Expects
{
"not": {
"contains": {
"properties": {
"flags": {
"minimum": 128
},
"tag": {
"not": {
"enum": [
"issue",
"issuewild",
"iodef"
]
}
}
}
}
}
}
When
{
"site.hosts.*.dns.caa": {
"type": "object"
}
}
dns/caa-iodef
CAA names no contact for issuance reports
dns/caa-iodef/missing · info · score 2.8 · site
Without an iodef tag, a certificate authority that refuses or doubts a request for the name has nowhere to report it. Checked only where CAA records exist.
Reported as
CAA names no iodef address for refused issuance reports
Fix 1
Add a CAA iodef tag pointing at a contact URI or email for issuance incident reports.
Fix 2
Report Relay https://dbuho.me/project/report-relay/ collects these reports and sends them to your Grafana: open source, self-hosted, free.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
site.hosts.*.dns.caa.records
Expects
{
"contains": {
"properties": {
"tag": {
"const": "iodef"
}
}
}
}
When
{
"site.hosts.*.dns.caa": {
"type": "object"
}
}
dns/caa-issuer
CAA does not allow the CA that issued the served certificate
dns/caa-issuer/mismatch · error · score 8.6 · site
Certificate authorities must refuse what CAA does not allow, so the next renewal from this CA fails and visitors then see an expired certificate. Checked only where CAA records exist and the issuer is known.
Reported as
CAA does not allow the CA that issued the served certificate (got the value found)
Fix
Add an issue or issuewild tag to CAA for the CA that holds the certificate.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
site.hosts.*.dns.caa.issuer
Expects
{
"properties": {
"allowed": {
"const": true
}
}
}
When
{
"site.hosts.*.dns.caa.issuer": {
"type": "object"
}
}
dns/caa
The host has no CAA record
dns/caa/missing · warning · score 4.0 · site
Without a CAA issue or issuewild record on the host or any parent name, any certificate authority may issue a certificate for it, so a mistaken or fraudulent issuance is easier to obtain.
Reported as
no CAA issue or issuewild record on the host or any parent, so any CA may issue for it
Fix
Add a CAA record for each certificate authority you use; it covers every name under <domain>.
- Name:
<domain> - Flags:
0 - Tag:
issue - CA domain:
letsencrypt.org - Zone file:
<domain>. CAA 0 issue "letsencrypt.org"
Put your own authority’s domain in place of letsencrypt.org.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
site.hosts.*.dns.caa
Expects
{
"type": "object",
"properties": {
"records": {
"contains": {
"properties": {
"tag": {
"enum": [
"issue",
"issuewild"
]
}
}
}
}
}
}
dns/cname-chain
The name resolves through a long chain of CNAME aliases
dns/cname-chain/excessive · info · score 1.6 · site
Every CNAME hop costs the resolver another lookup, which delays the first visit, and some resolvers give up on long chains. Flagged above two hops.
Reported as
the name resolves through the value found of CNAME hops
Fix
Cut the CNAME chain at one hop by pointing the alias directly at the target’s A or AAAA.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.dns.cname
Expects
{
"maxItems": 2
}
dns/cname
A CNAME points to a name that does not exist
dns/cname/insecure · error · score 9.2 · site
Anyone who registers or claims the missing target can serve content under the site’s name, enabling phishing, cookie theft or defacement. Checked on crawled and linked names.
Reported as
the name is a CNAME to a name that does not exist, open to takeover (got the value found)
Fix
Delete the dangling CNAME, or claim the delegated name before a third party can.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
site.hosts.*.dns.dangling
Expects
{
"const": false
}
dns/dmarc-policy
The DMARC policy neither quarantines nor rejects
dns/dmarc-policy/weak · warning · score 6.2 · site
A policy of none asks receivers to deliver forged mail anyway, so phishing sent in the name’s identity still reaches inboxes. Checked only on names that take or send mail and publish DMARC.
Reported as
the DMARC policy neither quarantines nor rejects, so receivers deliver mail forged from a name that takes or sends mail (got the value found)
Fix
Change the TXT record for DMARC to quarantine mail that fails its checks.
- Name:
_dmarc.<domain> - Content:
v=DMARC1; p=quarantine; rua=mailto:dmarc@<domain>
After a few weeks, read the reports sent to dmarc@<domain>. When every server they list is yours, change p=quarantine to p=reject.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
site.hosts.*.mail.dmarc
Expects
{
"type": "object",
"required": [
"policy"
],
"properties": {
"policy": {
"enum": [
"quarantine",
"reject"
]
}
}
}
When
{
"site.hosts.*.mail.mode": "mail",
"site.hosts.*.mail.dmarc": {
"type": "object"
}
}
dns/dmarc-reject
A name that sends no mail has no DMARC reject policy
dns/dmarc-reject/missing · warning · score 6.4 · site
Without a DMARC policy of reject, receivers accept mail forged from the name, so phishers can borrow its reputation. Checked only on names that appear to take and send no mail.
Reported as
no DMARC policy of reject applies to the name, so receivers accept mail forged from it (got the value found)
Fix
Add a TXT record that tells receivers to refuse mail forged from <domain> or any name under it.
- Name:
_dmarc.<domain> - Content:
v=DMARC1; p=reject; sp=reject; adkim=s; aspf=s
Off by default; a group that runs dns:mail turns it on.
References
For rule authors
Reads
site.hosts.*.mail.dmarc
Expects
{
"type": "object",
"required": [
"policy"
],
"properties": {
"policy": {
"const": "reject"
}
}
}
When
{
"site.hosts.*.mail.mode": "none"
}
dns/dmarc
A mail name has no DMARC record
dns/dmarc/missing · warning · score 6.2 · site
Without DMARC, receivers deliver mail forged from the name, so recipients can be phished under its identity. Checked only on names that take or send mail.
Reported as
no DMARC record applies to a name that takes or sends mail, so receivers deliver mail forged from it
Fix
Add a TXT record for DMARC.
- Name:
_dmarc.<domain> - Content:
v=DMARC1; p=quarantine; rua=mailto:dmarc@<domain>
After a few weeks, read the reports sent to dmarc@<domain>. When every server they list is yours, change p=quarantine to p=reject.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
site.hosts.*.mail.dmarc
Expects
{
"type": "object"
}
When
{
"site.hosts.*.mail.mode": "mail"
}
dns/dnssec-algorithm
The zone uses a DNSSEC algorithm that is no longer allowed
dns/dnssec-algorithm/deprecated · warning · score 4.2 · site
RFC 8624 forbids the signing algorithm or DS digest, so resolvers may treat the zone as unsigned and its protection against forged answers weakens. Checked only on signed zones.
Reported as
the zone signs or digests with an algorithm RFC 8624 forbids
Fix
Re-sign the zone and republish its DS with a non-deprecated algorithm.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.dnssec
Expects
{
"properties": {
"ds": {
"items": {
"properties": {
"algorithm": {
"not": {
"enum": [
1,
3,
5,
6,
7,
12
]
}
},
"digest-type": {
"not": {
"enum": [
1,
3
]
}
}
}
}
},
"dnskey": {
"items": {
"properties": {
"algorithm": {
"not": {
"enum": [
1,
3,
5,
6,
7,
12
]
}
}
}
}
}
}
}
When
{
"site.hosts.*.dnssec.signed": true
}
dns/dnssec
The zone’s DNSSEC signatures fail validation
dns/dnssec/broken · error · score 8.8 · site
Validating resolvers answer SERVFAIL, so everyone behind them cannot reach the site or its mail. Checked only when the resolver validates DNSSEC.
Reported as
the zone is signed but fails validation, so every validating resolver answers SERVFAIL
Fix
Fix the broken DS or DNSKEY at the parent or the zone so the chain of trust validates.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
site.hosts.*.dnssec.bogus
Expects
{
"const": false
}
When
{
"site.hosts.*.dnssec.bogus": {
"type": "boolean"
}
}
The zone is not signed with DNSSEC
dns/dnssec/missing · warning · score 5.6 · site
Without signatures, resolvers cannot detect forged DNS answers, so an attacker on the path can send visitors and mail to a different server.
Reported as
the zone is not signed with DNSSEC
Fix
Enable DNSSEC signing on the zone and publish a DS record at the parent.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
site.hosts.*.dnssec.signed
Expects
{
"const": true
}
dns/https-alpn
The HTTPS record and Alt-Svc disagree about HTTP/3
dns/https-alpn/mismatch · warning · score 3.5 · site
When the DNS record and the header differ on whether HTTP/3 is available, browsers get conflicting advice and may try a protocol the server does not serve or skip one it does.
Reported as
the HTTPS record and Alt-Svc disagree about h3 (got the value found)
Fix
Keep the HTTPS record’s h3 flag and the Alt-Svc h3 advertisement in agreement.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.dns.h3
Expects
{
"anyOf": [
{
"properties": {
"record": {
"const": true
},
"alt-svc": {
"const": true
}
}
},
{
"properties": {
"record": {
"const": false
},
"alt-svc": {
"const": false
}
}
}
]
}
dns/https-hints
The HTTPS record’s address hints do not match A and AAAA
dns/https-hints/mismatch · warning · score 3.6 · site
Browsers that trust ipv4hint or ipv6hint connect to addresses the host no longer has, or never try those it does, so connections fail or slow down. Checked only where the record points at the host itself.
Reported as
ipv4hint or ipv6hint does not match the A and AAAA records
Fix
Update the IPv4 and IPv6 hints in the HTTPS record to match the current A and AAAA sets.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.dns.https
Expects
{
"items": {
"properties": {
"hints-match": {
"const": true
}
}
}
}
dns/https-record
The host has no HTTPS DNS record
dns/https-record/missing · warning · score 3.8 · site
Without it, a browser’s first visit learns about HTTP/3 and Encrypted Client Hello only from the Alt-Svc header, one connection later, so first loads are slower and less private.
Reported as
no HTTPS record, so a first visit learns h3 and ECH only from Alt-Svc, one connection late
Fix
Add an HTTPS record, so browsers learn on their first visit which protocols the site speaks.
- Name:
<host> - Priority:
1 - Target:
. - Value:
alpn="h3,h2" - Zone file:
<host>. 3600 IN HTTPS 1 . alpn="h3,h2"
A Target of . means the name itself. Leave h3 out of the value if the site does not serve HTTP/3.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
site.hosts.*.dns.https
Expects
{
"minItems": 1
}
dns/ns-answers
The name servers answer the host differently
dns/ns-answers/mismatch · warning · score 5.8 · site
Visitors reach different addresses depending on which server their resolver asks, so some may land on a stale or wrong server.
Reported as
the name servers answer the host differently, so what a visitor reaches depends on which one their resolver asks: the value found
Fix
Sync the zone on every name server and bump its SOA serial.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.nameservers.differing
Expects
{
"maxItems": 0
}
When
{
"site.hosts.*.nameservers.differing": {
"type": "array"
}
}
dns/ns-delegation
Listed name servers do not answer for the zone
dns/ns-delegation/broken · warning · score 5.5 · site
A resolver that picks one of these leftovers of an old provider or an unloaded zone waits out a timeout or gets a refusal, so lookups slow down or fail.
Reported as
these name servers are listed for the zone but do not answer for it, a leftover of a decommissioned provider or a zone never loaded: the value found; a resolver that picks one waits out a timeout or gets a refusal
Fix
Delete the NS records of <domain> that name these servers, at the DNS provider and at the registrar, or load the zone on them.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.nameservers.lame
Expects
{
"maxItems": 0
}
When
{
"site.hosts.*.nameservers.lame": {
"type": "array"
}
}
The parent zone and the zone list different name servers
dns/ns-delegation/mismatch · warning · score 5.2 · site
Resolvers reach a server the zone disowns or skip one it lists, so lookups can fail or return stale data.
Reported as
the parent zone and the zone’s own NS records name different servers, so resolvers reach a server the zone disowns or skip one it lists: the value found
Fix
Make the NS records of <domain> in your DNS panel list the same name servers as those set at the registrar.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.nameservers.delegation.differs
Expects
{
"maxItems": 0
}
When
{
"site.hosts.*.nameservers.delegation.differs": {
"type": "array"
}
}
dns/ns-network
All name servers sit in one network
dns/ns-network/single · info · score 2.2 · site
If that one /24 or /48 network fails, every name server goes down together, and the site and its mail with them.
Reported as
every name server address sits in one /24 or /48
Fix
Place name servers on addresses in different /24 or /48 networks.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.nameservers.networks
Expects
{
"minimum": 2
}
dns/ns-resolver
The resolver’s answer differs from the name servers’ answer
dns/ns-resolver/mismatch · info · score 2.4 · site
A cached old answer or a split view means some visitors still reach an old address after a change.
Reported as
the configured resolver answers the host differently from its name servers, a cached old answer or a split view
Fix
Wait out the old record’s TTL, or check which view the resolver serves.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.nameservers.resolver-agrees
Expects
{
"const": true
}
When
{
"site.hosts.*.nameservers.resolver-agrees": {
"type": "boolean"
}
}
dns/ns-serial
The name servers serve different versions of the zone
dns/ns-serial/mismatch · warning · score 5.3 · site
The servers report different SOA serials, so a change to the zone reaches some visitors late, depending on which server their resolver asks.
Reported as
the name servers serve different SOA serials, so a zone change reaches some of them late (got the value found)
Fix
Sync the zone to every name server and bump the SOA serial.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.nameservers
Expects
{
"properties": {
"serials": {
"maxItems": 1
}
}
}
When
{
"site.hosts.*.nameservers.serials": {
"type": "array"
}
}
dns/ns
The zone has a single name server
dns/ns/single · warning · score 5.4 · site
When that server is down, nobody can resolve the site or its mail. Flagged when fewer than two name servers are listed.
Reported as
the zone has the value found name servers, fewer than 2
Fix
Add a second name server at a different network from the first.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.nameservers.servers
Expects
{
"minItems": 2
}
dns/nsec3-iterations
NSEC3 uses extra hashing iterations or a salt
dns/nsec3-iterations/excessive · warning · score 3.3 · site
Per RFC 9276, extra iterations and a salt add resolver work without real protection, and some resolvers treat such answers as insecure. Checked only on zones that use NSEC3.
Reported as
NSEC3 uses extra iterations or a salt (got the value found)
Fix
Disable NSEC3 iterations and salt, or migrate to NSEC by removing the NSEC3PARAM records.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.dnssec.nsec3
Expects
{
"properties": {
"iterations": {
"const": 0
},
"salt-length": {
"const": 0
}
}
}
When
{
"site.hosts.*.dnssec.nsec3": {
"type": "object"
}
}
dns/null-mx
A null MX sits on a name that takes or sends mail
dns/null-mx/invalid · warning · score 5.0 · site
A null MX tells senders the name accepts no mail, so they may drop mail addressed to it, and receivers may refuse mail it sends. Checked only on names that appear to take or send mail.
Reported as
a null MX on a name that takes or sends mail, so senders may drop mail to it and receivers may refuse mail from it (got the value found)
Fix
Delete the MX record that says the name takes no mail, and keep the MX records of its real mail servers.
- Name:
<host> - Mail server:
. - Zone file:
<host>. MX 0 .
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
site.hosts.*.mail.mx
Expects
{
"items": {
"properties": {
"exchange": {
"not": {
"const": "."
}
}
}
}
}
When
{
"site.hosts.*.mail.mode": "mail"
}
A name that takes no mail has no null MX record
dns/null-mx/missing · warning · score 5.6 · site
Without a null MX, senders fall back to the name’s A or AAAA address and keep retrying mail it never accepts, for days. Checked only on names that appear to take and send no mail.
Reported as
no null MX, so senders fall back to the name’s A or AAAA address and retry mail it never takes for days (got the value found)
Fix
Add an MX record that says the name takes no mail.
- Name:
<host> - Mail server:
. - Priority:
0 - Zone file:
<host>. MX 0 .
Then delete every other MX record of the name.
Off by default; a group that runs dns:mail turns it on.
References
For rule authors
Reads
site.hosts.*.mail.mx
Expects
{
"minItems": 1,
"maxItems": 1,
"items": {
"properties": {
"preference": {
"const": 0
},
"exchange": {
"const": "."
}
}
}
}
When
{
"site.hosts.*.mail.mode": "none"
}
dns/recursion
An authoritative name server answers recursive queries
dns/recursion/insecure · warning · score 6.0 · site
Open to anyone, it can be abused for traffic amplification attacks and cache poisoning.
Reported as
an authoritative name server answers recursive queries for any name, which lends it to amplification attacks and cache poisoning
Fix
Turn recursion off on the authoritative name servers of <domain>, or allow it to your own networks only.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
site.hosts.*.nameservers.servers
Expects
{
"items": {
"properties": {
"recursive": {
"not": {
"const": true
}
}
}
}
}
dns/resolver-answers
The compared resolvers give different addresses for the host
dns/resolver-answers/mismatch · info · score 2.0 · site
Geo-DNS does this on purpose; a stale or split view does not, and it sends some visitors to an old or wrong server. Checked only when several resolvers are compared.
Reported as
the compared resolvers give the value found different answers for the host; geo-DNS does this on purpose, a stale or split view does not
Fix
If the answers should match, wait out the old TTL or fix the view that differs.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.resolvers.answer-sets
Expects
{
"maximum": 1
}
When
{
"site.hosts.*.resolvers.answer-sets": {
"type": "integer"
}
}
dns/resolver-rcode
The compared resolvers disagree on whether the host resolves
dns/resolver-rcode/broken · warning · score 4.6 · site
Some resolvers answer while others fail, so part of the visitors cannot reach the site; a SERVFAIL on validating resolvers alone points at a broken DNSSEC chain. Checked only when several resolvers are compared.
Reported as
the compared resolvers disagree on whether the host resolves (got the value found); a SERVFAIL on a validating resolver alone points at DNSSEC
Fix
Query each resolver named in the finding and fix what the failing one reports, a broken DNSSEC chain first.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.resolvers.rcodes
Expects
{
"maxItems": 1
}
dns/resolver-validation
Resolvers disagree on whether the signed zone validates
dns/resolver-validation/broken · info · score 1.8 · site
Some compared resolvers validate the signed zone and some do not, which points at a DS or key problem that fails lookups for visitors behind validating resolvers. Checked only on signed zones.
Reported as
some compared resolvers validate the signed zone and some do not (got the value found)
Fix
Check the DS at the parent and the DNSKEY set against each resolver’s trust anchors.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.resolvers.validatedsite.hosts.*.dnssec.signed
Expects
{
"maxItems": 1
}
When
{
"site.hosts.*.dnssec.signed": true
}
dns/rrsig
The zone’s DNSSEC signatures are close to expiring
dns/rrsig/expiring · warning · score 4.4 · site
With under a quarter of the validity left, re-signing has probably stalled; once the signatures expire, validating resolvers fail every lookup and the site and its mail vanish for their users.
Reported as
less than a quarter of the host’s signature validity is left, so re-signing has stalled (got the value found)
Fix
Re-sign the zone and fix the process that stopped refreshing RRSIGs.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.dnssec.rrsig
Expects
{
"properties": {
"left": {
"minimum": 0.25
}
}
}
When
{
"site.hosts.*.dnssec.rrsig": {
"type": "object"
}
}
dns/soa-timers
The SOA timers are outside the recommended ranges
dns/soa-timers/range · info · score 1.2 · site
Refresh, retry, expire or minimum values far from RFC 1912’s ranges slow the spread of changes or make secondary servers drop the zone too early. Skipped where the DNS provider manages the SOA.
Reported as
the SOA <field> is the value found, outside what RFC 1912 §2.2 recommends: refresh 1200–43200 s, retry below refresh, expire 1209600–2419200 s, minimum 300–86400 s, a listed name server as primary
Fix
Set the SOA of <domain> to refresh 7200, retry 3600, expire 1209600 and minimum 3600, with one of its name servers as the primary.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.nameservers.soa
Expects
{
"properties": {
"refresh": {
"minimum": 1200,
"maximum": 43200
},
"expire": {
"minimum": 1209600,
"maximum": 2419200
},
"minimum": {
"minimum": 300,
"maximum": 86400
},
"retry-below-refresh": {
"const": true
},
"mname-listed": {
"const": true
}
}
}
When
{
"site.hosts.*.nameservers.soa": {
"type": "object"
},
"site.hosts.*.nameservers.provider.soa-editable": {
"not": {
"const": false
}
}
}
dns/spf-all
The SPF record does not end in -all or ~all
dns/spf-all/weak · warning · score 5.7 · site
Without a closing -all, ~all or redirect, receivers let any server send as the name, so forged mail passes the SPF check. Checked only on names that take or send mail.
Reported as
SPF does not end in -all or ~all, so receivers let any server send as this name (got the value found)
Fix
End the SPF record in -all, so receivers refuse mail from servers it does not list, for example:
- Name:
<host> - Content:
v=spf1 mx -all
While you are still finding every server that sends your mail, end it in ~all, which marks mail from other servers as suspect instead.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
site.hosts.*.mail.spf
Expects
{
"items": {
"pattern": "\\s([-~][aA][lL][lL]|[rR][eE][dD][iI][rR][eE][cC][tT]=\\S+)(\\s|$)"
}
}
When
{
"site.hosts.*.mail.mode": "mail"
}
dns/spf-null
A name that sends no mail has no deny-all SPF record
dns/spf-null/missing · warning · score 6.1 · site
Without a lone SPF record of v=spf1 -all, receivers cannot refuse mail forged from this name, so anyone can impersonate it to phish recipients. Checked only on names that appear to take and send no mail.
Reported as
SPF is not a lone v=spf1 -all, so receivers cannot refuse mail forged from this name (got the value found)
Fix
Add a TXT record that says no server sends mail as this name.
- Name:
<host> - Content:
v=spf1 -all
Then delete every other TXT record of the name that starts with v=spf1. A subdomain does not inherit this record, so each name that sends no mail needs its own.
Off by default; a group that runs dns:mail turns it on.
References
For rule authors
Reads
site.hosts.*.mail.spf
Expects
{
"minItems": 1,
"maxItems": 1,
"items": {
"pattern": "^[vV]=[sS][pP][fF]1\\s+-[aA][lL][lL]\\s*$"
}
}
When
{
"site.hosts.*.mail.mode": "none"
}
dns/spf
A mail name has no SPF record or more than one
dns/spf/duplicate · warning · score 5.8 · site
With no SPF record, nobody can check which servers may send as the name; with two, every check fails and receivers may reject genuine mail. Checked only on names that take or send mail.
Reported as
a name that takes or sends mail needs exactly one v=spf1 record, since none lets anyone send as it and two fail every check (got the value found)
Fix
Keep one SPF record for the name, listing every server that sends its mail, for example:
- Name:
<host> - Content:
v=spf1 mx -all
Move the servers the other TXT records starting with v=spf1 list into it, then delete those records.
Runs by default, in the recommended ruleset.
References
For rule authors
Reads
site.hosts.*.mail.spf
Expects
{
"minItems": 1,
"maxItems": 1
}
When
{
"site.hosts.*.mail.mode": "mail"
}
dns/ttl
A record’s TTL is very short or very long
dns/ttl/range · hint · score 0.6 · site
A TTL under 300 seconds multiplies DNS load and lookup delay; over a day, a fix or a migration takes that long to reach visitors. NS records may go up to two days.
Reported as
a record TTL sits outside 300 seconds to one day, two for NS; fine just before a migration, costly otherwise (got the value found)
Fix
Set the TTL of the A, AAAA and MX records of <host> between 300 and 86400 seconds, and of its NS records up to 172800.
Off by default; a group that runs dns turns it on.
References
For rule authors
Reads
site.hosts.*.nameservers.ttl
Expects
{
"properties": {
"a": {
"minimum": 300,
"maximum": 86400
},
"aaaa": {
"minimum": 300,
"maximum": 86400
},
"mx": {
"minimum": 300,
"maximum": 86400
},
"ns": {
"minimum": 300,
"maximum": 172800
}
}
}
When
{
"site.hosts.*.nameservers.ttl": {
"type": "object"
}
}