-
curl http://ip:3000/control/dns_config -H 'accept: /' -H 'Authorization: Basic xxxx' -H 'Content-Type: application/json' -d '{"blocking_mode": "custom_ip","blocking_ipv4": "1.2.3.4"}' 以上示例 |
Beta Was this translation helpful? Give feedback.
Answered by
ainar-g
Aug 19, 2021
Replies: 1 comment 1 reply
-
Hello. When using the Custom IP blocking mode, both IPv4 and IPv6 addresses must be provided. Please try: {"blocking_mode":"custom_ip","blocking_ipv4":"1.2.3.4","blocking_ipv6":"1234::cdef"} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ainar-g
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello. When using the Custom IP blocking mode, both IPv4 and IPv6 addresses must be provided. Please try: