Bug 856 - [ANKK:HSOL-4015] / APV / WebAgent ttl value obtained from DNS server

Review Request #594 — Created Dec. 27, 2024 and submitted — Latest diff uploaded

peteryeh
APV10
rel_apv_10_7
856
kevin.poh, tanya, timlai, weikai

getaddrinfo_a() cannot get ttl from dns query, adding c-ares library to retrieve ttl after.
We send another query for ttl for now. May need to replace whole getaddrinfo_a() process with ares_getaddrinfo() in the future.

CLI:
webagent service "WEB_AGENT1" 10.18.206.10 8080 0
webagent dns cache on
show webagent dns host
www.googletagmanager.com:
142.250.198.72 TTL:63
560-nbs-753.mktoresp.com:
199.15.214.243 TTL:270
tags.srv.stackadapt.com:
34.196.12.18 TTL:30
connect.facebook.net:
31.13.87.5 TTL:30
cdn.bizible.com:
152.195.58.59 TTL:3283
geolocation.onetrust.com:
172.64.155.119 TTL:269
nvidia.tt.omtrdc.net:
63.140.50.191 TTL:149
nvidiacorp.us-5.evergage.com:
18.116.125.218 TTL:29
assets.adobedtm.com:
23.208.80.236 TTL:29
cdn.cookielaw.org:
104.18.87.42 TTL:269
images.nvidia.com:
117.18.232.232 TTL:1490
www.nvidia.com:
210.71.227.211 TTL:29
analytics.twitter.com:
104.244.42.195 TTL:633
t.co:
162.159.140.229 TTL:28

    Loading...