The method accessible from the command line is used by the host command, and the -a flag should see a DNS record, for example.
host -a www.visitbritain.com
Return:
www.visitbritain.com. 0 IN CNAME d18sjq5nyxcof4.cloudfront.net.
Here you can see that the CNAME record tells us that the site uses the cloud interface as a CDN.
source share