Add new reject route
Add a new reject route to the system.
vcli rejectroutes add [Name] [flags]
--decision string Reject based on given decision (e.g. cidr:1)
--dns-cname string DNS response CNAME for rejected DNS requests (FQDN)
--dns-ipv4 string DNS response IPv4 (A records) for rejected DNS requests (comma separated IPs)
--dns-ipv6 string DNS response IPv6 (AAAA records) for rejected DNS requests (comma separated IPs)
--dns-reject-all Reject all DNS requests, no matter of decision lookup.
-h, --help help for add
--http-reject-all Reject all HTTP requests, no matter of decision lookup.
--http-resp-body string HTTP response body for rejected HTTP requests.
--http-resp-code int HTTP response code for rejected HTTP requests. (default 403)
--http-resp-headers stringToString HTTP response headers for rejected HTTP requests. (default [])
--http-resp-url string HTTP response URL set as location header (used together with HTTP 302 redirect)
--plugin-response Override response with the response returned by the plugin used for this rejectroute, if active
-c, --config string configuration file for the CLI (default ~/.vcli.yml)
Could also be set via VARNISH_CONTROLLER_CLI_CONFIG=/path/to/config.yml
--csv Output the response table as CSV format.
-j, --json Output the response table as JSON format.