Simple Sideband - iRule sideband the easy way
Code is community submitted, community supported, and recognized as ‘Use At Your Own Risk’.
Short Description
Simple Sideband is a helper iRule which makes getting started with doing iRule based ...
Published Jul 18, 2023
Version 1.0PeteWhite
Employee
Joined May 16, 2019
xuwen
Jul 19, 2023Cumulonimbus
I think it's best to parse the dns response and return it in a readable JSON format when doing httpdns. The visualization of TCL's list mode is too poor,I have also written before about httpdns that return the JSON results below. Using TCL iRules or (tcl iRules + iRulesLX), a domain name request seems to http response have a delay of 100+ms(Viewing HTTP response time using browser F12), which is a bit high. The commercial version of httpdns is only below 30ms, and I think it may be a problem with the TCL language, especially the latency loss of sideband
curl 'http://203.107.1.33/100000/d?host=www.taobao.com&query=4,6'
{
"ipsv6": [
"240e:960:c00:5:3:0:0:3c8",
"240e:960:c00:5:3:0:0:3c7"
],
"host": "www.taobao.com",
"client_ip": "101.83.47.9",
"ips": [
"106.227.21.185",
"106.227.21.184"
],
"ttl": 60,
"origin_ttl": 60
}