{ "id":"/axapi/v3/slb/template/doh/{name}/forwarder", "type":"object", "node-type":"scalar", "title":"forwarder", "partition-visibility":"shared", "description":"DNS over HTTP(s) template forwarding policy", "properties":{ "forwarding-ipv4":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "not-list":[ "forwarding-ipv6", "tcp-service-group", "udp-service-group", "bypass-doh" ], "description":"SLB VIP IPv4 address to forward DOH query (IP address)", "optional":true }, "v4-internal":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Try to find this IP as a VIP in this L3v Partition and forward it internally to the VIP", "optional":true }, "v4-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65534, "default":53, "partition-visibility":"shared", "description":"Forwarding port number, Default is 53", "optional":true }, "v4-l4-proto":{ "type":"string", "format":"enum", "default":"both", "partition-visibility":"shared", "description":"'tcp': Use TCP only when forwarding DNS traffic; 'udp': Use UDP only when forwarding DNS traffic; 'both': Use UDP 1st and if unreachable, retry with TCP when forwarding DNS traffic; ", "enum":[ "tcp", "udp", "both" ], "optional":true }, "forwarding-ipv6":{ "type":"string", "format":"ipv6-address", "partition-visibility":"shared", "not-list":[ "forwarding-ipv4", "tcp-service-group", "udp-service-group", "bypass-doh" ], "description":"SLB VIP IPv6 address to forward DOH query (IP address)", "optional":true }, "v6-internal":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Try to find this IP as a VIP in this L3v Partition and forward it internally to the VIP", "optional":true }, "v6-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65534, "default":53, "partition-visibility":"shared", "description":"Forwarding port number, Default is 53", "optional":true }, "v6-l4-proto":{ "type":"string", "format":"enum", "default":"both", "partition-visibility":"shared", "description":"'tcp': Use TCP only when forwarding DNS traffic; 'udp': Use UDP only when forwarding DNS traffic; 'both': Use UDP 1st and if unreachable, retry with TCP when forwarding DNS traffic; ", "enum":[ "tcp", "udp", "both" ], "optional":true }, "tcp-service-group":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "$ref":"/axapi/v3/slb/service-group", "not-list":[ "forwarding-ipv4", "forwarding-ipv6", "bypass-doh" ], "description":"Bind a TCP Service Group to the template (Service Group Name)", "optional":true }, "udp-service-group":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "$ref":"/axapi/v3/slb/service-group", "not-list":[ "forwarding-ipv4", "forwarding-ipv6", "bypass-doh" ], "description":"Bind a UDP Service Group to the template (Service Group Name)", "optional":true }, "bypass-doh":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "not-list":[ "forwarding-ipv4", "forwarding-ipv6", "tcp-service-group", "udp-service-group" ], "description":"Forward valid DoH HTTP request as is, no DNS packet extraction (Bypass DoH)", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } } }