<![CDATA[Latest posts for the topic "Xin trợ giúp sửa lỗi named trên centos 6.5"]]> /hvaonline/posts/list/24.html JForum - http://www.jforum.net Xin trợ giúp sửa lỗi named trên centos 6.5 Code:
[root@www6 ~]# nslookup domain.com
Server:         127.0.0.1
Address:        127.0.0.1#53

Name:   domain.com
Address: 123.123.123.123
Nhưng khi truy vấn từ máy khác thì không được: Code:
C:\Users\HVA>nslookup domain.com
DNS request timed out.
    timeout was 2 seconds.
Server:  UnKnown
Address:  fe80::1

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to UnKnown timed-out
File cấu hình của mình như sau: named.conf Code:
options {
	listen-on port 53 { any; };
	listen-on-v6 port 53 { any; };
	directory 	"/var/named";
	dump-file 	"/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
	allow-query     { any; };
	recursion yes;

	dnssec-enable yes;
	dnssec-validation yes;
	dnssec-lookaside auto;

	/* Path to ISC DLV key */
	bindkeys-file "/etc/named.iscdlv.key";

	managed-keys-directory "/var/named/dynamic";
};

logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};

zone "." IN {
	type hint;
	file "named.ca";
};

zone"domain.com" IN {
type master;
file "/var/named/fwd.domain.com";
allow-update { none; };
};
zone"123.123.123.123.in-addr.arpa" IN {
type master;
file "/var/named/rev.domain.com";
allow-update { none; };
};

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
File: fwd.domain.com Code:
$TTL 86400
@   IN  SOA     ns1.domain.com. root.domain.com. (
        2011071001  ;Serial
        3600        ;Refresh
        1800        ;Retry
        604800      ;Expire
        86400       ;Minimum TTL
)
@       IN  NS          ns1.domain.com.
@       IN  NS          ns2.domain.com..
@       IN  A           123.123.123.123
@       IN  A           123.123.123.124

ns1    IN  A   123.123.123.123
ns2    IN  A   123.123.123.124

@      IN A 123.123.123.123
www    IN A 123.123.123.123
*      IN A 123.123.123.123
File:rev.domain.com Code:
$TTL 86400
@   IN  SOA     ns1.domain.com. root.domain.com. (
        2011071001  ;Serial
        3600        ;Refresh
        1800        ;Retry
        604800      ;Expire
        86400       ;Minimum TTL
)
@       IN  NS          ns1.domain.com.
@       IN  NS          ns2.domain.com.

ns1    IN  A   123.123.123.123
ns2    IN  A   123.123.123.124

@      IN A 123.123.123.123
*      IN A 123.123.123.123

123     IN  PTR         ns1.domain.com.
124     IN  PTR         ns2.domain.com.
Mong nhận được sự giúp đỡ ;) ]]>
/hvaonline/posts/list/45559.html#280215 /hvaonline/posts/list/45559.html#280215 GMT
Xin trợ giúp sửa lỗi named trên centos 6.5 /hvaonline/posts/list/45559.html#280222 /hvaonline/posts/list/45559.html#280222 GMT Xin trợ giúp sửa lỗi named trên centos 6.5

bao0730 wrote:
theo như em thấy vấn đề ở trên là do lỗi phân giải ipv6 ở máy khách, nếu bác dùng windows thì nên tắt ipv6 trong phần cấu hình ip, còn đây là đường dẫn cách bỏ phân giải ipv6 của Bind trên centOS : http://crashmag.net/disable-ipv6-lookups-with-bind-on-rhel-or-centos 
Cảm ơn bạn đã trả lời topic. Tình hình là vẫn chưa khắc phục được :(]]>
/hvaonline/posts/list/45559.html#280232 /hvaonline/posts/list/45559.html#280232 GMT