From 8cbc01fe9b3290c0c1fd0b2bf7bba00d695e1820 Mon Sep 17 00:00:00 2001 From: Andrea Leardini Date: Thu, 9 Jan 2025 11:46:47 +0100 Subject: [PATCH] fix(ns-api): update dns threat shield README --- packages/ns-api/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ns-api/README.md b/packages/ns-api/README.md index 5507e004..70e4c579 100644 --- a/packages/ns-api/README.md +++ b/packages/ns-api/README.md @@ -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: