<시스템 사양>
사용배포본 : 와우리눅스 7.0 까치
제가 dns를 설정했는데...nslookup으로는 정상적으로 뜹니다.
[root@woojinis named]# nslookup
Default Server: ns.christian.pe.ly
Address: 203.227.162.21
> www.christian.pe.ly Server: ns.christian.pe.ly
Address: 203.227.162.21
Non-authoritative answer:
Name: www.christian.pe.ly Address: 203.227.162.21
그런데...브라우저에서 띄우면 안되거든요..
ip로는 되고요...
아파치에서 ServerName도 www.christian.pe.ly로 했거든요..
제 DNS설정내용입니다.
1. /etc/resolv.conf
search christian.pe.ly
nameserver 203.227.162.21
2. /etc/hosts
127.0.0.1 localhost.localdomain localhost
203.227.162.21 woojinis.co.kr woojinis
3. /etc/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
//
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "christian.pe.ly" IN {
type master;
file "zone-christian.pe.ly";
};
zone "162.227.203.in-addr.arpa" {
type master;
file "zone-162.227.203";
};
4. /var/named/zone-christian.pe.ly
$TTL 86400
@ IN SOA ns.christian.pe.ly. root.christian.pe.ly. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.christian.pe.ly.
IN A 203.227.162.21
IN A www.christian.pe.ly ns IN A 203.227.162.21
www IN A 203.227.162.21
5. /var/named/zone-162.227.203
$TTL 86400
@ IN SOA ns.christian.pe.ly. root.christian.pe.ly. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS ns.christian.pe.ly.
21 IN PTR ns.christian.pe.ly.
21 IN PTR www.christian.pe.ly. 부탁드립니다.