I need to do some filtering on DNS response TTL field. However, I am not sure exactly what the following means:
The problem is that in a DNS response, there could be multiple A record, each with a different IP and possibly a different TTL. So the above expression can potentially mean one of the following:
The page https://www.wireshark.org/docs/dfref/d/dns.html didn't have enough information. Any ideas? asked 23 Apr '16, 09:11 pktUser1001 |
One Answer:
The first one. It means "the packet has at least one dns.resp.ttl field with a value less than 100." answered 23 Apr '16, 10:18 Jim Aragon |
Thanks @jim-aragon, sorry for the late reply.
Wonder if there is a way to express "all TTLs < 100". Thanks.
dns.resp.ttl and !(dns.resp.ttl >= 100)
should do the job. Means: at least one fielddns.resp.ttl
is present in the packet and none of the ones present has a value >= 100.