Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/content/docs/dns/troubleshooting/dns-debug-endpoints.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@ For all commands, you can replace `alex.ns.cloudflare.com` with your Cloudflare
:::

```sh
$ dig @alex.ns.cloudflare.com chaos txt myip.cloudflare +short
dig @alex.ns.cloudflare.com chaos txt myip.cloudflare +short
```

This command gives you your IP address, meaning the public IP address that Cloudflare receives this DNS query from. This is useful for debugging when you need to know your own IP.

---

```sh
$ dig @alex.ns.cloudflare.com chaos txt id.server +short
dig @alex.ns.cloudflare.com chaos txt id.server +short
```

This command gives you the Cloudflare data center you are connecting to, for DNS queries sent from where you execute this command.

---

```sh
$ dig @alex.ns.cloudflare.com chaos txt version.bind +short
dig @alex.ns.cloudflare.com chaos txt version.bind +short
```

This command gives you the version of Cloudflare's authoritative DNS software that is running on the data center you are connected to. Usually, the same version would always be present on all of our data centers. But, since we do staged releases, technically there can be different versions on different data centers.

---

```sh
$ dig @alex.ns.cloudflare.com txt whoami.cloudflare.net +short
dig @alex.ns.cloudflare.com txt whoami.cloudflare.net +short
```

This command gives you your public IP (same as the first command above), your ASN, and the associated country code, all indicating where you are sending this query from.
This command gives you your public IP (same as the first command above), your ASN, and the associated country code, all indicating where you are sending this query from.
Loading