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)