前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >DNS records on Linux

DNS records on Linux

作者头像
用户8418197
修改2021-04-01 10:05:09
5.8K0
修改2021-04-01 10:05:09
举报
文章被收录于专栏:howtouselinuxhowtouselinux

DNS records on Linux

DNS Records On Linux

  • 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 hostundefinedthat processes mail for this domain.
  • HINFO record The Host record is the record that actually specifiesundefinedthe TCP/IP address for a specified host. All hosts that have staticundefinedTCP/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 hostundefinedname.

how to use dig to query dns

Using Linux Dig to Query DNS Records

  • Simple lookup : dig hackersgarage.com
  • Lookup Name Servers: dig @8.8.8.8 hackersgarage.com NS
  • Lookup using external DNS Server: dig @8.8.8.8 hackersgarage.com
  • Lookup MX record: dig @8.8.8.8 hackersgarage.com MX
  • Lookup CNAME record: dig @8.8.8.8 hackersgarage.com CNAME
  • Look TXT record (e.g will it will return SPF records, google verification methods): dig @8.8.8.8 hackersgarage.com TXT

本文系转载,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系转载前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
作者已关闭评论
0 条评论
热度
最新
推荐阅读
目录
  • DNS records on Linux
  • how to use dig to query dns
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档