Skip to content

Commit 6d77580

Browse files
maxvppedrosousa
andauthored
Apply suggestions from code review
Co-authored-by: Pedro Sousa <[email protected]>
1 parent 5b4ff21 commit 6d77580

File tree

1 file changed

+22
-20
lines changed
  • src/content/docs/cloudflare-one/connections/connect-devices/agentless

1 file changed

+22
-20
lines changed

src/content/docs/cloudflare-one/connections/connect-devices/agentless/pac-files.mdx

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -208,24 +208,26 @@ To get the domain of a proxy endpoint:
208208

209209
<TabItem label="API">
210210

211-
1. Use the [List proxy endpoints](/api/resources/zero_trust/subresources/gateway/subresources/proxy_endpoints/methods/list/) endpoint to get a list of your proxy endpoints and their details. For example:
211+
1. Use the [List proxy endpoints](/api/resources/zero_trust/subresources/gateway/subresources/proxy_endpoints/methods/list/) operation to get a list of your proxy endpoints and their details. For example:
212212

213213
```bash
214214
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/proxy_endpoints \
215215
--header "Authorization: Bearer <API_TOKEN>"
216216
```
217217

218-
```json {9} output
219-
"success": true,
220-
"result": {
221-
"id": "ed35569b41ce4d1facfe683550f54086",
222-
"created_at": "2014-01-01T05:20:00.12345Z",
223-
"ips": [
224-
"192.0.2.1/32"
225-
],
226-
"name": "DevOps team",
227-
"subdomain": "oli3n9zkz5.proxy.cloudflare-gateway.com",
228-
"updated_at": "2014-01-01T05:20:00.12345Z"
218+
```json {10} output
219+
{
220+
"success": true,
221+
"result": {
222+
"id": "ed35569b41ce4d1facfe683550f54086",
223+
"created_at": "2014-01-01T05:20:00.12345Z",
224+
"ips": [
225+
"192.0.2.1/32"
226+
],
227+
"name": "DevOps team",
228+
"subdomain": "oli3n9zkz5.proxy.cloudflare-gateway.com",
229+
"updated_at": "2014-01-01T05:20:00.12345Z"
230+
}
229231
}
230232
```
231233

@@ -243,24 +245,24 @@ Using your proxy endpoint's domain, you can get the IP addresses assigned to the
243245
<TabItem label="macOS and Linux">
244246

245247
1. Open a terminal.
246-
2. Run `dig` on your proxy endpoint's `A` records to get its IPv4 addresses. For example:
248+
2. Run `dig` on your proxy endpoint's A records to get its IPv4 addresses. For example:
247249

248250
```bash
249251
dig A example.cloudflare-gateway.com +short
250252
```
251253

252-
```bash output
254+
```txt output
253255
162.159.36.5
254256
162.159.36.20
255257
```
256258

257-
3. Run `dig` on your proxy endpoint's `AAAA` records to get its IPv6 addresses. For example:
259+
3. Run `dig` on your proxy endpoint's AAAA records to get its IPv6 addresses. For example:
258260

259261
```bash
260262
dig AAAA example.cloudflare-gateway.com +short
261263
```
262264

263-
```bash output
265+
```txt output
264266
2606:4700:54::a29f:2407
265267
2606:4700:5c::a29f:2e07
266268
```
@@ -270,26 +272,26 @@ Using your proxy endpoint's domain, you can get the IP addresses assigned to the
270272
<TabItem label="Windows">
271273

272274
1. Open a PowerShell terminal.
273-
2. Run `Resolve-DnsName` on your proxy endpoint's `A` records. Your proxy endpoint's IPv4 addresses will appear under `IPAddress`. For example:
275+
2. Run `Resolve-DnsName` on your proxy endpoint's A records. Your proxy endpoint's IPv4 addresses will appear under `IPAddress`. For example:
274276

275277
```powershell
276278
Resolve-DnsName -Name example.cloudflare-gateway.com -Type A
277279
```
278280

279-
```powershell output
281+
```txt output
280282
Name Type TTL Section IPAddress
281283
---- ---- --- ------- ---------
282284
example.cloudflare-gateway.com A 300 Answer 162.159.36.5
283285
example.cloudflare-gateway.com A 300 Answer 162.159.36.20
284286
```
285287

286-
3. Run `Resolve-DnsName` on your proxy endpoint's `AAAA` records. Your proxy endpoint's IPv6 addresses will appear under `IPAddress`. For example:
288+
3. Run `Resolve-DnsName` on your proxy endpoint's AAAA records. Your proxy endpoint's IPv6 addresses will appear under `IPAddress`. For example:
287289

288290
```powershell
289291
Resolve-DnsName -Name example.cloudflare-gateway.com -Type AAAA
290292
```
291293

292-
```powershell output
294+
```txt output
293295
Name Type TTL Section IPAddress
294296
---- ---- --- ------- ---------
295297
example.cloudflare-gateway.com AAAA 300 Answer 2606:4700:5c::a29f:2e07

0 commit comments

Comments
 (0)