Types of DNS Records

A Record (Address Record): An A record points a hostname to a specific IP address12. For example, if you want blog.example.com to point to the server with IP 185.31.17.133, you would configure an A record for blog.example.com with the value 185.31.17.13312. A records only hold IPv4 addresses12.

NS Record (Name Server Record): An NS record indicates which DNS server is authoritative for that domain (i.e., which server contains the actual DNS records)345. Basically, NS records tell the Internet where to go to find out a domain’s IP address345. A domain often has multiple NS records which can indicate primary and secondary nameservers for that domain.

CNAME Record (Canonical Name Record): A CNAME record points a hostname to another hostname instead of an IP address. For example, if blog.example.com is a CNAME of example.com, then any DNS lookup of blog.example.com would return the IP address of example.com. All CNAME records must point to a domain, never to an IP address.

There are many other types of DNS records: https://phoenixnap.com/kb/dns-record-types

posted @   LexLuc  阅读(7)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
点击右上角即可分享
微信分享提示