Drop Requests App: multiple domains allowed inside the same JSON object? #988
-
Hello, I would like to include a bunch of domain names inside the drop requests app. I do not have admin rights in the device to try to fix the improper behavior myself and instead got interested in having the DNS Server simply drop the requests instead of returning NX Domain. I tried including those domain names inside the same object containing the "example.com" domain (which is included by default in the Drop Requests App) like so: "blockedQuestions": [ But that did not work (more so, queries for the example.com domain stopped being dropped by DNS Server). The only proper way to go about this setup I need would be to create one object of type {"blockZone": true} for each domain name? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for asking. In JSON format syntax, you cannot have same name for more than one property so the config you have here has syntax issue. To add more than one entry, you need to construct one JSON object per domain name. Alternatively, you can just click on the NXDOMAIN legend on the dashboard to hide it if that is just the concern. |
Beta Was this translation helpful? Give feedback.
Thanks for asking. In JSON format syntax, you cannot have same name for more than one property so the config you have here has syntax issue. To add more than one entry, you need to construct one JSON object per domain name.
Alternatively, you can just click on the NXDOMAIN legend on the dashboard to hide it if that is just the concern.