Skip to content

Commit

Permalink
fix(ns-api): update dns threat shield README
Browse files Browse the repository at this point in the history
  • Loading branch information
andre8244 committed Jan 9, 2025
1 parent 301b706 commit 8cbc01f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ns-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5964,14 +5964,14 @@ api-cli ns.threatshield dns-list-settings
Response example:
```json
{"data": {"enabled": true, "zones": ["lan"]}}
{"data": {"enabled": true, "zones": ["lan"], "ports": ["53", "853"]}}
```
### dns-edit-settings
Edit dns adblock settings:
```
api-cli ns.threatshield dns-edit-settings --data '{"enabled": true, "zones": ["lan"]}'
api-cli ns.threatshield dns-edit-settings --data '{"enabled": true, "zones": ["lan"], "ports": ["53", "853"]}'
```
Response example:
Expand Down

0 comments on commit 8cbc01f

Please sign in to comment.