The presence of a static entry in /etc/hosts for www.comptia.org forces the system to use this IP address instead of querying DNS. This prevents proper IPv6 (AAAA) resolution, as /etc/hosts only contains an IPv4 (A) record. Removing this static entry allows the system to query DNS for both IPv4 and IPv6 records.