|
|
options {
directory "/var/named";
pid-file "/var/run/named/named.pid";
auth-nxdomain yes;
};
key "key"{
algorithm hmac-md5;
secret "swQloFc0lK0ifPPCnnBSsrrLnPZwMEFKvSJqDdhySQEOuRYfMGYnbOtEP";
};
//請問上面的兩名..是密文..內容..可是是怎麽産生的???
// generated by named-bootconf.pl
// secret must be the same as in /etc/rndc.conf
controls{
inet 127.0.0.1 allow{
any;
} keys{
"key";
};
};
可是我的域名帳號密碼都是名文的啊...哪怎麽辦...
如別人訪問www.peter.com.cn
會根據peter.com.cn
找到了我的dns server即公網ip的那一台有dns服務的那一台...
這個是讓innic去指向的...(中國大陸沒提供web網站更改的平臺..暈)
然後看到了
/etc/named.conf中的
域名解析zone "peter.com.tw" {
type master;
file "excell.com.tw";
allow-transfer{
any;
};
allow-query{
any;
};
allow-update{
127.0.0.1;
};
};
這一塊
通過
下面文件
[root@dns root]# cat /var/named/peter.com.tw
$ORIGIN .
$TTL 43200 ; 12 hours
excell.com.tw IN SOA dns.peter.com.tw. (
2002080920
3600
15
1209600
43200 )
NS dns.peter.com.tw.
MX 5 mail.peter.com.tw.
$ORIGIN peter.com.tw.
$TTL 86400 ; 1 day
$TTL 43200 ; 12 hours
dns A 61.221.104.*
ftp CNAME dns
mail A 61.221.104.*
main CNAME mail
$TTL 86400 ; 1 day
$TTL 43200 ; 12 hours
www A 211.23.81.*
找到提供www的電腦...即
211.23.81.*
這一台..後即上面的網丫...是這樣分析嗎?
版主不知道我理解是否正確.....
可是我有域名的密碼有什麽作用呢??? |
|