IP Address Lookup:IP地址查詢
這個偏好設定頁面包括的項目,控制如何將zMUD將主機名轉換
成IP地址。這些偏好設定侷限於特定角色。
為了連線到一個MUD,zMUD需要知道的MUD的IP位址(用點分隔
的四個數字)。但是,您常使用主機名去參照一個MUD的實際
IP位址,如果它們移動到新伺服器,它會改變。因此,zMUD通
常必須轉換主機名到一個IP地址。 Internet協議中用來進行
這種轉換的是知道域名的伺服器(DNS)。 zMUD查詢您預設的
DNS伺服器,並給出它的主機名。DNS服務器回傳主機的當前IP
位址。如果你的DNS服務器無法連線,則zMUD無法轉換主機名
,而您必須輸入IP地址為“主機名”字段。
DNS協議被稱為“不可靠”協議,因為在網路無法保證成功傳輸
訊息。如果你有一個糟糕的網路連線,封包會被丟失,DNS封
包不會自動重傳。是故,如果第一次嘗試失敗,zMUD會嘗試多
連線幾次DNS伺服器。在此畫面上的參數控制這些重試。
zMUD開始一次快速地測試DNS轉換,僅以“最小逾時”字段做為
等待回應的秒數。如果你有個快速的DNS服務器和良好的網路
連線,第一次嘗試通常會成功。如果失敗(最小逾時的秒數內
沒有回應),則zMUD會增加延遲時間,回應“累進逾時”,並再
次嘗試。如果仍然沒有DNS回應,zMUD再次增加了累進逾時值
,並繼續做這樣的重試,直到最大逾時值。如果最大逾時秒數
內不能成功進行DNS轉換,zMUD放棄並顯示錯誤對話框,要求
您輸入自已知道的IP地址。
預設參數值
最小逾時:1
自動累加:1
最大逾時:5。
因此,zMUD會先嘗試一秒鐘,然後兩秒鐘,三秒鐘,然後四秒
,最後五秒鐘。如果你的DNS服務器已關閉,或設定不正確,
zMUD將等待15秒,然後顯示查詢錯誤的消息(1 +2 +3 +4 +5
= 15)。
註:處理轉址的相關項目,一轉就成功連到MUD就用不到。以
上面預設值來說,第一次不成功的話,它會一秒後再做一次轉
址試著連到正確的IP位址;再不成功,就會把最小值加上累進
值,也就是兩秒後,做第三次轉址;然後第四次是兩秒加一秒
;第五次是三秒加一秒;第六次是四秒加一秒,也就是五秒,
等於最大逾時。這時候它會停下來,跳出一個對話框,要你輸
入IP位址。
This Preferences page contains options that control
how zMUD converts host names into IP addresses. Most
of these preferences are local to the specific
character.
In order to connect to a MUD, zMUD needs to know the
IP address (four numbers separated by dots) of the MUD
. However, you normally use a Host Name to refer to a
MUD since the actual IP address of a MUD can change
if they move to a new server. So, zMUD must normally
convert a host name into an IP address. The Internet
protocol used to perform this conversion is know as
the Domain Name Service (DNS). zMUD queries your
default DNS server and gives it the host name. The
DNS server responds with the current IP address of
that host name. If your DNS server cannot be
contacted, then zMUD cannot convert host names and you
must then enter the IP address itself into the
Hostname field.
The DNS protocol is called an "unreliable" protcol
because successful transmission of the information is
not guarenteed by the network. If you have a bad
network connection, packets can be lost and DNS
packets are not automatically retransmitted. Thus,
zMUD tries several times to contact the DNS server if
the first attempt fails. The parameters on this
screen control these retries.
zMUD starts with a quick DNS conversion attempt and
waits only the number of seconds in the "Min Timeout"
field for a response. If you have a fast DNS server
and a good network connection, this first attempt will
usually succeed. If it fails (no response within the
Min Timeout number of seconds), then zMUD increases
the delay time for a response by the "Timeout Inc"
value and tries again. If there is still no DNS
response, zMUD again adds the Timeout Inc value and
continues doing this and retrying until the Max
Timeout value is reached. If a successful DNS
conversion cannot be made in the Max Timeout number of
seconds, zMUD gives up and displays an error dialog
asking you to input the IP address yourself if you
know it.
The default parameters are Min: 1, Inc: 1, Max: 5.
Thus, zMUD will first try for one second, then two
seconds, then three seconds, then four seconds, and
finally for five seconds. If you DNS server is down
or misconfigured, zMUD will therefore wait 15 seconds
before displaying the lookup error message (1+2+3+4+5
= 15).