DNS
scutil --dns
Display macOS DNS configuration.
Explanation
Scutil --dns shows the DNS resolvers macOS is using. It is useful for finding split DNS, VPN DNS, and incorrect resolver settings.
Syntax
scutil --dns
Show DNS resolvers
DNS configuration resolver #1 nameserver[0] : 1.1.1.1 nameserver[1] : 1.0.0.1
Look for the resolver that applies to the domain you are testing.