在
/etc/named 內你會看到以下一句
zone
"0.0.127.in-addr.arpa" { type master; file "localhost.rev";
notify no; };
這是用來定義 127.0.0.0
至127.0.0.255 的 Domain 是什麼, 但習慣上, 這個範圍的 IP 是沒有什麼需要定義的
以下是 /etc/named/localhost.rev 的內容
| $TTL 86400 | |||||
| @ IN SOA ns1.tophk.net. info@tophk.net. ( | |||||
| 2 | ; Serial ; | 每次改變內容後需要把數值加大 | |||
| 3600 | ; Refresh every hour | ||||
| 900 | ; Retry every 15 minutes | ||||
| 3600000 | ; Expire 1000 hours | ||||
| 3600 | ) ; Minimum 1 hour | ||||
|
IN |
NS | ns1.tophk.net. | 第一台Name Server | ||
| IN | NS | ns2.tophk.net. | 第二台Name Server | ||
| 1 | 600 | IN | PTR | localhost. | 127.0.0.1 是 localhost |
ns1.tophk.net.
你的 DNS Name
info@tophk.net.
你的 E-mail Address
E-mail : andrew@tophk.net