我有 4 個 DNS 伺服器,分佈在兩個資料中心。它們也是網域伺服器。
當我查詢 nslookup test.com.au 時,它只會傳回其中一台 DNS 伺服器,其他 3 個伺服器未列出。知道為什麼嗎?我不認為它是正常行為,因為 nslookup 應該傳回所有名稱伺服器。
下面是只回傳一台 DNS 伺服器 10.208.240.20 的結果
Server: localhost
Address: 127.0.0.1
Name: test.com.au
Address: 10.208.240.20
下面是NS伺服器查詢的結果。
test.com.au nameserver = dc10.test.com.au
test.com.au nameserver = dc11.test.com.au
test.com.au nameserver = dc09.test.com.au
test.com.au nameserver = dc12.test.com.au
dc10.test.com.au internet address = 10.208.244.10
dc11.test.com.au internet address = 10.208.240.20
dc09.test.com.au internet address = 10.208.240.10
dc12.test.com.au internet address = 10.208.244.20
答案1
這裡沒有問題。 nslookup 的前兩行是 nslookup 連線的名稱伺服器的正向和反向記錄。其餘幾行是您提出的問題的答案。
來自具有 2 個 DC 的域的 NSLOOKUP:
C:\>nslookup -type=NS acme.com
Server: dc11.acme.com
Address: 10.11.12.13
acme.com nameserver = dc11.acme.com
acme.com nameserver = dc12.acme.com
dc11.acme.com internet address = 10.11.12.13
dc12.acme.com internet address = 10.12.13.14