nic.ir
We found 3 issues in nic.ir's email security, HTTPS, website and domain configuration.
Quick answers
- Can someone send fake email pretending to be nic.ir?
- Unlikely. nic.ir has a DMARC policy of “reject”, so most receiving mail servers rejects messages that fail authentication.
- Does nic.ir have DMARC?
- Yes, with the policy p=reject.
- Does nic.ir have an SPF record?
- Yes: v=spf1 ip4:194.225.70.0/24 ip4:193.189.122.0/24 ip4:194.225.205.32/27 ip4:193.201.188.140 -all
- Does nic.ir use DKIM?
- Yes. We found DKIM keys for: s1.
- Is nic.ir's SSL certificate valid?
- Yes. Issued by Asseco Data Systems S.A., valid until 2027-01-02 (31 days left).
- Does nic.ir support TLS 1.3?
- Yes.
- Does nic.ir still accept outdated TLS 1.0 or 1.1?
- No.
- Does nic.ir use HSTS?
- Yes.
- Is DNSSEC enabled for nic.ir?
- No.
How nic.ir compares
Scores higher than 74% of the 10,000 most popular websites.
Its issues, and how common they are among popular sites
"Uncommon" means fewer than 1 in 10 popular sites have this problem. See the full research.
Email security A
- Mail provider
- Unknown / self-hosted
- SPF
v=spf1 ip4:194.225.70.0/24 ip4:193.189.122.0/24 ip4:194.225.205.32/27 ip4:193.201.188.140 -all- DMARC
v=DMARC1; p=reject; rua=mailto:[email protected]; ruf=mailto:[email protected]; rf=afrf; fo=1:d:s; pct=100; ri=86400; adkim=s; aspf=s
- SPF is set up (-all hard fail)
- DMARC enforced (reject)
- DKIM signing keys found (s1)
- MTA-STS is enforced
HTTPS & certificate A
- Issued by
- Asseco Data Systems S.A.
- Expires
- 2027-01-02 (31 days)
- Checked
- nic.ir and www.nic.ir
- Protocol
- TLSv1.3
- Key
- RSA 4096-bit
- Valid, trusted certificate (issued by Asseco Data Systems S.A.)
- Supports TLS 1.3
- Outdated TLS 1.0 and 1.1 are switched off
- Only strong encryption ciphers accepted
Website security headers A
HSTS lasts only less than a day low
A short max-age means browsers forget the HTTPS-only rule quickly.
Use max-age=31536000 (one year) once you're confident HTTPS works everywhere.
No Content Security Policy low
A CSP limits which scripts a page can run, which reduces the damage from cross-site scripting (XSS) attacks and malicious third-party code.
Start with a report-only policy (Content-Security-Policy-Report-Only) to see what would break, then enforce it.
Site can be embedded in other websites low
Without framing protection, attackers can load this site invisibly inside theirs and trick visitors into clicking things (clickjacking).
Send X-Frame-Options: SAMEORIGIN, or add frame-ancestors 'self' to your Content Security Policy.
- HTTP redirects to HTTPS
- X-Content-Type-Options: nosniff set
- Cookies have the expected security flags
Domain & DNS A
- Nameservers
- ns1.nic.ir, ns2.nic.ir, ns3.nic.ir, ns4.nic.ir
DNSSEC isn't enabled note
DNSSEC signs a domain's DNS records so attackers can't forge them. Many large sites don't use it yet, so it doesn't affect the grade, but it's a worthwhile hardening step.
Many DNS providers can enable it with one click. If your registrar is different from your DNS provider, you'll also add a DS record at the registrar.
- CAA record limits who can issue certificates (certum.pl, letsencrypt.org)