5月 23 日「微軟線上專家對談」主題:暢談Windows 2000 DNS

 
     回「微軟線上專家對談」首頁

問題數

問題描述與解答

Q1: PING一個名稱得不到回應,但其IP位址卻可以正確回應,是什麼問題
A: 這個問題通常代表你所指向的DNS Server有問題或者無此記錄可供查詢
Q2: 何謂"快取功能的DNS伺服器"
A: DNS 分為三種型態:
主要伺服器=>主要的紀錄區域
備份伺服器=>備份的紀錄區域
快取伺服器=>快取的服務,當有查詢過的紀錄會留在快取中,已供下一次的查詢
Q3: 是不是DNS樹狀結構的根部名稱伺服器沒有 CACHE.DNS FILE,請問是什麼原因
A:

You can use %systemroot%\system32\dns\backup\Cache.dns to replace the original one.

You can refer to this KB for more hints: 249868 Replacing Root Hints with the Cache.dns File
http://support.microsoft.com/?id=249868

Q4: WIN2000在 Exchange Bridgehead 伺服器上的 TCP/IP 設定中已配置外部 DNS,可是仍無法成功地傳送內部郵件該怎麼做
A: 可否再更清楚的描述你的問題, 我們在收到您的資訊後, 將儘快處理
Q5: 欲架設另一個站台,卻出現"已建立站台 XXX。如果要完成XXX的設 定:請確定XXX已正確連結到其他包念站台連站的站台。將XXX的子 網路新增到子網路容器中。在XXX安裝一些網域控制站,或將現存 的網域控制站移到站台內。選擇XXX的授權電腦。"該怎麼辦呢
A: It appears you cannot create new site, please check it in DNS Management Console make sure you do not have duplicate name.
Q6: 沒有BOOT檔案,怎麼做才能讓DNS很快地再度正常工作
A: 請問您指的是系統無法開機的狀態下嗎
Q7: 在DNS中無法設定"啟用轉送程式"
A: 這個問題通常是你將DNS Server設為Root DNS Server所致!請打開DNS Server管理工具\找到正向對應域將"."點的區域刪除,然後重新啟動DNS Services即可
Q8: How to remove DNS completely
A: (1) 控制台/新增移除程式/windows元件, 將DNS取消勾選
(2) 刪除winnt\system32\dns folder
Q9: 好像找不到load balancing,是不是只限使用者登入,並不處理應用程式的執行
A: http://support.microsoft.com/default.aspx?scid=kb;en-us;240997
Q10: 有三個不同子網路及數百台機器,但只有二台DNS伺服器,要負責整個企業網路的所有機器,那是不是我必須在每台DNS伺服器中重覆輸入完全相同的3個領域INFOS
A: 你可以利用DNS Server中的新增標準次要區域來做如此便無法重覆輸入三個完全相同的ZONE info
Q11: DNS SERVER當掉了,我有CACHE.DNS及區域檔案,但重點是BOOT 資訊是存在ACTIVE DIRECTORY,也就是我無法取得BOOT檔案,要怎麼做才能最快復原DNS呢
A: 在%systemroot%\system32\DNS folder中查找尾碼名為.DNS的文 件,改名為.OLD,重新啟動netlogon 服務,DNS伺服器會重新註冊記錄
建議你可以參考這篇知識庫文章 294328 How to Reinstall a Dynamic DNS Active Directory- Integrated Zone
http://support.microsoft.com/?id=294328
Q12: 什麼是摘要性DIGEST驗證
A:

Digest - The server requests the user to log on and also sends a NONCE used to encrypt the password. The browser uses the NONCE to encrypt the password and sends this to the server. The server then encrypts its own copy of the user's password and compares the two. If they match and the user has permissions, access is granted.

- Browsers Supported: Internet Explorer 5 only

- Limitations: Not as secure as Integrated. Requires the server to have access to an Active Directory Server that is set up for Digest Authentication.

- User Rights Required: Requires passwords to have "Save password as encrypted Clear Text"

- Encryption Type: Based on NONCE sent by server.

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

222028 Setting Up Digest Authentication for Use with Internet Information
http://support.microsoft.com/?id=222028

Q13: dns是不是用來查ip位址呢
A: 簡言之DNS Server是用來解析Domain Name 所對應的IP
例如:將www.yam.com解析成 211.72.254.6
Q14: 可透過Windows for Workgroups用戶端來存取Active Directory的資訊嗎
A: As this time is for DNS TechTalk but there is no AD function supported in WFW
Q15: 請問什麼是recursion
A: Please refer to the KB
http://support.microsoft.com/default.aspx?scid=kb;en-us;303811
Q16: SETUP & SETUP 1請問區別何處
A: Please descript the problem more detailed that we can provide the correct info to you .
Q17: 如何使用 Visual Basic .NET 取得 NetBIOS 及 DNS 電腦名稱
A:

1. Start Visual Studio .NET.

2. Under Project Types, click Visual Basic Projects. Under Templates, click Console Application.

3. Double-click Module1.vb to open the code window. NOTE: You can also right-click Module1.vb, and then click View Code to open the code window.

4. Add the following code to Sub Main:

Dim result As String

'Retrieve the NetBIOS name. result = System.Environment.MachineName

'Display the results to the console window. Console.WriteLine("NetBIOS Name = {0}", result)

'Retrieve the DNS name. result = System.Net.Dns.GetHostByName("LocalHost").HostName

'Display the results to the console window. Console.WriteLine("DNS Name = {0}", result)

5. Press the CTRL+F5 key combination to build and run the application. The NetBIOS and DNS computer names appear in the console window. NOTE: If you use the CTRL+F5 key combination to start the program, the console window remains open after the code has completed.

Q18: 如何建立DNS 伺服器的新區域
A: 打開DNS Server管理工具\正向對應區域\按右鍵增區域,選擇你要的類型\再輸入新 ZONE的名稱即可
Q19: 伺服器的位址是不是一定為固定IP呢
A: 提供網路服務的伺服器, 如DNS, DHCP, WINS等, 最好都用靜態IP
Q20: round-robin dns是什麼意思
A: 提供單一Doamin Name多筆不同IP的查詢回應! 可說是簡易的DNS LB
Q21: 在win 2k 下的dns 如果沒有設定 轉送的話是不是會查不到一些網站? 那如果在DNS設定轉送程式,有些在 ISA 上設定不讓user去的網站是否就會沒作用了
A: 沒有設定轉送時,不會影響查詢的功能。 在DNS設定轉送不會影響 ISA 的組態設定
Q22: 預設情況下DNS應會將所有區域檔案轉送至任何發出要求的伺服器,但我怕這樣有安全上考量,可否限制只轉送到某些DNS伺服器 呢
A: 可, 只要在該區域右鍵內容/區域轉送頁次作限制
Q23: 之前是使用Windows NT Server 的Macintosh服務,後升級到 Windows 2000 Server有何需要注意嗎
A: http://support.microsoft.com/default.aspx?scid=kb;en-us;231625
Q24: windows 2000使用者的主目錄置於那個資料夾內
A: 如果您指的是使用者Profile,預設放在Documents & Settings中
Q25: DNS 7063 event log problem該怎麼辦
A: 請附上完整的錯誤訊息, , 我們在收到您的資訊後, 將儘快處理
Q26: DNS的網域和WINS 2000的網域有何不同
A: 你指的是DNS Domain NAmre 與Netbios Domain Name的不同
基本上DNS Domain Name具有階層式樹系的架構,但netbios則沒有! Win2000 AD 所使用的就己DNS架構的Domain Name
Q27: 要使用 ISP的DNS 或是 win2k 本身的DNS來解譯,那個比較好
A: 最常見的作法是公司內部Client都將DNS指向內部DNS, 然後在 DNS上設定轉送至ISP
Q28: 建立反向對應區域主要目的何在呢
A: 反向解析是由IP -> FQDN, 若不滿一個Class C, 要請ISP設定
Q29: 2003的DNS和2000DNS有何不同
A:

win2003 DNS新增的功能:
(1) 虛設常設區域
(2) AD整合Zone有更多的複寫機制可以選
(3) 可以設定不同的轉寄站
(4) AD整合Zone可以放在Application Partition

新功能不止這些, 建議至微軟網站找更多資訊

Q30: 系統監視器和效能監視器最大不同在於
A: 效能監視器是Windows NT 的一個工具 ,在 Windows 2000 中,我們用系統監視器
Q31: win 2k 中的dns 如果沒有設定轉送是不是有些網站查不到 那如果設定了轉送在isa上設定不讓user 去的網站還有用嗎??
A: 沒有設定轉送時,不會影響查詢的功能。 在DNS設定轉送不會影響ISA 的組態設定
Q32: 如何將 W2K DNS 中的 host record 匯出
A: 到 %System root%\System32\DNS 複製下來
Q33: 執行NSLOOKUP,用以開始解析名稱,可是卻看不到"找不到伺服器"的訊息,怎麼辦
A: 新增一反向區域即可
Q34: DNS的正向與反向的對應區域是不是一定是一對一
A: 不一定
例如正應區域有兩個Abc.com.tw ip 192.168.1.1以及XYZ.xom.tw IP 192.168.1.2 那麼他們兩個的反向區域都會是192.168.1
Q35: WINDOWS 2000 SERVER有無事件記錄檔記錄所有EVENT,在那兒
A: 在開始程式集\系統管理工具\事件檢視器
Q36: 需要同時架設多個SSL站台,主機和IP數目是否要配合SSL站台數目呢
A: 主機跟申請憑證有關。 IP跟連接埠有關
Q37: 可否設定BOOT資訊不要存在ACTIVE DIRECTORY,以防止DNS當掉時措手不及
A: 在DNS Server管理工具\找到DNS Server Name右鍵內容\進階\啟動時載入區域資料的選項中做選擇
Q38: 如何在DNS中建立子網域
A: 在父網域新增網域或新增委派, 不同的地方在於, 新增網域後新的子網域跟父網域都是同一台DNS Server管理, 新增委派是將子網域交給其它的DNS Server管理
Q39: HOST NOT FOUND的錯誤訊息是否表示沒有此台主機
A: 只能代表說該HOST沒有註冊在該DNS Server上
Q40: 如何為 Active Directory 設定網域名稱系統
A:

看這篇文章:

237675 Setting Up the Domain Name System for Active Directory
http://support.microsoft.com/?id=237675

Q41: 如何在現有的 Windows 2000 Server 上安裝 Windows 2000 DNS 服務
A: 控制台/新增移除程式/windows元件/Network service/dns
Q42: 在公司網路裡對某個站台做FTP動作,但卻連不上去,FTP用戶端一直在找別的地方,但我檢查了DNS伺服器裡面的資訊都是對的啊!那到到底是那兒出錯了呢
A: 先用IP去連, 如果成功代表FTP設定無誤, 接下來用nslookup檢查名稱解析是否正確
Q43: win95/98用戶端看得見windows 2000裡的active directory嗎
A: 裝win9x版本的DSclient後可以搜尋AD帳號資源, 及用DFS
Q44: 萬一DNS出了什麼問題無法啟動,是不是一定得要重新安裝整個Windows 2000 才能解決呢
A: 不用整個重新安裝, 建議先至事件檢視器找相關的Evnet ID, 並試著重新安裝DNS元件
Q45: 什麼是 Active Directory
A:

您可以到這個位址查詢詳細的資料:

為 Active Directory 設定網域名稱系統
http://support.microsoft.com/default.aspx?scid=kb;zh-tw;237675

Q46: 我有一台conferenceing 是在firewall(ISA) 內,可是我要從內部連到外部的conferenceing server 但是有個問題是我裡面連不到外面, 例如http://server_ad/ad....... ,server_ad是wins name 而非 fqdn name 所以無法連上,小弟已經改了local 的hosts 檔案,dns 也有作過修改了,可是無法連上..? 如果改成實體ip 後,再把local 的hosts 改一下就沒問題
A: I do believe it should be firewall issue:
Just Open Port 53 for DNS query
KB:Q254018
Domain Name System (DNS) Settings
Use the following configuration if the server and internal clients require
DNS resolution to an external DNS server located on the Internet:
Source 0.0.0.0 to Protocol TCP Source Port 53
Source 0.0.0.0 to Protocol UDP Source Port 53
NOTE: If you run your own Internet
Q47: 網站逐漸成長,無法將所有內容都放在站台的根目錄裡,要怎麼辦
A: 不太清楚你的意思,請撥冗詳為描述, , 我們在收到您的資訊後, 將儘快處理
Q48: 如果沒有DNS 可以跑ACTIVE DIRECTORY嗎
A: 不行, 一定要有DNS才能架AD
Q49: 什麼是DNS轉送
A: DNS轉送指的就是當本機DNS伺服器不能解析此DNS名稱時,將名稱解析轉給設定好的轉發DNS伺服器的過程
Q50: 如何將現有的網域名稱系統(DNS)基礎結構從 BIND 伺服器到轉移到 Windows 2000 中的 Windows 2000 網域名稱系統伺服器
A: http://support.microsoft.com/default.aspx?scid=kb;en-us;301192
Q51: 使用 DNS 的「轉寄站」時,您發現 DNS 中的 [轉寄站] 索引標籤竟然變成淡灰色,請問該如何解決呢
A: 將"."區域刪除即可
Q52: 如何在 Windows 2000 中將 Windows 2000 DNS 整合到既有的 DNS 基礎結構內
A: http://support.microsoft.com/default.aspx?scid=kb;zh-tw;301190
Q53: 什麼是 TSCAL
A: Terminal Services Client Access License
Q54: 需要取得關於使用使用者登入多久,及伺服器上中斷連線的工作階段閒置多久,如何做
A:

You may use network monitor to caputer the logon process.

http://support.microsoft.com/default.aspx?scid=kb;en-us;148942

Q55: 看到他家公司,竟可利用Windows Server 2000 上直接開30多台的 iMac,請問如何辦到
A:

I do not understand what exactly you mean. If you want to connect to Mactonish Computer, you can refer to this KB:

262282 Description of the AppleTalk Protocol in Windows 2000 Professional
http://support.microsoft.com/?id=262282

Q56: Windows 2000 Server的電腦管理好像有限定字元的Macintosh Volume名稱,如果一定要建立名稱更長的Volume可以嗎如何做
A: 不可以
這是系統的限制
Q57: 如何在 DNS 中建立子網域,將其中幾台機器Delegate control給另一組人員
A: 255248 HOW TO: Create a Child Domain in Active Directory and Delegate the DNS
http://support.microsoft.com/?id=255248
Q58: 若是終端機用戶端正在活動中的工作階段,未登出就突然中斷連 線,那工作階段是不是就完了?有無方法補救
A: 只要這台終端伺服器不關機,當你再次連上時,你會看見在突然中斷之前的工作環境
Q59: TERMINATE & RESET是一樣嗎
A: 請提供更詳細的資訊, 我們在收到您的資訊後, 將儘快處理
Q60: 如何得知伺服器上系統快取用掉多少呢
A: 按Crtl+Alt+Del叫出工作管理員即可看到
Q61: 已增加了二顆CPU但發現WINDOWS 2000並未增加效能百分百,難道沒有用嗎
A: 兩顆 CPU 的環境與一顆 CPU 的效能比,並不是兩倍的關係。依照 Intel x86 SMP 的架構,理論上效能增加為 √2 的倍數增加。 若是 AMD 的 Dual CPU 架構,可以增加到 1.8.....倍,AMD 是走 DEC EV6 Bus 的架構。 當然如果您是從一顆升級到兩顆的話,驅動程式要更新為 SMP 的組態,才能生效
Q62: DNS和HOSTS最大差別在於
A: 查詢的先後順序, 先查Hosts再查DNS
Q63: 我的FTP只想對一些特定的用戶及廠商公開,如何做
A: 應該可以鎖IP
Q64: 如何修改WEB站台的內容屬性
A:

1. Click Start, point to Programs, click Administrative Tools, and then click Internet Services Manager.

2. When the Microsoft Management Console (MMC) window opens, expand <Server Name>, and then click to select either Default Web Site or the name of the Web site that you want to work with.

3. Right-click the Web site, and then click Properties.

Q65: DNS SERVER可否使用浮動IP呢
A: 不可以
Q66: 網路用戶端具有WINS功能亦具有DNS伺服器,請問那個名稱服務會先回答呢會不會相衝突呢
A: 負責的工作不一樣, Wins是Netbios名稱解析, DNS是FQDN名稱解析
Q67: 如何設定 DNS 以存取網際網路
A: 安裝DNS設定轉送至ISP DNS
Q68: 當主dns當機一段時間,次dns會否直接升級主dns
A: 所謂主次是指Primary跟Secondary嗎? 如果是的話, 並不會自動轉換,要手動作
Q69: win 2000 dns和之前的dns最大不同在於
A:

The DNS in NT4 and Win2K is refer to different RFC document,you may visit the URL as below to study more.

http://www.microsoft.com/windows2000/techinfo/howitworks/communications/nameadrmgmt/w2kdns.asp

Q70: ADSL為非固定IP,在seed net有申請domain name,請問該如何架設 DNS
A: 應該先安裝廠商所提供的Agent Software
Q71: "DNS is not available. Would you like the wizard to install and configure a DNS server for your new domain?"要怎麼辦
A: 如果沒記錯, 這個錯誤訊息是在Dcpromo過程中會出現, 如果這是Forest Root 第一台DC的promo, 那選Yes, 讓精靈幫忙安裝設定DNS
Q72: 什麼是"區域轉送"ZONE TRANSFER
A: 主要區域或AD整合區域可以轉送至次要區域
Q73: DNS有無動態更新可設定,如此才不用將每台主機的名稱一筆筆輸入
A: w2k & win2003 DNS有支援Dynamic Update
Q74: 一台終端機伺服器上所能執行的工作階段個數是如何定的
A: 取決於終端機授權的模式,如果是管理模式的話,工作階段只限於 2 個,而應用程式模式則不限
Q75: LocalNetPriority有何特別功能嗎
A:

If Enable round robin is selected (the default) and the value of LocalNetPriority is 1, the server rotates among the A resource records that it returns in the order of their similarity to the IP address of the querying client.If Enable round robin is deselected and the value of LocalNetPriority is 1, the server returns the records in local net priority order. It does not rotate among available addresses.

If Enable round robin is selected and the value of LocalNetPriority is 0 (the default), the server rotates among the available records in the order in which the records were added to the database.If Enable round robin is deselected and the value of LocalNetPriority is 0 (the default), the server returns the records in the order in which they were added to the database. The server does not attempt to sort them or rotate the records it returns.

Q76: 可否透過登錄編輯器變更BOOT資訊的儲存位置
A: Nor very sure about your meaning,  You may refer to the path :HKLM\SYSTE<\MountedDevices
Q77: 如何建立私用的DNS根架構
A: 新增一"."區域
Q78: 公司內部DNS伺服器是跑UNIX,用BIND程式,想引進WIN 2000的 Active Directory架構,是不是一樣得拋棄BIND,改用Windows 2000的DNS服務
A: 不用, 只要確定目前用的Bind版本支援動態更新及SRV Record
Q79: 假如DNS與WINS相衝突怎麼辦
A: DNS優先
Q80: 如何在WIN 2000設定TELNET服務自動啟動
A: 系統管理工具/服務 將Telnet服務的啟動方式設為自動
Q81: Windows for workgroups一定要使用網域的NetBIOS名稱嗎
A: For Windows 2000 Domain you may use Netbios and FQDN domain to connect or join.
Q82: 之前有學長跟我提過盡量只安裝會用到的服務,這樣windows 2000伺服器效能會比較好,請問真的嗎
A:

將一些暫時不用的服務在在服務控制面板中設置為手工啟動就可以 了

Q83: 可否一次對單一伺服器mount多個volume
A: http://support.microsoft.com/default.aspx?scid=kb;en-us;314449
Q84: asip伺服器可以加到windows工作群組和網域中嗎如何做呢
A: Could you please check the wording "ASIP"
Q85: Windows 2000 &Windows 2000 Advanced Server有那些不同點
A: Advanced支援Cluster
Q86: 為什麼要兩台DNS才能註冊呢
A: 您所謂的 DNS 註冊應該是申請網域時的申請資料吧!
照 InterNIC 的規範,每一個網域都需要兩個以上的 DNS 伺服器作服務。 原因是要讓 DNS 的解譯服務不中斷
Q87: 想將次要的DNS SERVER升級為主要的DNS SERVER如何做
A: 在 Secondary Zone 裡的內容裡的一般頁次,可以看到 Type 為次要的,右邊有個 Change 的按鈕,按下後會出現三個 zone type , 其中如果這台不是 DC 的話,只能選擇為 Standard primary or Standard secondary ,請從這裡去做改變
Q88: How to Disable NetBIOS Name Resolution on DNS
A:

Disabling NetBIOS over TCP/IP

Windows 2000 provides for the ability to disable NetBIOS over TCP/IP (NetBT) for select clients where it is useful to do so. If you require or would prefer to only use DNS to provide name registration and resolution on a specified computer used in a specialized or secured role for your network; you can select to disable NetBT services for one or all installed network adapter interfaces on that computer. To disable WINS/NetBT name resolution, follow these steps:

1. Open Network and Dial-up Connections To open Network and Dial-up Connections, click Start, point to Settings, and then click Network and Dial-up Connections.

2. Click the Local Area Connection to be statically configured and then, from the File menu, click Properties.

3. In the list of components, click Internet Protocol (TCP/IP), and then click Properties.

4. Click Advanced.

5. Click the WINS tab.

6. Click Disable NetBIOS over TCP/IP.

Q89: The primary DNS suffix of a Windows 2000 DC is empty what can i do
A: 已經無法做變更!除非你先將DC降級下來
Q90: Windows 2000 Client的 DHCP 動態DNS 登錄無法運作, 請問有何解決方法
A: 先確認你的DNS Server是否有允許動態更新的設定
Q91: 執行 Proxy Server 電腦上安裝的DNS Server時,Internet 主機發出的DNS 要求會失效,請問怎麼會這樣
A:

Just Open Port 53 for DNS query

KB:Q254018

Domain Name System (DNS) Settings

Use the following configuration if the server and internal clients require DNS resolution to an external DNS server located on the Internet:

Source 0.0.0.0 to Protocol TCP Source Port 53

Source 0.0.0.0 to Protocol UDP Source Port 53

NOTE: If you run your own Internet DNS server, use the following configuration:

Source 0.0.0.0 to Protocol TCP Destination Port 53

Source 0.0.0.0 to Protocol UDP Destination Port 53

Q92: 如何在現有的DNS 網域中設定 Windows 2000 DNS 伺服器來當作主要的DNS伺服器
A: 如果你指的是DNS區域的部份,則你可以至正向對應區域按右鍵\類型中設定
如果你指的是Clent查詢所使用的,那麼只需將Client的DNS IP指向該DNS Server即可
Q93: 如何可檢視目前網域中所有終端伺服器的清單
A: 開啟終端機服務管理員
Q94: 登入時出現"Error code: 0x906 SL_ERR_SECCTXTINITFAILED (0x906)SL: InitSecurityContext call failed."該怎麼辦
A: http://support.microsoft.com/default.aspx?scid=kb;en-us;187465
Q95: "在ㄧ部Windows 2000 server上安裝 Internet Mail Service for Exchange Server 5.5 時,安裝精靈不能繼續下去,而且出現下面的錯誤訊息: The internet mail service requires DNS domain name to be configured on [server name].To configure domain name use network control panel on [server name] or select another server."
A: 247063 XFOR: DNS Error Installing Internet Mail Service on Windows 2000
http://support.microsoft.com/?id=247063
Q96: 敝公司是使用WINDOWS 2000,請問一張網路卡可設定幾個RDP連線呢
A: 沒有限制,只要使用流量能負荷