Avast is checking for DNS poisoning or the DNS having been hacked. So it doesn’t have to be using or have SecureDNS installed.

It checks on DNS, against most popular site (as these may be more prone to being poisoned/hacked) to see what is returned, e.g. does it match the expected/correct IP address.