vitcon01 wrote:
--->khởi động lại dns server của bạn
/etc/init.d/named restart
tail -20 /var/log/messages
--->rồi đưa đoạn tail đó lên
-Cân cung cấp distro mà bạn đang sử dụng
-Xem thử đã cấu hình iptables chưa
allow-query { localhost; }; ---> //allow-query { localhost; };
1. Tail báo như sau:
Code:
[root@uniofl etc]# service named restart
Stopping named: . [ OK ]
Starting named: [ OK ]
[root@uniofl etc]# tail -20 /var/log/messages
2010-10-04T11:47:43.875305+09:00 uniofl named[32367]: found 8 CPUs, using 8 worker threads
2010-10-04T11:47:43.875983+09:00 uniofl named[32367]: using up to 4096 sockets
2010-10-04T11:47:43.883054+09:00 uniofl named[32367]: loading configuration from '/etc/named.caching-nameserver.conf'
2010-10-04T11:47:43.884665+09:00 uniofl named[32367]: using default UDP/IPv4 port range: [1024, 65535]
2010-10-04T11:47:43.885589+09:00 uniofl named[32367]: using default UDP/IPv6 port range: [1024, 65535]
2010-10-04T11:47:43.888434+09:00 uniofl named[32367]: listening on IPv6 interface lo, ::1#53
2010-10-04T11:47:43.888936+09:00 uniofl named[32367]: listening on IPv4 interface lo, 127.0.0.1#53
2010-10-04T11:47:43.889253+09:00 uniofl named[32367]: listening on IPv4 interface venet0:0, 38.127.225.69#53
2010-10-04T11:47:43.890997+09:00 uniofl named[32367]: command channel listening on 127.0.0.1#953
2010-10-04T11:47:43.891154+09:00 uniofl named[32367]: command channel listening on ::1#953
2010-10-04T11:47:43.891187+09:00 uniofl named[32367]: the working directory is not writable
2010-10-04T11:47:43.892021+09:00 uniofl named[32367]: zone 0.in-addr.arpa/IN/localhost_resolver: loaded serial 42
2010-10-04T11:47:43.892335+09:00 uniofl named[32367]: zone 0.0.127.in-addr.arpa/IN/localhost_resolver: loaded serial 1997022700
2010-10-04T11:47:43.892574+09:00 uniofl named[32367]: zone 255.in-addr.arpa/IN/localhost_resolver: loaded serial 42
2010-10-04T11:47:43.892789+09:00 uniofl named[32367]: zone 225.127.38.in-addr.arpa/IN/localhost_resolver: loaded serial 2010100101
2010-10-04T11:47:43.893040+09:00 uniofl named[32367]: zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN/localhost_resolver: loaded serial 1997022700
2010-10-04T11:47:43.893232+09:00 uniofl named[32367]: zone localdomain/IN/localhost_resolver: loaded serial 42
2010-10-04T11:47:43.893410+09:00 uniofl named[32367]: zone localhost/IN/localhost_resolver: loaded serial 42
2010-10-04T11:47:43.893610+09:00 uniofl named[32367]: zone yourcomic.net/IN/localhost_resolver: loaded serial 2010100101
2010-10-04T11:47:43.894737+09:00 uniofl named[32367]: running
[root@uniofl etc]#
2. Em dùng
Code:
CentOS release 5.5 (Final)
i686
3. iptables đã stop và các port 80, 53 vẩn open bình thường.
4. đã làm theo cái này
Code:
allow-query { localhost; }; ---> //allow-query { localhost; };
Mà giờ vẩn chưa đc
Cảm ơn anh đã support và chờ anh xem xét thêm