Skip to content

[DNS] Fix four confirmed doc errors found in code/API audit#28452

Draft
kodster28 wants to merge 1 commit intoproductionfrom
fix/dns-docs-confirmed-errors
Draft

[DNS] Fix four confirmed doc errors found in code/API audit#28452
kodster28 wants to merge 1 commit intoproductionfrom
fix/dns-docs-confirmed-errors

Conversation

@kodster28
Copy link
Collaborator

Seems clear

  • dns-record-types: fix CNAME response example showing type 'A' instead of 'CNAME' (copy-paste from A record example above)
  • ttl: add API representation section clarifying that ttl value 1 means Auto (300s), not a 1-second TTL

Needs eval about placement, phrasing, etc.

  • dns-quick-scan: add deprecation caution for POST /dns_records/scan, document the three-step async flow, and call out that the new flow does not auto-add records
  • dns-record-types: add caution that NS records cannot share a name with any other record type (stated in API notes but absent from docs)

- dns-record-types: fix CNAME response example showing type 'A' instead of 'CNAME' (copy-paste from A record example above)
- dns-record-types: add caution that NS records cannot share a name with any other record type (stated in API notes but absent from docs)
- ttl: add API representation section clarifying that ttl value 1 means Auto (300s), not a 1-second TTL
- dns-quick-scan: add deprecation caution for POST /dns_records/scan, document the three-step async flow, and call out that the new flow does not auto-add records
@github-actions github-actions bot added product:dns Issues or PRs related to DNS size/m labels Feb 19, 2026

These records include the following fields:

<Render file="records-name-field" product="dns" />- **IPv4/IPv6 address**: Your
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting hallucination here.

- If the **Proxy Status** is **Proxied**, this value defaults to **Auto**, which is 300 seconds.
- If the **Proxy Status** is **DNS Only**, you can customize the value.
- **Proxy status**: For more details, refer to [Proxied DNS records](/dns/proxy-status/).
<Render file="records-name-field" product="dns" />- **Target**: The hostname
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And throughout here too

Your assigned Cloudflare nameservers, custom nameservers, and their corresponding [nameserver TTLs](/dns/nameservers/nameserver-options/#nameserver-ttl) are controlled via dedicated sections on the [**DNS Records**](https://dash.cloudflare.com/?to=/:account/:zone/dns/records) page. For details, refer to [Nameservers](/dns/nameservers/).
:::

:::caution
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't love a caution after another caution

"zone_name": "example.com",
"name": "www.example.com",
"type": "A",
"type": "CNAME",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Core of this file's changes.

@github-actions
Copy link
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/dns/ @RebeccaTamachiro, @cloudflare/pcx-technical-writing


## API representation

When using the API, TTL values are integers in seconds. The value `1` is a special sentinel that means **Auto** (300 seconds effective TTL) — it does not mean a 1-second TTL.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
When using the API, TTL values are integers in seconds. The value `1` is a special sentinel that means **Auto** (300 seconds effective TTL) — it does not mean a 1-second TTL.
When using the API, TTL values are integers in seconds. The value `1` means **Auto** (300 seconds effective TTL) — it does not mean a 1-second TTL.


When using the API, TTL values are integers in seconds. The value `1` is a special sentinel that means **Auto** (300 seconds effective TTL) — it does not mean a 1-second TTL.

You will see `"ttl": 1` in API responses for any record set to Auto. To set Auto when creating or updating a record, send `"ttl": 1`.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repetitive?

On the dashboard, quick scan is only available as you are onboarding a new domain. Via API, you can manually invoke quick scan with the [Trigger DNS Records Scan endpoint](/api/resources/dns/subresources/records/methods/scan_trigger/).
:::

:::caution[Deprecated API endpoint]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unclear how this connects to the other scan trigger, b/c we never explicitly mention this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:dns Issues or PRs related to DNS size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments