dns 가 안됩니다...
vi /etc/naemd/named.conf
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "173.111.202.in-addr.arpa" IN {
type master;
file "named.rev";
allow-update { none; };
};
zone "haohi.com" IN {
type master;
file "named.zone";
------------------------------------------------------------------------
vi /var/named.rev
$TTL 86400
@ IN SOA ns1.haohi.com. root.ns1.haohi.com.(
2005101800 ; serial
10800 ; refresh
3600 ; retry
3600000 ; expire
86400) ; minimum TTL
IN NS ns1.haohi.com.
xx IN PTR localhost.
------------------------------------------------------------------------
vi /var/named.zone
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
$TTL 86400
@ IN SOA ns1.haohi.com. root.ns1.haohi.com.(
2005101800 ; serial
$TTL 86400
@ IN SOA ns1.haohi.com. root.ns1.haohi.com.(
2005101800 ;serial
10800 ; refresh
3600 ; retry
3600000 ; expire
86400) ; minimum TTL
IN NS ns1.haohi.com.
IN A 202.111.173.xx
IN MX 10 haohi.com.
;;
www IN CNAME @
mail IN CNAME @
* IN CNAME @
------------------------------------------------------------------------
vi /etc/resolv.conf
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
$TTL 86400
@ IN SOA ns1.haohi.com. root.ns1.haohi.com.(
2005101800 ; serial
$TTL 86400
nameserver 202.111.173.xx
#search localdomain
domain haohi.com
search haohi.com www.haohi.com
저의 dns설정입니다...
그대로 복사해 올립니다...
어디가 문제인지...가르쳐 주시길 바랍니다....
그리고 추가로...한국에서 haohi.com이란 도메인을 신청했거든요...
그리고 저는 지금 중국이구요...
그걸 옮겨오는 방식이 어떤지...다른점이 있는지??
답변 부탁합니다...
댓글 달기