DNS Lookup Examples · Example 4 of 4 in Several Types in One Request

A and CNAME of www.github.com: the alias and the address of the name it points to.

Asks for A,CNAME of www.github.com.

The CNAME entry shows that www.github.com is an alias of github.com.. The A entry follows the alias: its raw answer names github.com., not www.github.com, and gives its IPv4 address.

Request

What this example sends. Every parameter is documented on DNS; the exact request is in the code panel.

ParameterValue
domainquerywww.github.com
typequeryA,CNAME

Reference updated