古詩詞大全網 - 成語經典 - hints在服務器代碼中是什麽意思

hints在服務器代碼中是什麽意思

表示根類型區域,常使用壹個“hint zone”來指定初始的根名字服務器集合。在服務器啟動時,它使用根提示信息來找到壹個根名字服務器並從後者獲取最近的根名字服務器名單。

常在配置中見到:

zone "." {

type hint;

file "named.root";

};

另外相對應的有:

zone "localhost" {

type Master;

file "localhost.zone";

};

zone "test.local" {

type Slave;

file "test.local.zone";

Masters{192.168.10.3;};

};

註意Masters多壹個s