feat(check): who-holds and host-shape, wired and honest about what they cannot see
Two new checks: the registry/mail/hosting card, and whether the address works with and without www. Wiring forced three corrections that are the point of this commit: - who-holds emitted a numeric checkedAt while the envelope contract is an ISO string; a second shape in the same results array breaks any staleness comparison. - Linode's pattern matched 'akamai', so maybank2u.com.my - a bank behind Akamai's edge - was reported as sitting on Linode. Two brands, one owner, different platforms. - A refused DNS query was printed as 'this domain does not resolve', which is a claim about the customer's domain rather than about our resolver. Transient codes now get one retry, and only NXDOMAIN is allowed to say a name does not exist. about page now lists the real request budget (page + five HEAD hops + image + three www-form requests + two registry), and the hub says five checks instead of three.
This commit is contained in:
1 parent
d323e52a37
commit
e407c0daba
8 files changed
+2469
-22
No files matched your search
+3
-1
@@ -26,9 +26,11 @@ const COMMIT = process.env.APP_COMMIT || 'dev';
|
||||
// The check modules are written independently of this file; accept either export shape so a
|
||||
// naming difference between modules never takes the service down.
|
||||
const loaders = {
|
||||
'who-holds': () => import('./checks/who-holds.mjs'),
|
||||
'mail-auth': () => import('./checks/mail-auth.mjs'),
|
||||
tls: () => import('./checks/tls.mjs'),
|
||||
http: () => import('./checks/http.mjs')
|
||||
'http': () => import('./checks/http.mjs'),
|
||||
'host-shape': () => import('./checks/host-shape.mjs')
|
||||
};
|
||||
const modules = {};
|
||||
for (const [id, load] of Object.entries(loaders)) {
|
||||
|
||||
Reference in new issue
Block a user