Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

network

Rules: 4

network/asn

The site and its name servers sit in one autonomous system

network/asn/single · hint · score 0.6 · site

One network outage then takes both the site and its DNS down together. Not flagged when an anycast DNS operator announces the zone.

Fix

Serve the zone from at least one name server in a second autonomous system.

Runs by default, in the recommended ruleset.

References

For rule authors

Reads

  • site.hosts.*.network.asns

network/mail-fcrdns

A mail server address has no matching reverse DNS name

network/mail-fcrdns/mismatch · warning · score 5.8 · site

Large mailbox providers refuse or junk mail from an address with no PTR record, or whose PTR does not resolve back to that address, so the name’s mail goes missing.

Reported as

a mail exchanger address has no PTR, or its PTR does not resolve back to it, so large mailbox providers refuse its mail

Fix

Set the PTR of each mail exchanger address to a name whose A or AAAA record is that address.

Runs by default, in the recommended ruleset.

References

For rule authors

Reads

  • site.hosts.*.network.mail

Expects

{
  "items": {
    "properties": {
      "fcrdns": {
        "const": true
      }
    }
  }
}

network/rpki

An address sits in a route that RPKI marks invalid

network/rpki/invalid · error · score 9.0 · site

Networks that drop RPKI-invalid routes cannot reach the site at all, and the mismatch can also signal a route hijack.

Reported as

an address sits in a route RPKI marks invalid, so networks that drop invalid routes cannot reach the site

Fix

Have the hosting provider publish a ROA naming the origin AS and prefix length the route is announced with.

Runs by default, in the recommended ruleset.

References

For rule authors

Reads

  • site.hosts.*.network.web

Expects

{
  "items": {
    "properties": {
      "rpki": {
        "not": {
          "const": "invalid"
        }
      }
    }
  }
}

An address sits in a prefix that no RPKI route authorisation covers

network/rpki/missing · hint · score 0.7 · site

Without a ROA, a hijack of the route cannot be told apart from the real one, so a rogue network can attract the site’s traffic.

Reported as

an address sits in a prefix no ROA covers, so a hijack of its route cannot be told apart

Fix

Ask the hosting provider to publish a ROA for the prefix that announces the address.

Runs by default, in the recommended ruleset.

References

For rule authors

Reads

  • site.hosts.*.network.web

Expects

{
  "items": {
    "properties": {
      "rpki": {
        "not": {
          "const": "not-found"
        }
      }
    }
  }
}