o=s:option(Value,"host_name",translate("TLS SNI name"),translate("Sets the server name indication for query."))
o.default=""
o.datatype="hostname"
o.rempty=true
o:depends("type","tls")
o:depends("type","https")
---- http host
o=s:option(Value,"http_host",translate("HTTP Host"),translate("Set the HTTP host used for the query. Use this parameter when the host of the URL address is an IP address."))
o.default=""
o.datatype="hostname"
o.rempty=true
o:depends("type","https")
---- anti-Answer-Forgery
-- o = s:option(Flag, "check_edns", translate("Anti Answer Forgery"), translate("Anti answer forgery, if DNS does not work properly after enabling, please turn off this feature"))
-- o.rmempty = false
-- o.default = o.disabled
-- o:depends("type", "udp")
-- o.cfgvalue = function(...)
-- return Flag.cfgvalue(...) or "0"
-- end
---- SPKI pin
o=s:option(Value,"spki_pin",translate("TLS SPKI Pinning"),translate("Used to verify the validity of the TLS server, The value is Base64 encoded SPKI fingerprint, leaving blank to indicate that the validity of TLS is not verified."))
o.default=""
o.datatype="string"
o.rempty=true
o:depends("type","tls")
o:depends("type","https")
---- other args
o=s:option(Value,"addition_arg",translate("Additional Server Args"),translate("Additional Args for upstream dns servers"))