DEV Community

Kaziu
Kaziu

Posted on

🏄‍♂️ DNS record : A, MX, CNAME, TXT

I always forget about it, so I'm gonna write it down to cheat quickly someday 😝

💎 A record

Image description

record which replaces from domain to IP address.
most basic record

kaziu.jp. IN A 192.534.0.3
www.kaziu.jp. IN A 192.534.0.3
Enter fullscreen mode Exit fullscreen mode

💎 MX record

Image description

record host name of mail server

kaziu.jp. IN MX 10 mail.kaziu.jp.
Enter fullscreen mode Exit fullscreen mode

↑ it means mail.kaziu.jp handles mail address ~~~@kaziu.jp

🤔 What is this 10 ??

it means priority, at first 10, and 20, 30, 40 ...

💎 CNAME record

Image description

replace domain to other domain

kaziu.jp. IN A 192.534.0.3
www.kaziu.jp. IN CNAME kaziu.jp.
Enter fullscreen mode Exit fullscreen mode

↑ if you change kaziu.jp, you would modify only one part

💎 TXT record

Image description
this is just text information of this domain

kaziu.jp. IN TXT "some info, I'm drank man"
Enter fullscreen mode Exit fullscreen mode

Top comments (0)