A name can have several kinds of record:
| Type | Says |
|---|---|
A | the name's address |
CNAME | the name is another name for a different one |
MX | which machine receives the name's email |
dig asks for A unless you name another type:
bash
dig monster.market MXAn MX answer has a priority before the machine: when there are several, the lowest number is tried first.
For a CNAME, the server follows it to the address, and dig shows both:
text
learner@ops:~$ dig +short www.monster.market
monster.market.
10.0.0.10Objectives
- Which machine receives monster.market's mail?
- www.monster.market is another name for which name?