{
    "ok": true,
    "domain": "diba.cat",
    "generated_at": "2026-08-11T01:09:16-05:00",
    "cache": {
        "hit": true,
        "ttl": 0
    },
    "score": {
        "total": 82,
        "label": "Good",
        "categories": {
            "dns": 70,
            "mail": 90,
            "security": 84,
            "network": 50,
            "availability": 100
        },
        "category_weights": {
            "dns": 25,
            "mail": 20,
            "security": 25,
            "network": 10,
            "availability": 20
        },
        "items": [
            {
                "category": "dns",
                "title": "IPv4 (A)",
                "max_points": 30,
                "earned_points": 30,
                "lost_points": 0,
                "detail": "1 IPv4 address(es) detected."
            },
            {
                "category": "dns",
                "title": "IPv6 (AAAA)",
                "max_points": 10,
                "earned_points": 0,
                "lost_points": 10,
                "detail": "0 IPv6 address(es) detected."
            },
            {
                "category": "dns",
                "title": "Name server redundancy",
                "max_points": 20,
                "earned_points": 20,
                "lost_points": 0,
                "detail": "2 NS record(s); 2 or more required."
            },
            {
                "category": "dns",
                "title": "SOA record",
                "max_points": 10,
                "earned_points": 10,
                "lost_points": 0,
                "detail": "Authoritative zone record."
            },
            {
                "category": "dns",
                "title": "DNSSEC chain",
                "max_points": 15,
                "earned_points": 0,
                "lost_points": 15,
                "detail": "Both DS and DNSKEY are required."
            },
            {
                "category": "dns",
                "title": "CAA policy",
                "max_points": 5,
                "earned_points": 0,
                "lost_points": 5,
                "detail": "Certificate authority restriction."
            },
            {
                "category": "dns",
                "title": "DNS propagation",
                "max_points": 10,
                "earned_points": 10,
                "lost_points": 0,
                "detail": "Agreement between public resolvers."
            },
            {
                "category": "mail",
                "title": "MX records",
                "max_points": 20,
                "earned_points": 20,
                "lost_points": 0,
                "detail": "1 MX record(s)."
            },
            {
                "category": "mail",
                "title": "SPF",
                "max_points": 25,
                "earned_points": 25,
                "lost_points": 0,
                "detail": "SPF policy published."
            },
            {
                "category": "mail",
                "title": "DMARC",
                "max_points": 25,
                "earned_points": 25,
                "lost_points": 0,
                "detail": "DMARC policy published."
            },
            {
                "category": "mail",
                "title": "DKIM",
                "max_points": 20,
                "earned_points": 20,
                "lost_points": 0,
                "detail": "A DKIM selector was verified."
            },
            {
                "category": "mail",
                "title": "MTA-STS",
                "max_points": 5,
                "earned_points": 0,
                "lost_points": 5,
                "detail": "Mail transport policy."
            },
            {
                "category": "mail",
                "title": "TLS-RPT",
                "max_points": 5,
                "earned_points": 0,
                "lost_points": 5,
                "detail": "TLS reporting policy."
            },
            {
                "category": "security",
                "title": "Valid TLS certificate",
                "max_points": 55,
                "earned_points": 55,
                "lost_points": 0,
                "detail": "129 day(s) remaining."
            },
            {
                "category": "security",
                "title": "Certificate lifetime",
                "max_points": 10,
                "earned_points": 10,
                "lost_points": 0,
                "detail": "Full points require at least 30 days remaining."
            },
            {
                "category": "security",
                "title": "HTTP security headers",
                "max_points": 35,
                "earned_points": 19,
                "lost_points": 16,
                "detail": "5 of 9 evaluated headers detected."
            },
            {
                "category": "network",
                "title": "PTR reverse DNS",
                "max_points": 30,
                "earned_points": 30,
                "lost_points": 0,
                "detail": "PTR: culturopolis.cat"
            },
            {
                "category": "network",
                "title": "IPv4 diversity",
                "max_points": 35,
                "earned_points": 20,
                "lost_points": 15,
                "detail": "Two or more IPv4 addresses receive full points."
            },
            {
                "category": "network",
                "title": "IPv6 connectivity",
                "max_points": 35,
                "earned_points": 0,
                "lost_points": 35,
                "detail": "AAAA availability."
            },
            {
                "category": "availability",
                "title": "DNS resolution",
                "max_points": 40,
                "earned_points": 40,
                "lost_points": 0,
                "detail": "At least one address family must resolve."
            },
            {
                "category": "availability",
                "title": "HTTP response",
                "max_points": 40,
                "earned_points": 40,
                "lost_points": 0,
                "detail": "HTTP/2 200 "
            },
            {
                "category": "availability",
                "title": "HTTPS final URL",
                "max_points": 20,
                "earned_points": 20,
                "lost_points": 0,
                "detail": "Final URL uses HTTPS."
            }
        ],
        "methodology": "Each category is normalized to 100. The total is the weighted sum: DNS 25%, Email 20%, Security 25%, Network 10%, Availability 20%.",
        "diagnostics": [
            {
                "level": "ok",
                "title": "IPv4 (A)",
                "detail": "1 IPv4 address(es) detected.",
                "category": "dns",
                "max_points": 30,
                "earned_points": 30,
                "lost_points": 0
            },
            {
                "level": "error",
                "title": "IPv6 (AAAA)",
                "detail": "0 IPv6 address(es) detected.",
                "category": "dns",
                "max_points": 10,
                "earned_points": 0,
                "lost_points": 10
            },
            {
                "level": "ok",
                "title": "Name server redundancy",
                "detail": "2 NS record(s); 2 or more required.",
                "category": "dns",
                "max_points": 20,
                "earned_points": 20,
                "lost_points": 0
            },
            {
                "level": "ok",
                "title": "SOA record",
                "detail": "Authoritative zone record.",
                "category": "dns",
                "max_points": 10,
                "earned_points": 10,
                "lost_points": 0
            },
            {
                "level": "error",
                "title": "DNSSEC chain",
                "detail": "Both DS and DNSKEY are required.",
                "category": "dns",
                "max_points": 15,
                "earned_points": 0,
                "lost_points": 15
            },
            {
                "level": "error",
                "title": "CAA policy",
                "detail": "Certificate authority restriction.",
                "category": "dns",
                "max_points": 5,
                "earned_points": 0,
                "lost_points": 5
            },
            {
                "level": "ok",
                "title": "DNS propagation",
                "detail": "Agreement between public resolvers.",
                "category": "dns",
                "max_points": 10,
                "earned_points": 10,
                "lost_points": 0
            },
            {
                "level": "ok",
                "title": "MX records",
                "detail": "1 MX record(s).",
                "category": "mail",
                "max_points": 20,
                "earned_points": 20,
                "lost_points": 0
            },
            {
                "level": "ok",
                "title": "SPF",
                "detail": "SPF policy published.",
                "category": "mail",
                "max_points": 25,
                "earned_points": 25,
                "lost_points": 0
            },
            {
                "level": "ok",
                "title": "DMARC",
                "detail": "DMARC policy published.",
                "category": "mail",
                "max_points": 25,
                "earned_points": 25,
                "lost_points": 0
            },
            {
                "level": "ok",
                "title": "DKIM",
                "detail": "A DKIM selector was verified.",
                "category": "mail",
                "max_points": 20,
                "earned_points": 20,
                "lost_points": 0
            },
            {
                "level": "error",
                "title": "MTA-STS",
                "detail": "Mail transport policy.",
                "category": "mail",
                "max_points": 5,
                "earned_points": 0,
                "lost_points": 5
            },
            {
                "level": "error",
                "title": "TLS-RPT",
                "detail": "TLS reporting policy.",
                "category": "mail",
                "max_points": 5,
                "earned_points": 0,
                "lost_points": 5
            },
            {
                "level": "ok",
                "title": "Valid TLS certificate",
                "detail": "129 day(s) remaining.",
                "category": "security",
                "max_points": 55,
                "earned_points": 55,
                "lost_points": 0
            },
            {
                "level": "ok",
                "title": "Certificate lifetime",
                "detail": "Full points require at least 30 days remaining.",
                "category": "security",
                "max_points": 10,
                "earned_points": 10,
                "lost_points": 0
            },
            {
                "level": "warning",
                "title": "HTTP security headers",
                "detail": "5 of 9 evaluated headers detected.",
                "category": "security",
                "max_points": 35,
                "earned_points": 19,
                "lost_points": 16
            },
            {
                "level": "ok",
                "title": "PTR reverse DNS",
                "detail": "PTR: culturopolis.cat",
                "category": "network",
                "max_points": 30,
                "earned_points": 30,
                "lost_points": 0
            },
            {
                "level": "warning",
                "title": "IPv4 diversity",
                "detail": "Two or more IPv4 addresses receive full points.",
                "category": "network",
                "max_points": 35,
                "earned_points": 20,
                "lost_points": 15
            },
            {
                "level": "error",
                "title": "IPv6 connectivity",
                "detail": "AAAA availability.",
                "category": "network",
                "max_points": 35,
                "earned_points": 0,
                "lost_points": 35
            },
            {
                "level": "ok",
                "title": "DNS resolution",
                "detail": "At least one address family must resolve.",
                "category": "availability",
                "max_points": 40,
                "earned_points": 40,
                "lost_points": 0
            },
            {
                "level": "ok",
                "title": "HTTP response",
                "detail": "HTTP/2 200 ",
                "category": "availability",
                "max_points": 40,
                "earned_points": 40,
                "lost_points": 0
            },
            {
                "level": "ok",
                "title": "HTTPS final URL",
                "detail": "Final URL uses HTTPS.",
                "category": "availability",
                "max_points": 20,
                "earned_points": 20,
                "lost_points": 0
            }
        ]
    },
    "dns": {
        "records": {
            "A": [
                "45.15.50.151"
            ],
            "AAAA": [],
            "CNAME": [],
            "MX": [
                "10 dibacat.mail.protection.outlook.com."
            ],
            "TXT": [
                "\"_0ujo9kb8v8rlmuqjgrak1shxpwqjy5t\"",
                "\"_8i8250mlnnwhwdpcp1hx54zcsa70jry\"",
                "\"_94cpi17gam20dn75onr15dbzn3nzvq4\"",
                "\"_znw9i1xkhnevi702x9a9539d31gy42e\"",
                "\"_6l2y0nheofqkym58rqviu83hbn1uv1n\"",
                "\"MS=EDBF17A83087385E86F3CD09DD46F872E41D866D\"",
                "\"w91x32b401s8rqnsnbh3n90lqxwtx71x\"",
                "\"cisco-ci-domain-verification=8aa73ff63e488bc4d77f80bcb5a302fa69dc783e7b7f4542872f36ee412bff8\"",
                "\"_rge18vc62ukmri97nr8tfkmqdx9py4h\"",
                "\"_n3gvsg3e81oi1quxleuxg7l68yf1tdt\"",
                "\"google-site-verification=s5kjNx1JYCFzEEFtjiN0qBqVqEJHpmmSB7NuxlBtWiM\"",
                "\"_g3qkkj6hefmcez2cefw7j5h0pkwgaty\"",
                "\" _k5f7k77ilur3j8zwq1bzsblonlpdgw9\"",
                "\"_onv33myfbw7444e696u6gw0nzwm0zm7\"",
                "\"_9g12izfehrxm8k27kua0oseh62uvl6x\"",
                "\"google-site-verification=iQrwSB6y1fJ2KfaFnOgpUChYSecjeT_9JNPHTKWBlxc\"",
                "\"cj46kwlpj23lvbzwwh0wbnmvw8fmws55\"",
                "\"82y35zjfcydr4s04s28mh9bnzyr47w5f\"",
                "\"v=spf1 include:spf.diba.cat include:spfmailing.diba.cat include:spf.protection.outlook.com include:servers.mcsv.net include:eu.zcsend.net -all\"",
                "\"_96tvxg2kk769pnoe2xioh29zgtiy4zs\"",
                "\"PLbAQaHmvGlE30oqR6VwnNuAJinAmgVMBCPEE7XRWUXlr97HNo3r7BEBo9+9WVtQ9LM8sZUyRzkw9ydO2kBszA==\"",
                "\"_exzc5x6oiy7req6e43wxgmby5pc0828\"",
                "\"qmOWdCsBUVULyzxfLdumOxFEZrSyJeZLJq7rf9Mt3uGqKtCuVSikUn2eiWF2cRVPyC7Sjw4SJU0nky5JCZGsjw==\""
            ],
            "NS": [
                "ns4.diba.cat.",
                "ns3.diba.cat."
            ],
            "SOA": [
                "ns3.diba.cat. postmaster.diba.cat. 2026080702 3600 3600 1209600 3600"
            ],
            "CAA": [],
            "DS": [],
            "DNSKEY": [],
            "RRSIG": [],
            "NSEC": [],
            "NSEC3": [],
            "SRV": [],
            "NAPTR": [],
            "TLSA": [],
            "SSHFP": []
        },
        "ipv4": [
            "45.15.50.151"
        ],
        "ipv6": []
    },
    "mail": {
        "spf": "v=spf1 include:spf.diba.cat include:spfmailing.diba.cat include:spf.protection.outlook.com include:servers.mcsv.net include:eu.zcsend.net -all",
        "dmarc": "v=DMARC1; p=none; rua=mailto:sgot.seguretat@diba.cat, mailto:rua.dmarc@ccn-cert.cni.es",
        "dkim_selector": "selector1",
        "dkim_host": "selector1._domainkey.diba.cat",
        "dkim": "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3IxsDJo+bRQEJgc57u16sbOuZs+nBImEaiHWxc4TSqjtjg8oXGFIHcdt31dSbfX6GC4s7s65dd4sJp2npdFE3qBTv1YKzUV2xt+jlCdNzQXj6gTUk/ArjBBrMiybT1lzcV+xtlmzztTCzDtjvv9uzTlhv64X/rXPnlTn8Q+Z1KH4ECV3mj37siQ/fepKUM0qteF24xJOAOVu/hH48f3KgPc0njC71+tc23GR1w2ogxI29HL+sGfstn/AAWZl2QgFmlYfgFMEExKBzIQ+RO50GXIfxZuVP1/YuZmufkQOVXONJPHPqKF0EnXPZhVouCFf8klA4MkthBPKJLaZ5Wm2SQIDAQAB;",
        "spf_analysis": {
            "valid": true,
            "lookups": 5,
            "final": "-all",
            "message": "Within the estimated limit"
        },
        "dmarc_analysis": {
            "valid": true,
            "policy": "none"
        },
        "bimi": "",
        "mta_sts": "",
        "tls_rpt": ""
    },
    "advanced": {
        "ptr": "culturopolis.cat",
        "propagation": {
            "consistent": true,
            "results": [
                {
                    "provider": "Google",
                    "server": "8.8.8.8",
                    "result": [
                        "45.15.50.151"
                    ],
                    "time_ms": 154.95
                },
                {
                    "provider": "Cloudflare",
                    "server": "1.1.1.1",
                    "result": [
                        "45.15.50.151"
                    ],
                    "time_ms": 146.35
                },
                {
                    "provider": "Quad9",
                    "server": "9.9.9.9",
                    "result": [
                        "45.15.50.151"
                    ],
                    "time_ms": 152.91
                },
                {
                    "provider": "OpenDNS",
                    "server": "208.67.222.222",
                    "result": [
                        "45.15.50.151"
                    ],
                    "time_ms": 250.07
                },
                {
                    "provider": "AdGuard",
                    "server": "94.140.14.14",
                    "result": [
                        "45.15.50.151"
                    ],
                    "time_ms": 350.68
                }
            ]
        }
    },
    "ssl": {
        "available": true,
        "issuer": "DigiCert Inc",
        "subject": "*.diba.cat",
        "valid_from": "2026-06-02T19:00:00-05:00",
        "valid_to": "2026-12-18T17:59:59-06:00",
        "days_remaining": 129,
        "san": [
            "*.diba.cat",
            "diba.cat",
            "www.diba.es",
            "diba.es"
        ],
        "protocol": "TLSv1.3",
        "cipher": "TLS_AES_256_GCM_SHA384"
    },
    "http": {
        "url": "https://www.diba.cat/ca/inici",
        "status": "HTTP/2 200 ",
        "http_version": "3",
        "headers": {
            "location": "/ca/inici",
            "cache-control": "private, no-cache, no-store, must-revalidate",
            "pragma": "no-cache",
            "x-content-type-options": "nosniff",
            "x-frame-options": "SAMEORIGIN",
            "set-cookie": "COOKIE_SUPPORT=true; Max-Age=31536000; Expires=Wed, 11 Aug 2027 06:09:06 GMT; Path=/; Secure; HttpOnly",
            "date": "Tue, 11 Aug 2026 06:09:05 GMT",
            "strict-transport-security": "max-age=31536000; includeSubDomains",
            "referrer-policy": "strict-origin-when-cross-origin",
            "permissions-policy": "geolocation=(), camera=(), microphone=()",
            "x-xss-protection": "1; mode=block",
            "x-permitted-cross-domain-policies": "master-only",
            "expires": "Thu, 01 Jan 1970 00:00:00 GMT",
            "etag": "\"68149129\"",
            "content-type": "text/html;charset=utf-8",
            "content-length": "39"
        },
        "security_checks": {
            "strict-transport-security": true,
            "content-security-policy": false,
            "x-content-type-options": true,
            "x-frame-options": true,
            "referrer-policy": true,
            "permissions-policy": true,
            "cross-origin-opener-policy": false,
            "cross-origin-embedder-policy": false,
            "cross-origin-resource-policy": false
        },
        "server": "",
        "powered_by": ""
    },
    "webpage": {
        "url": "https://www.diba.cat/ca/inici",
        "title": "Diputació de Barcelona, institució de govern local - Diputació de Barcelona",
        "description": "Institució de govern local que impulsa el progrés i el benestar dels ciutadans de la província de Barcelona, 311 municipis en xarxa.",
        "success": true,
        "error": "",
        "status": 200
    },
    "network": {
        "45.15.50.151": {
            "success": false,
            "country": "",
            "region": "",
            "city": "",
            "asn": "",
            "organization": "",
            "isp": ""
        }
    },
    "smtp": {
        "host": "dibacat.mail.protection.outlook.com",
        "ports": [
            {
                "port": 25,
                "open": false,
                "time_ms": 23.3,
                "banner": "",
                "error": "Network is unreachable"
            },
            {
                "port": 465,
                "open": false,
                "time_ms": 4010.7,
                "banner": "",
                "error": "Connection timed out"
            },
            {
                "port": 587,
                "open": false,
                "time_ms": 4020.6,
                "banner": "",
                "error": "Connection timed out"
            }
        ]
    },
    "visitor": {
        "ip": "216.73.217.62",
        "reverse": "",
        "country": "",
        "country_code": "",
        "region": "",
        "city": "",
        "latitude": null,
        "longitude": null,
        "isp": "",
        "organization": "",
        "asn": "",
        "timezone": "",
        "browser": "Other",
        "os": "Other",
        "language": "",
        "user_agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)",
        "is_bot": true,
        "cloudflare": false
    },
    "analysis_time_ms": 130.24
}