博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
DNS: Intro & Basics
阅读量:6956 次
发布时间:2019-06-27

本文共 1213 字,大约阅读时间需要 4 分钟。

Find the authoritative server of a domain, by:

host -t ns baidu.com

find actual IP of a sub-domain, by:

dig @dns.baidu.com www.baidu.com

---

What is authoritative server of dns?

[]An authoritative name server provides actual answer to your DNS queries such as – mail server IP address or web site IP address (A resource record). It provides original and definitive answers to DNS queries. It does not provides just cached answers that were obtained from another name server. Therefore it only returns answers to queries about domain names that are installed in its configuration system. There are two types of Authoritative Name Servers.

----------------------original article ends-------

 From DNS & BIND version 4, learned ip domain resolve. By:

host ip-addr

dns has several records, such as cname, a-record(ipv4), aaaa-record(ipv6), soa(belonging info of domain), ns(name server), ptr(ip-domain-mapping), mx(mail exchange record). All of these can be queried both with host and dig.

DNS DBs are mostly managed in tree-format, see below. (and any domain is ended in ".", domains displayed in address-bar without the last dot are relative domains w.r.t root node.

 

转载于:https://www.cnblogs.com/sansna/p/6382891.html

你可能感兴趣的文章
[Step By Step]SAP HANA PAL二次指数平滑算法实现DOUBLESMOOTH
查看>>
WPF 4 动态覆盖图标(Dynamic Overlay Icon)
查看>>
AngularJs $scope 里面的$apply 方法和$watch方法
查看>>
Back Track 5 之 Web踩点 && 网络漏洞
查看>>
Python初始化系统变量设置
查看>>
order by 多个条件
查看>>
SQL Server中In-Flight日志究竟是多少
查看>>
[ucgui] 彩色条函数
查看>>
链表中倒数第k个结点
查看>>
javaweb学习总结(三十六)——使用JDBC进行批处理
查看>>
spring cache
查看>>
c语言运算符优先级与while循环案例
查看>>
巧用对象的Length属性来裁剪对象内容
查看>>
【Android】HorizontalScrollView内子控件横向拖拽
查看>>
如何在一台设备上安装不同版本的安卓应用
查看>>
socket() failed (13: Permission denied) while connecting to upstream
查看>>
[LeetCode] Valid Square 验证正方形
查看>>
.Net数据库操作
查看>>
第 38 章 CouchBase
查看>>
ls命令 & 文件属性
查看>>