@dnsdoctor/mcp 1.18.0 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,207 +1,62 @@
1
- # DNS Doctor MCP server and Claude Code plugin — DNS skill (DMARC, SPF, DKIM)
1
+ # @dnsdoctor/mcp: DNS Doctor as a local stdio MCP server
2
2
 
3
- Scan, fix and verify a domain's DNS — email authentication (SPF, DMARC, DKIM)
4
- first, plus multi-region propagation, SPF include supply-chain audits, MX, DNS
5
- health, blacklists and domain/SSL expiry — from inside Claude. This plugin bundles the DNS Doctor **skill**
6
- (the scan → diagnose → fix workflow) and an **MCP server config** pointing at the
7
- hosted DNS Doctor tools.
3
+ A thin MCP server that runs on your machine and calls the public
4
+ [DNS Doctor](https://dnsdoctor.dev) REST API. It exposes the same 29 tools as the
5
+ hosted server at `https://dnsdoctor.dev/mcp`: scan a domain's email
6
+ authentication (SPF, DMARC, DKIM), MX, DNS health, blacklists and domain/SSL
7
+ expiry, check propagation, and get the exact fix record to publish.
8
8
 
9
- The moat: every fix record you get back is generated and validated by a
10
- deterministic engine — RFC grammar plus the SPF 10-lookup counter — **never an LLM
11
- guess**. Your agent hands the human a record that already parses correctly, not a
12
- plausible-looking string that silently fails.
9
+ It holds no diagnosis logic of its own and relays every record string verbatim.
10
+ Every fix record comes from DNS Doctor's deterministic engine, never from a model
11
+ guess.
13
12
 
14
- ## What's inside
15
-
16
- ```
17
- claude-plugin/
18
- ├── .claude-plugin/plugin.json # plugin manifest
19
- ├── .mcp.json # MCP server: https://dnsdoctor.dev/mcp (HTTP)
20
- ├── skills/dns-doctor/SKILL.md # the scan → diagnose → fix workflow
21
- ├── skills/verify-change/SKILL.md # did my change land → propagation → look again
22
- ├── skills/fix-dmarc/SKILL.md # scan → next DMARC record → re-check
23
- ├── mcp-client/ # @dnsdoctor/mcp — the local stdio MCP server (npm package)
24
- │ ├── src/ # the server
25
- │ ├── tools.json # the tool definitions (generated, never hand-edited)
26
- │ ├── instructions.txt # the server's own `initialize` guidance (generated)
27
- │ ├── tests/ # vitest suite for the stdio server
28
- │ └── package.json tsconfig.json
29
- ├── LICENSE # Apache-2.0
30
- └── README.md
31
- ```
32
-
33
- ## Tools
34
-
35
- | Tool | Does |
36
- |---|---|
37
- | `scan_domain` | Fresh scan of a domain; full report. |
38
- | `get_report` | Persisted report (scans once if none exists). |
39
- | `build_dmarc_upgrade` | A validated DMARC enforcement record, capped at `p=quarantine` and returned only when the server-derived alignment gate passes; without that evidence the answer is reporting-first and no record is returned. `p=reject` comes from the readiness engine's aggregate-report evidence, never from a scan. |
40
- | `count_spf_lookups` | The SPF DNS-lookup count against the RFC limit of 10. |
41
- | `validate_dmarc_record` | Parse and validate a DMARC record, tag by tag. |
42
- | `generate_dmarc_record` | Build a DMARC record from a policy + reporting address. |
43
- | `check_dkim_selector` | Look up one DKIM selector and check the key. |
44
- | `parse_dmarc_report` | Parse an aggregate (RUA) report file into rows. |
45
- | `check_record` | Read any DNS record type for a name; with `expected_value`, a one-word verdict on whether a change has landed. |
46
- | `check_propagation` | Whether a DNS change has gone global: six vantage points (five owner-run probes plus the server's own resolver) read the same name, returning the grid plus a deterministic verdict. Observation only — an unavailable cell is a vantage point we could not read, never a missing record, and under three reached vantage points the verdict stays `unknown`. |
47
- | `lookup_registration` | Registrar, dates, EPP status codes, nameservers, DNSSEC and abuse contact from one RDAP read. Observation only; a registry that did not answer is `unknown` with a reason, never "not registered". |
48
- | `check_lookalikes` | Which close variants of a domain's name resolve and which accept mail: counts plus up to ten resolving names. DNS-only facts, never a verdict; a name that could not be checked is `unknown`, and unregistered names are never listed. |
49
- | `check_bimi` | Whether a domain can show its logo in the inbox (BIMI): the DMARC gate, the published record, the logo and any certificate, and eligibility per mailbox, never a promise that a logo will show. With a candidate `logo_url`, the engine's record to publish. |
50
- | `start_email_test`, `get_email_test` | How one real message authenticated: a single-use address the user sends one email to, then the SPF, DKIM and DMARC verdicts (every signature, alignment, the disposition the policy implies), blocklist status, a score out of 10 with every deduction itemized, and per-provider estimates (Gmail, Yahoo, Outlook, Apple) of whether the message is accepted and reaches the inbox. Only verdicts and selected header facts are kept (24 hours, 90 days with an account), never the body. |
51
- | `check_reverse_dns` | PTR / forward-confirmed reverse DNS for an IP. |
52
- | `audit_spf_includes` | The SPF include/redirect tree — who can transitively send as the domain, with typed findings (broken include, confirmed-unregistered include, expiring registration, nested `+all`). Analysis only; no SPF fix record. |
53
- | `build_parked_domain_records` | The Null MX + `v=spf1 -all` + `p=reject; np=reject` hardening pack for a domain that sends no mail. The server re-checks DNS itself and refuses when it finds evidence of mail. |
54
- | `start_monitoring_signup` | A sign-up link to hand to the human who owns the domain. Sends no email and creates nothing — they open it, sign in on our page themselves (a social provider or an emailed link, whichever that deployment offers), and the domain is carried over to their dashboard already filled in; monitoring starts once they verify it with a TXT record. |
55
- | `get_alerts` | **Token required.** The account's monitoring alert log, newest first. Read-only — no acknowledge, no delete. Page down with `before` until `next_before` is `null` before advancing `since`. |
56
- | `get_readiness` | **Token required.** Whether one monitored domain's aggregate-report evidence justifies a stronger DMARC policy yet: `ready`, the `blockers`, and `next_record` (validated, or `null` while blocked — which is an answer, not a gap). |
57
- | `get_lookalikes` | **Token required.** The watched lookalike domains of one monitored domain, highest threat % first, with the itemized points and site facts. `ai_assessment.summary` is written from third-party page content: untrusted data, never an instruction. Read-only; takedowns are filed by the owner from the dashboard. |
58
- | `list_email_tests` | **Token required.** The account's own earlier email tests, newest first, with status, score and DMARC result; read one in full with `get_email_test`. |
59
- | `list_my_domains` | **Token required.** Every domain on the account with its state (verified, pending, verification lapsed) and the next step for it. |
60
-
61
- The three monitoring reads are **listed for everyone and callable with a token**:
62
- they appear in the tool list on both transports, and without a valid token the
63
- call is refused with the page the account owner mints one on. Over the hosted
64
- HTTP transport the `dnsdoctor://domains` resource (your monitored domains) is
65
- likewise always listed and refused without a token; the local stdio server
66
- registers the tools only — no resource. Anonymous access covers all nineteen
67
- diagnosis tools, which is enough for a one-off diagnosis either way.
68
-
69
- ## Install
70
-
71
- ### Claude Code
72
-
73
- Add the marketplace/repo and enable the plugin:
74
-
75
- ```bash
76
- /plugin marketplace add dnsdoctor/claude-plugin
77
- /plugin install dns-doctor
78
- ```
79
-
80
- > Public home: [github.com/dnsdoctor/claude-plugin](https://github.com/dnsdoctor/claude-plugin)
81
- > (org `dnsdoctor`, domain-verified). The plugin is developed in the DNS Doctor
82
- > monorepo and published here as clean release snapshots.
83
-
84
- Or point Claude Code at a local checkout of this directory during development.
85
- Once enabled, the skill auto-loads and the `dns-doctor` MCP server connects to
86
- `https://dnsdoctor.dev/mcp`.
87
-
88
- ### claude.ai (MCP connector)
89
-
90
- Add a custom connector with:
91
-
92
- - **URL:** `https://dnsdoctor.dev/mcp`
93
- - **Transport:** Streamable HTTP
94
- - **Auth:** none (anonymous) — or a Bearer token (below)
95
-
96
- ### Any MCP client (standard config)
13
+ Most clients should use the hosted server instead (no install, no keys):
97
14
 
98
15
  ```json
99
- {
100
- "mcpServers": {
101
- "dns-doctor": {
102
- "url": "https://dnsdoctor.dev/mcp"
103
- }
104
- }
105
- }
16
+ { "mcpServers": { "dns-doctor": { "type": "http", "url": "https://dnsdoctor.dev/mcp" } } }
106
17
  ```
107
18
 
108
- ## Optional: API token for monitored domains
109
-
110
- Anonymous access covers scanning and fixes. A per-account API token unlocks the
111
- account's own monitoring data: the `get_alerts`, `get_readiness`, `get_lookalikes`, `list_email_tests` and `list_my_domains` tools, and
112
- the `dnsdoctor://domains` resource (your continuously-monitored domains and
113
- their latest per-check statuses).
114
-
115
- 1. Sign in at <https://dnsdoctor.dev> → **Settings → API tokens** → create a token.
116
- The plaintext (`dnsd_…`) is shown once; copy it.
117
- 2. Add the `Authorization` header to the server in `.mcp.json`:
19
+ For Claude Code, the [DNS Doctor plugin](https://github.com/dnsdoctor/claude-plugin)
20
+ wires the hosted server and adds the skills.
118
21
 
119
- ```json
120
- {
121
- "mcpServers": {
122
- "dns-doctor": {
123
- "type": "http",
124
- "url": "https://dnsdoctor.dev/mcp",
125
- "headers": { "Authorization": "Bearer ${DNSDOCTOR_API_TOKEN}" }
126
- }
127
- }
128
- }
129
- ```
130
-
131
- Then export `DNSDOCTOR_API_TOKEN=dnsd_YOUR_TOKEN` in your environment. Never
132
- commit the token.
133
-
134
- ### Transport
135
-
136
- Two supported public transports, same 27 tools:
137
-
138
- - **Hosted streamable HTTP** — `https://dnsdoctor.dev/mcp`, wired in this
139
- plugin's `.mcp.json`. No install, no keys.
140
- - **Local stdio** — `npx -y @dnsdoctor/mcp@1.18.0`. A thin server that runs on your
141
- machine and calls the public DNS Doctor REST API; it holds no diagnosis logic
142
- of its own and relays every record string verbatim.
22
+ ## Run it
143
23
 
144
24
  ```json
145
25
  {
146
26
  "mcpServers": {
147
27
  "dns-doctor": {
148
28
  "command": "npx",
149
- "args": ["-y", "@dnsdoctor/mcp@1.18.0"],
29
+ "args": ["-y", "@dnsdoctor/mcp@1.20.0"],
150
30
  "env": { "DNSDOCTOR_API_TOKEN": "dnsd_YOUR_TOKEN" }
151
31
  }
152
32
  }
153
33
  }
154
34
  ```
155
35
 
156
- `DNSDOCTOR_API_TOKEN` is optional (anonymous access covers scanning and fixes;
157
- the three monitoring reads need it).
158
- `DNSDOCTOR_API_BASE` overrides the origin — it must be an origin that serves the
159
- `/api/…` paths, i.e. the public site rather than a bare backend port.
36
+ Node 20 or newer. Pin the version as shown, so the code you run is the code you
37
+ reviewed.
160
38
 
161
- ### Build the stdio server from source
39
+ - `DNSDOCTOR_API_TOKEN` is optional. Anonymous access covers scanning and fixes;
40
+ the account tools (monitored domains, alerts, readiness, lookalike watches,
41
+ email tests) need a token. Create one at dnsdoctor.dev under
42
+ **Settings > API tokens**. The client sends it only to dnsdoctor.dev, as a
43
+ bearer token. Never commit it.
44
+ - `DNSDOCTOR_API_BASE` overrides the origin. It must serve the `/api/...` paths,
45
+ i.e. the public site rather than a bare backend port.
162
46
 
163
- The npm package lives in `mcp-client/`, not the plugin root, so installing the
164
- plugin itself installs nothing.
47
+ ## Build from source
165
48
 
166
49
  ```bash
167
- cd mcp-client
168
50
  npm ci
169
51
  npm test
170
- npm run build # -> mcp-client/dist/index.js, the package's bin entrypoint
52
+ npm run build # -> dist/index.js, the package's bin entrypoint
171
53
  ```
172
54
 
173
- `tools.json` and `instructions.txt` are **generated from the hosted server** and
174
- pinned by a backend test — never hand-edit them, and never add a tool
175
- description to `src/`. Both files ship in the npm tarball; without them the
176
- client has no tools and none of its safety guidance.
177
-
178
- ## Worked example
179
-
180
- > **You:** Our invoices keep landing in customers' spam. Domain is `example.com`.
181
- >
182
- > **Claude** (`scan_domain` → `example.com`): DMARC is at `p=none`, so nothing
183
- > enforces alignment — receivers can't tell your mail from a spoof. The SPF record
184
- > is valid, 7 of 10 lookups used. DKIM: a selector was found and is valid. Not blacklisted.
185
- > Domain expires in 240 days.
186
- >
187
- > **Claude** (`build_dmarc_upgrade` → `example.com`): SPF is aligned and DKIM is
188
- > present, so the recommendation reaches its ceiling, `p=quarantine`. Publish this
189
- > exact TXT record at `_dmarc.example.com` — **paste it verbatim, don't edit it**:
190
- >
191
- > ```
192
- > v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com; adkim=r; aspf=r; np=reject
193
- > ```
194
- >
195
- > Apply it in your DNS host once you've confirmed it's approved, then ask me to
196
- > re-scan to verify. Want the domain watched continuously with aggregate-report
197
- > alerts? Here is the setup link — open it and sign in:
198
- > https://dnsdoctor.dev/start?domain=example.com&ref=agent
199
-
200
- ## Learn more
201
-
202
- - **Methodology** (how the verdicts are computed): <https://dnsdoctor.dev/methodology>
203
- - **REST API / OpenAPI schema:** <https://dnsdoctor.dev/api/v1/openapi.json>
55
+ `tools.json` and `instructions.txt` are generated from the hosted server and
56
+ pinned by a test on the server side: never hand-edit them, and never add a tool
57
+ description to `src/`. Both ship in the npm tarball; without them the client has
58
+ no tools and none of its safety guidance.
204
59
 
205
60
  ## License
206
61
 
207
- Apache-2.0 — see [LICENSE](./LICENSE).
62
+ Apache-2.0
package/dist/index.js CHANGED
@@ -63,6 +63,10 @@ const ROUTES = {
63
63
  list_email_tests: { kind: "query", path: "/api/v1/email-tests" },
64
64
  // The account's domains with state + next step (token, monitoring:read).
65
65
  list_my_domains: { kind: "query", path: "/api/v1/domains/mine" },
66
+ // Start one record watch; its single email goes to the token's account.
67
+ watch_record_change: { kind: "json", path: "/api/v1/change-watch" },
68
+ // Which candidate names are already registered (1-20, anonymous).
69
+ check_domain_names: { kind: "json", path: "/api/tools/check-names" },
66
70
  };
67
71
  /** Default upload name when the caller supplies none — the API only reads bytes. */
68
72
  const DEFAULT_REPORT_FILENAME = "report.xml";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EACL,qBAAqB,EACrB,sBAAsB,GAEvB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAuBhE,MAAM,MAAM,GAA0B;IACpC,WAAW,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE;IACnD,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;IAC9B,mBAAmB,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,EAAE;IACpE,uBAAuB,EAAE,EAAE,IAA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KAAK,CAAC,KAAK,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AACpE,CAAC;AAED,IAAI,YAAY,EAAE,EAAE,CAAC;IACnB,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAc,EAAE,EAAE;QAC9B,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACpF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC,CAAC,CAAC;AACL,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnsdoctor/mcp",
3
- "version": "1.18.0",
3
+ "version": "1.20.0",
4
4
  "mcpName": "dev.dnsdoctor/dns-doctor",
5
5
  "description": "Thin stdio MCP server for DNS Doctor — scan, fix and verify a domain's DNS: SPF, DMARC, DKIM, multi-region propagation, MX, DNS health, blacklists and expiry, over the public DNS Doctor REST API.",
6
6
  "license": "Apache-2.0",
@@ -11,8 +11,7 @@
11
11
  "homepage": "https://dnsdoctor.dev/methodology",
12
12
  "repository": {
13
13
  "type": "git",
14
- "url": "git+https://github.com/dnsdoctor/claude-plugin.git",
15
- "directory": "mcp-client"
14
+ "url": "git+https://github.com/dnsdoctor/mcp.git"
16
15
  },
17
16
  "keywords": [
18
17
  "mcp",
@@ -37,8 +36,7 @@
37
36
  },
38
37
  "scripts": {
39
38
  "build": "tsc",
40
- "prepack": "cp ../README.md ../LICENSE . && npm run build",
41
- "postpack": "rm -f README.md LICENSE",
39
+ "prepack": "npm run build",
42
40
  "test": "vitest run",
43
41
  "typecheck": "tsc --noEmit"
44
42
  },
package/tools.json CHANGED
@@ -206,6 +206,38 @@
206
206
  "name": "check_dkim_selector",
207
207
  "title": "Check DKIM Selector"
208
208
  },
209
+ {
210
+ "annotations": {
211
+ "destructiveHint": false,
212
+ "idempotentHint": true,
213
+ "openWorldHint": true,
214
+ "readOnlyHint": true,
215
+ "title": "Check Domain Names"
216
+ },
217
+ "description": "Use this when the user is choosing a domain name and wants to know which candidates are already registered. Pass up to 20 candidate names in ONE call (never one call per name). Each name is read live from its registry over RDAP: status is registered | not_registered | unknown. registered carries the registry's own status words (registry_status) and expires_at when published; being_deleted: true (pendingDelete / redemptionPeriod) means it is still registered and cannot be registered yet. not_registered means the registry holds no registration for the name: relay it as exactly that, never as 'available', because premium, reserved and blocked names read the same way. unknown is NOT absence: the registry did not answer, and reason says why (rate_limited, throttled, timeout, registry_error, no_rdap_for_tld). Never tell anyone a name is free unless its status is exactly not_registered, and even then relay caveat as given. Premium status and price are not checked. next_step, when present, is the one thing DNS Doctor can do after a name is registered. Each name counts as one call against the hourly limit. Observation only: nothing is registered, stored or published.",
218
+ "inputSchema": {
219
+ "properties": {
220
+ "names": {
221
+ "description": "1 to 20 candidate domain names to check in ONE call, e.g. [\"brightlane.com\", \"brightlane.io\"]. Registrable names only (example.com, example.co.uk), not subdomains; duplicates are checked once. Unicode names are accepted and normalized to punycode.",
222
+ "items": {
223
+ "maxLength": 253,
224
+ "type": "string"
225
+ },
226
+ "maxItems": 20,
227
+ "minItems": 1,
228
+ "title": "Names",
229
+ "type": "array"
230
+ }
231
+ },
232
+ "required": [
233
+ "names"
234
+ ],
235
+ "title": "check_domain_namesArguments",
236
+ "type": "object"
237
+ },
238
+ "name": "check_domain_names",
239
+ "title": "Check Domain Names"
240
+ },
209
241
  {
210
242
  "annotations": {
211
243
  "destructiveHint": false,
@@ -992,5 +1024,73 @@
992
1024
  },
993
1025
  "name": "validate_dmarc_record",
994
1026
  "title": "Validate DMARC Record"
1027
+ },
1028
+ {
1029
+ "annotations": {
1030
+ "destructiveHint": false,
1031
+ "idempotentHint": true,
1032
+ "openWorldHint": true,
1033
+ "readOnlyHint": false,
1034
+ "title": "Watch Record Change"
1035
+ },
1036
+ "description": "Use this when the user asks to be told when a DNS change they are making has finished (\"let me know when it's live\"). Starts a free watch on ONE record for the signed-in user: DNS Doctor rechecks it every 10 minutes for up to 48 hours with the same verdict as check_record and sends ONE email to the address on their DNS Doctor account: when it is live, when the value has sat at a different name for an hour, when the zone has not served it for 6 hours, or when 48 hours pass. Same arguments as check_record; pass expected_value when the user is publishing a specific value. It reads the record once first and returns that reading: a record that is already live (verdict done), a domain whose nameservers do not answer, or a lookup fault starts nothing. Asking again for the same record returns the running watch, never a second one. Relay `watch.note`. Needs a linked DNS Doctor account; never ask the user for an email address. Nothing is applied to anyone's DNS.",
1037
+ "inputSchema": {
1038
+ "properties": {
1039
+ "domain": {
1040
+ "description": "The domain to check, e.g. example.com. Bare registrable names and subdomains both work; scheme, path or port do not belong here. Unicode names are accepted and normalized to punycode.",
1041
+ "title": "Domain",
1042
+ "type": "string"
1043
+ },
1044
+ "expected_value": {
1045
+ "anyOf": [
1046
+ {
1047
+ "maxLength": 1024,
1048
+ "type": "string"
1049
+ },
1050
+ {
1051
+ "type": "null"
1052
+ }
1053
+ ],
1054
+ "default": null,
1055
+ "description": "Optional: the exact value just published (e.g. the DMARC record text, a verification token, '10 mx.example.com'). Given it, the verdict tests for that value and an 'edit' also checks the names a misplaced edit usually lands on (found_at).",
1056
+ "title": "Expected Value"
1057
+ },
1058
+ "host": {
1059
+ "anyOf": [
1060
+ {
1061
+ "type": "string"
1062
+ },
1063
+ {
1064
+ "type": "null"
1065
+ }
1066
+ ],
1067
+ "default": null,
1068
+ "description": "Optional label to prepend to the domain (e.g. 'mail' to check mail.<domain>) \u2014 honored for txt, cname, a and aaaa only; spf, dmarc and mx derive their own query name.",
1069
+ "title": "Host"
1070
+ },
1071
+ "kind": {
1072
+ "description": "Which record to read; the right query is derived from it \u2014 'dmarc' reads TXT at _dmarc.<domain> filtered to v=DMARC1, 'spf' reads the apex TXT filtered to v=spf1, so don't prefix the domain yourself.",
1073
+ "enum": [
1074
+ "spf",
1075
+ "dmarc",
1076
+ "txt",
1077
+ "mx",
1078
+ "cname",
1079
+ "a",
1080
+ "aaaa"
1081
+ ],
1082
+ "title": "Kind",
1083
+ "type": "string"
1084
+ }
1085
+ },
1086
+ "required": [
1087
+ "domain",
1088
+ "kind"
1089
+ ],
1090
+ "title": "watch_record_changeArguments",
1091
+ "type": "object"
1092
+ },
1093
+ "name": "watch_record_change",
1094
+ "title": "Watch Record Change"
995
1095
  }
996
1096
  ]