Domain Attack Surface
Overview
Section titled “Overview”Domain Attack Surface gives you continuous visibility into the security posture of your organization’s domains. It monitors DNS configuration, SSL/TLS certificates, email authentication records, subdomain exposure, blacklist status, domain registration, and lookalike domains used in phishing attacks. By centralizing these checks, you can catch misconfigurations and threats before they become incidents.
Prerequisites
Section titled “Prerequisites”- An active Fencer organization with a valid subscription whose plan includes domain scanning.
- At least one domain you own or manage.
- Access to your domain’s DNS settings (required for verification).
- Adding or verifying a domain requires the
assets:createpermission (Administrator and Team Member roles).
How it works
Section titled “How it works”When you add a domain, Fencer creates a domain asset and generates a unique TXT verification record. Once you publish that record in your DNS and verify ownership, Fencer automatically triggers a full domain scan and starts discovering the domain’s subdomains and lookalike domains. Subsequent scans run on a schedule — daily or weekly (Mondays), depending on your plan — and can also be triggered manually.
Domains managed in a connected AWS (Route 53), Cloudflare, or DigitalOcean account are added automatically and are verified without a TXT record while the account proves it controls them. See Automatic verification from connected accounts.
Each scan combines several checks: DNS record collection, SSL/TLS certificate analysis for the domain’s HTTPS hosts, email authentication validation (SPF, DMARC, MX), CAA policy checks, DNS blacklist (DNSBL) checks, domain registration lookups, subdomain discovery, and lookalike-domain detection. Results are surfaced as structured records and vulnerabilities on the domain’s detail page.
Usage / Configuration
Section titled “Usage / Configuration”Adding a domain
Section titled “Adding a domain”- Go to Posture > Domains.
- Click Add Domain.
- Enter your apex domain name (e.g.,
example.com) and click Add a domain. - Fencer extracts the registrable domain and creates a domain asset that is not verified yet.
Verifying ownership
Section titled “Verifying ownership”- Open the domain. Its detail page shows the TXT record to create: Type
TXT, Name@, and a Value in the formatfencer-validation=<uuid>. - Add this as a TXT record at the root of your domain in your DNS provider.
- Return to Fencer and click Verify.
- If the record is found, the domain moves to Verified and a scan is triggered automatically. Fencer also emails the person who added the domain.
- If the record is not found yet, the domain moves to Pending verification and the button changes to Re-verify. DNS propagation can take up to 24 hours. Fencer keeps checking in the background every few minutes and, once the record appears, verifies the domain and starts a scan. If the record still is not found after about 25 hours, the domain returns to unverified and you need to click Verify again.
Automatic verification from connected accounts
Section titled “Automatic verification from connected accounts”When you connect a Cloudflare, AWS, or DigitalOcean account, Fencer adds the domains it manages and verifies them without a TXT record, but only when it can check that the account really controls the domain. Adding a zone for a domain to one of these accounts does not prove ownership on its own, so each provider has to pass its own check on every sync:
| Provider | What Fencer checks | Strength |
|---|---|---|
| Cloudflare | The zone is Active, and the domain’s live public nameservers are the ones Cloudflare assigned to that zone. A partial (CNAME) setup counts once Cloudflare marks it active. | Strong |
| AWS Route 53 registration | The domain is registered through Route 53 Domains in the account, and the registration has not expired. | Strong |
| AWS Route 53 hosted zone | The zone is public, and the domain’s live public nameservers are the zone’s delegation set. | Strong |
| DigitalOcean | The domain’s live public nameservers are DigitalOcean’s (ns1–ns3.digitalocean.com). | Delegated |
A Cloudflare zone that does not pass, such as one that is still pending, is not added. A DigitalOcean domain whose nameservers point elsewhere, or a Route 53 domain whose registration has expired, is added unverified, and you can verify it yourself with its TXT record.
Only a zone for a registrable domain verifies itself. A zone for a subdomain such as
app.example.com does not verify example.com, and a zone for a public or shared-hosting suffix
such as herokuapp.com is never verified.
When the proof goes away
Section titled “When the proof goes away”Fencer re-checks the proof on every sync. When it stops passing (the zone or registration leaves the account, the registration expires, or the nameservers move elsewhere), the domain moves to Pending re-verification. Scans continue, but penetration tests stop until it is verified again. It returns to verified as soon as the account proves control again, or you can verify it with a TXT record. After 10 days without proof it returns to unverified. The person who added the domain and your organization’s administrators get an email when the domain needs re-verification and when its verification lapses.
A domain you verified with a TXT record keeps that verification when it leaves a connected account or its nameservers move, and a domain you delete is not added back by the next sync.
Penetration tests on delegated domains
Section titled “Penetration tests on delegated domains”DigitalOcean gives every account the same nameservers, so a domain verified this way is verified for inventory and passive scanning only. Its detail page shows Active testing needs a TXT record: add the TXT record before running an active penetration test against it. The TXT record is also required when the same domain is verified in another Fencer organization.
Triggering a manual scan
Section titled “Triggering a manual scan”- Open a verified domain, or find it in the domain list.
- Click Run scan on the domain’s row or tile, or on the Last scan card of its detail page.
- A scan is queued and results appear once processing completes.
To scan several verified domains at once, select their rows and click Scan in the bulk action bar. Fencer queues a scan for each one. Domains scanned too recently are skipped, and the bar reports how many scans were scheduled. One Scan schedules at most 100 assets. Scanning every row that matches the current filters can be started once a minute.
Running a scan requires the scans:execute permission (Administrator, Team Member, and Penetration
Tester roles). The Scan action is hidden without it.
Reviewing scan results
Section titled “Reviewing scan results”The domain detail page opens with an overview (status, last scan, registration expiry, and a screenshot of the site) and KPI cards for the domain’s health score, open vulnerabilities, SSL/TLS grade, email security status, SLA status, and the last scan. It is organized into these tabs:
- DNS Records — Lists the domain’s A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, and other records for the apex and its subdomains, with the owner of each IP address and the domain’s DNSSEC status. Filter by record type or by position (Apex or Subdomain). See Subdomain and Phishing Detection.
- SSL/TLS — Shows an overall grade and every HTTPS host’s certificate, TLS version, and cipher. Certificates that are expired or expire within 30 days are flagged. See SSL/TLS and Email Security for full details.
- Email — Validates SPF, DMARC, and MX records and checks DNS blacklists. See SSL/TLS and Email Security for full details.
- Lookalike Domains — Registered domains that resemble yours and could be used for phishing (shown when any are found). Your own domains are automatically excluded. See Subdomain and Phishing Detection.
- WHOIS — Displays the registrar, domain expiry with days remaining, transfer protection, and EPP status codes (shown when registration data is available). See Subdomain and Phishing Detection.
- Vulnerabilities — Every open vulnerability found on the domain.
- Scans — The domain’s scan history.
Deleting a domain
Section titled “Deleting a domain”- Open the domain detail page.
- Open the actions menu (⋯) and select Delete domain, then click Delete to confirm.
- The domain and its scan data are removed. Any lookalike-domain vulnerabilities that were ignored because they matched this domain name are un-ignored so they appear in your vulnerability feed again.
Deleting a domain requires the assets:delete permission (Administrator role).
Examples
Section titled “Examples”Verifying a domain via DNS TXT record:
After adding example.com, your domain detail page shows:
Type: TXTName: @Value: fencer-validation=a1b2c3d4-e5f6-7890-abcd-ef1234567890Add this record at example.com in your DNS provider (e.g., Cloudflare, Route 53, GoDaddy), then
click Verify in Fencer.
Troubleshooting
Section titled “Troubleshooting”- “Failed to resolve TXT records for the domain.” — Fencer could not query your domain’s DNS. Confirm the domain name is correct and that your DNS provider is responding. Try again after a few minutes.
- Verification stuck on “Pending verification” — DNS propagation can take up to 24 hours. Double-check that you added the TXT record at the domain root (not a subdomain) and that the value matches exactly.
- “Domain already exists.” — A domain with the same name is already in your organization. If it was previously deleted, adding it again will restore it with a new verification code.
- Scan throttle message — Manual scans are throttled. Wait for the indicated time before retrying.