dns 標籤的全部彙整

dig command & rndc

dig @[dns ip] [domain record]

dns ip => 用來查詢dns record的dns server ip
domain record => 想查詢的 dn

rndc reload

reload zone 和 設定檔

rndc reload zone

reload 特定的 zone

查詢 DNS 筆記

先到console
接著下指令

nslookup

然後設定用來查詢DNS的server (serverip 為主機ip)

>server serverip

然後設定查詢項目qtye , 可為soa , ns , a , mx , cname ,PTR , … 等 (我這邊舉例是查詢全部)

>set qtype=all

接著就可以輸入要查詢的DN了

>xxx.xxx.xxx