DNS 记录介绍

DNS records

Understanding PTR MX SRV SPF AAAA DNS Records

  • NS record - The Name Server record simply specifies the other name
    servers for the domain, or maps a domain name to that of the primary
    server for the zone.
  • A record The Address record holds the IP address of the name.
  • CNAME record The Canonical Name record is an alias field allowing you
    to specify more than one name for each TCP/IP address.
  • MX record The Mail Exchange record specifies the name of the host
    that processes mail for this domain.
  • HINFO record The Host record is the record that actually specifies
    the TCP/IP address for a specified host. All hosts that have static
    TCP/IP addresses should have an entry in this database.
  • PTR record Pointer records are used for reverse lookup entries. They
    specify the IP address in reverse order and the corresponding host
    name.

Dig DNS records

Using Linux Dig to Query DNS Records

  • Simple lookup : dig howtouselinux.com

  • Lookup Name Servers: dig @8.8.8.8 howtouselinux.com NS

  • Lookup using external DNS Server: dig @8.8.8.8 howtouselinux.com

  • Lookup MX record: dig @8.8.8.8 howtouselinux.com MX

  • Lookup CNAME record: dig @8.8.8.8 howtouselinux.com CNAME

  • Lookup TXT record (e.g will it will return SPF records, google verification methods): dig @8.8.8.8 howtouselinux.com TXT

reference:

DNS port
Query DNS Txt Records with Dig Command
Linux dig DNS

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值