네임서버 데몬은 정상적으로 뜨고..
named-checkzone 으로 zone화일 검사해보면 OK나오고..
named.conf 화일도 이상 없는거 같고..
근데 왜 작동을 안하죠?
제 설정 사항들입니다.
레드헷7.0에서 7.1로 오면서 커널을 비롯해서 환경설정도 바뀐거 같은데요..
정리해 놓은 곳 아시면 좀 알려주세요..ㅠㅠ
초보지만 7.0 잘 쓰다가 7.1 깔았더니 너무 삽질만 하네요..ㅠㅠ
[/var/log/message]
May 22 17:52:37 myhost named: named startup succeeded
May 22 17:52:37 myhost named[811]: starting BIND 9.1.0 -u named
May 22 17:52:37 myhost named[811]: using 1 CPU
May 22 17:52:38 myhost named[816]: loading configuration from '/etc/named.conf'
May 22 17:52:38 myhost named[816]: the default for the 'auth-nxdomain' option is now 'no'
May 22 17:52:38 myhost named[816]: no IPv6 interfaces found
May 22 17:52:38 myhost named[816]: listening on IPv4 interface lo, 127.0.0.1#53
May 22 17:52:38 myhost named[816]: listening on IPv4 interface eth0, 111.111.111.111#53
May 22 17:52:38 myhost named[816]: running
[/var/named/myhost.zone]
$TTL 1h
@ IN SOA ns.mysite.com. itisme.hanmail.net. (
2001052101 ;Serial
3600 ;Refresh (1h)
1800 ;Retry (30min)
3600000 ;Expire (41days)
3600) ;Minimum (1h)
; Name Server
IN NS ns.mysite.com.
; static address
ns IN A 111.111.111.11
@ IN A 111.111.111.11
host1 IN A 111.111.111.11
host2 IN A 111.111.111.2
host3 IN A 111.111.111.11
host4 IN A 111.111.111.11
www IN CNAME @
; mail hosts
@ IN MX 10 @
[/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 "mysite.com" IN {
type master;
file "mysite.zone";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
key "key" {
algorithm hmac-md5;
secret "qEojjBzpG0ohdqJckpaCqeyakmElMGo0KEyeLfpRlgy0WuIPDsiUmyENqgFp";
};
이상입니다..--이 곳에 서명을 적어주십시오.
초짜