logo       

BIND9 Problems with IPv6: msg#00669

network.dns.bind.user

Subject: BIND9 Problems with IPv6

Hi.

I'm having problems with IPv6 domain( forward, reserve zone),But IPv4
domain is successful

IPv6 domain is not reserve I think , I'don't know wrong with this config
file



Anybody modify config file plz? ^^



Thanks.



+++++++++++++++++++++++++++++



[host1]-----[hub]-----[host2]



host1

dual stack

bind ver. : bind9-9.2.1

ipv4 ddress : 192.168.4.3

ipv6 address :2001:230:0:3::3/64

linux kernel ver. : linux-2.4.18

/etc/resolv.conf --> nameserver 2001:230:0:3::3

domain namedd : testdns.co.kr ( temporary )

host2

dual stack

ipv4 ddress : 192.168.4.2

ipv6 address :2001:230:0:3::2/64

linux kernel ver. : linux-2.4.18

/etc/resolv.conf --> nameserver 2001:230:0:3::3









++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Named.conf



options {

// directory "/etc/namedb";

// directory "/etc";

dump-file "/var/tmp/named_dump.db";

//statistics "/var/tmp/named.stats";

pid-file "/var/tmp/named.pid";

listen-on-v6 {any;};

// host-statistics yes;

forwarders{

};

};



logging category lame-servers { null; };

category cname { null; };

category response-checks { null; };

category notify { null; };

};



zone "." IN{

type hint;

file "/etc/namedb/named.ca";

};



zone "localhost" IN{

type master;

file "/etc/namedb/localhost";

};



zone "0.0.127.in-addr.arpa" IN{

type master;

file "/etc/namedb/named.local";

};



zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int" IN{

type master;

file "/etc/namedb/named.local.v6";

};



zone "testdns.co.kr" IN{

type master;

file "/etc/namedb/testdns.zone";

};



zone "v6.testdns.co.kr" IN{

type master;

file "/etc/namedb/v6.testdns.zone";

};



zone "4.168.192.in-addr.arpa" IN{

type master;

file "/etc/namedb/4.168.192.rev";

};



zone "3.0.0.0.0.0.0.0.0.3.2.0.1.0.0.2.ip6.int" IN{

type master;

file "/etc/namedb/2001:230:0:3.rev";

};



+++++++++++++++++++++++++++++++++++++++++
named.local



$TTL 3600

@ IN SOA localhost. root.localhost. (

2001042600 ; Sserial

28800 ; Refresh

14400 ; Retry

3600000 ; Expire

86400) ; Default_ttl



@ IN NS localhost.

1 IN PTR localhost.

+++++++++++++++++++++++++++++++++++++++++
localhost



$TTL 86400

;@ IN SOA localhost. root.localhost.(

@ IN SOA ns.testdns.co.kr. root.testdns.co.kr.(

2002092201 ;serial

10800 ;refresh

3600 ;retry

604800 ;expiry

86400) ;minimum

IN NS localhost.

;

localhost IN A 127.0.0.1

1.0.0.127.in-addr.arpa IN PTR localhost.

;

localhost IN AAAA ::1



+++++++++++++++++++++++++++++++++++++++++++++
testdns.zone



$TTL 3600

;@ORIGIN testdns.co.kr.



@ IN SOA ns.testdns.co.kr. root.testdns.co.kr. (

2001042600;Serial

30800;Refresh

3600;Retry

604800;Expire

132000);



IN NS ns.testdns.co.kr.

IN HINFO "intel" " redhat linux-2.2.6-3kr2"

@ IN A 192.168.4.3

ns IN A 192.168.4.3

www IN A 192.168.4.3

test IN A 192.168.4.3

v6 IN AAAA 2001:230:0:3::3



++++++++++++++++++++++++++++++++++++++++++



2001:230:0:3.rev



$TTL 3600

@ IN SOA ns.testdns.co.kr. root.testdns.co.kr. (



2001042600 ;Serial

10800 ;Refresh

3600 ;Retry

604800 ;Expire

86400);

IN NS ns.testdnst.co.kr.



$ORIGIN 3.0.0.0.0.0.0.0.0.3.2.0.1.0.0.2.ip6.int.

3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR v6.testdns.co.kr.

;3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR ns.testdns.co.kr.

;3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR www.testdns.co.kr.

;3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR test.testdns.co.kr.

;3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR test.dns.co.kr.



++++++++++++++++++++++++++++++++++++++++++



log file



May 28 00:17:03 localhost named: named startup succeeded

May 28 00:17:03 localhost named[19950]: loading configuration from
'/etc/named.conf'

May 28 00:17:03 localhost named[19950]: listening on IPv6 interfaces, port
53

May 28 00:17:03 localhost named[19950]: listening on IPv4 interface lo,
127.0.0.1#53

May 28 00:17:03 localhost named[19950]: binding TCP socket: address in use

May 28 00:17:03 localhost named[19950]: listening on IPv4 interface eth0,
192.168.4.3#53

May 28 00:17:03 localhost named[19950]: binding TCP socket: address in use

May 28 00:17:03 localhost named[19950]: command channel listening on
127.0.0.1#953

May 28 00:17:03 localhost named[19950]: command channel listening on ::1#953

May 28 00:17:03 localhost named[19950]: zone 0.0.127.in-addr.arpa/IN: loaded
serial 2001042600

May 28 00:17:03 localhost named[19950]: zone 4.168.192.in-addr.arpa/IN:
loaded serial 2001042600

May 28 00:17:04 localhost named[19950]: zone
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int/IN: loaded serial 2001042600

May 28 00:17:04 localhost named[19950]: zone
3.0.0.0.0.0.0.0.0.3.2.0.1.0.0.2.ip6.int/IN: loaded serial 2001042600

May 28 00:17:04 localhost named[19950]: zone testdns.co.kr/IN: loaded serial
2001042600

May 28 00:17:04 localhost named[19950]: zone v6.testdns.co.kr/IN: loaded
serial 2001042600

May 28 00:17:04 localhost named[19950]: zone localhost/IN: loaded serial
2002092201

May 28 00:17:04 localhost named[19950]: running



++++++++++++++++++++++++++++++++++++++++++



dig test



[root@localhost namedb]# dig v6.testdns.co.kr AAAA



; <<>> DiG 9.2.1 <<>> v6.testdns.co.kr AAAA

;; global options: printcmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64269

;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0



;; QUESTION SECTION:

;v6.testdns.co.kr. IN AAAA



;; AUTHORITY SECTION:

v6.testdns.co.kr. 3600 IN SOA ns.testdns.co.kr.
root.testdns.co.kr. 2001042600 30800 3600 604800 132000



;; Query time: 1 msec

;; SERVER: 2001:230:0:3::3#53(2001:230:0:3::3)

;; WHEN: Wed May 28 00:26:30 2003

;; MSG SIZE rcvd: 78



[root@localhost namedb]# dig -x 2001:230:0:3::3



; <<>> DiG 9.2.1 <<>> -x 2001:230:0:3::3

;; global options: printcmd

;; connection timed out; no servers could be reached

[root@localhost namedb]# dig -x ::1



; <<>> DiG 9.2.1 <<>> -x ::1

;; global options: printcmd

;; connection timed out; no servers could be reached



+++++++++++++++++++++++++++++++++++++++++++++



[root@localhost namedb]# nslookup v6.testdns.co.kr

Note: nslookup is deprecated and may be removed from future releases.

Consider using the `dig' or `host' programs instead. Run nslookup with

the `-sil[ent]' option to prevent this message from appearing.

Server: 2001:230:0:3::3

Address: 2001:230:0:3::3#53



*** Can't find v6.testdns.co.kr: No answer



+++++++++++++++++++++++++++++++++++++++++++++




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise