슬레이브 dns 설정이 안됩니다

제가 이번에 BIND9으로 도메인 네임 서버를 슬레이브로 만들게 되었습니다.
그런데 제 부족한 실력과 아는 것만으로는 도저히 안되네요… :(

도메인은 abc.def.ghi이고 마스터 네임 서버의 IP는 123.456.789.012이며,
제가 받은 서브 도메인은 jkl.abc.def.ghi이고 슬레이브 네임 서버의 IP는 123.456.987.654이라고 하면…

/etc/bind/named.conf.local

[code:2jftor1q]//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "jkl.abc.def.ghi" {
type slave;
file "db.jkl.abc.def.ghi";
masters { 123.456.789.12; };
};
zone "987.456.123.in-addr.arpa" {
type slave;
file "db.123";
masters { 123.456.789.12; };
};[/code:2jftor1q]

/etc/bind/db.jkl.abc.def.ghi

[code:2jftor1q];
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns.jkl.abc.def.ghi. root.jkl.abc.def.ghi. (
2011110102 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.jkl.abc.def.ghi.
@ IN MX 10 mail.jkl.abc.def.ghi.
@ IN A 123.456.987.654
@ IN AAAA ::1
ns IN A 123.456.987.654
mail IN A 123.456.987.654
www IN A 123.456.987.654
abc IN A 123.456.987.655
IN A 123.456.987.654[/code:2jftor1q]

/etc/bind/db.123

[code:2jftor1q];
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA ns.jkl.abc.def.ghi. root.jkl.abc.def.ghi. (
2011110101 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.
654 IN PTR ns.jkl.abc.def.ghi.
654 IN PTR mail.jkl.abc.def.ghi.
654 IN PTR www.jkl.abc.def.ghi.
655 IN PTR abc.jkl.abc.def.ghi.
654 IN PTR jkl.abc.def.ghi.[/code:2jftor1q]

/etc/resolv.conf

[code:2jftor1q]search jkl.abc.def.ghi
nameserver 123.456.987.654[/code:2jftor1q]

/etc/hosts

[code:2jftor1q]123.456.987.654 ns.jkl.abc.def.ghi
127.0.0.1 localhost
123.456.987.654 servernickname

The following lines are desirable for IPv6 capable hosts

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters[/code:2jftor1q]

/etc/host.conf

[code:2jftor1q]multi on[/code:2jftor1q]

nslookup을 하면 다음과 같이 나옵니다.

[code:2jftor1q]> set debug
> jkl.abc.def.ghi
Server: 123.456.987.654
Address: 123.456.987.654#53


QUESTIONS:
jkl.abc.def.ghi, type = A, class = IN
ANSWERS:
AUTHORITY RECORDS:
ADDITIONAL RECORDS:

** server can’t find jkl.abc.def.ghi: SERVFAIL
Server: 123.456.987.654
Address: 123.456.987.654#53


QUESTIONS:
jkl.abc.def.ghi.jkl.abc.def.ghi, type = A, class = IN
ANSWERS:
AUTHORITY RECORDS:
ADDITIONAL RECORDS:

** server can’t find jkl.abc.def.ghi.jkl.abc.def.ghi: SERVFAIL
> 123.456.987.654
Server: 123.456.987.654
Address: 123.456.987.654#53


QUESTIONS:
654.987.456.123.in-addr.arpa, type = PTR, class = IN
ANSWERS:
AUTHORITY RECORDS:
ADDITIONAL RECORDS:

** server can’t find 654.987.456.123.in-addr.arpa: SERVFAIL
Server: 123.456.987.654
Address: 123.456.987.654#53


QUESTIONS:
654.987.456.123.in-addr.arpa, type = PTR, class = IN
ANSWERS:
AUTHORITY RECORDS:
ADDITIONAL RECORDS:

** server can’t find 654.987.456.123.in-addr.arpa: SERVFAIL
> [/code:2jftor1q]

dig -x 123.456.987.654

[code:2jftor1q]; <<>> DiG 9.7.3 <<>> jkl.abc.def.ghi
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 46202
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;jkl.abc.def.ghi. IN A

;; Query time: 0 msec
;; SERVER: 123.456.987.654#53(123.456.987.654)
;; WHEN: Wed Nov 2 12:14:12 2011
;; MSG SIZE rcvd: 32[/code:2jftor1q]

[code:2jftor1q]; <<>> DiG 9.7.3 <<>> -x 123.456.987.654
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 32847
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;654.987.456.123.in-addr.arpa. IN PTR

;; Query time: 0 msec
;; SERVER: 123.456.987.654#53(123.456.987.654)
;; WHEN: Wed Nov 2 12:16:17 2011
;; MSG SIZE rcvd: 46[/code:2jftor1q]

로그 일부입니다.

[code:2jftor1q]Nov 2 12:02:02 servernickname named[3252]: starting BIND 9.7.3 -u bind
Nov 2 12:02:02 servernickname named[3252]: built with ‘–prefix=/usr’ ‘–mandir=/usr/share/man’ ‘–infodir=/usr/share/info’ ‘–sysconfdir=/etc/bind’ ‘–localstatedir=/var’ ‘–enable-threads’ ‘–enable-largefile’ ‘–with-libtool’ ‘–enable-shared’ ‘–enable-static’ ‘–with-openssl=/usr’ ‘–with-gssapi=/usr’ ‘–with-gnu-ld’ ‘–with-dlz-postgres=no’ ‘–with-dlz-mysql=no’ ‘–with-dlz-bdb=yes’ ‘–with-dlz-filesystem=yes’ ‘–with-dlz-ldap=yes’ ‘–with-dlz-stub=yes’ ‘–with-geoip=/usr’ ‘–enable-ipv6’ ‘CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2’ ‘LDFLAGS=’ ‘CPPFLAGS=’
Nov 2 12:02:02 servernickname named[3252]: adjusted limit on open files from 1024 to 1048576
Nov 2 12:02:02 servernickname named[3252]: found 2 CPUs, using 2 worker threads
Nov 2 12:02:02 servernickname named[3252]: using up to 4096 sockets
Nov 2 12:02:02 servernickname named[3252]: loading configuration from ‘/etc/bind/named.conf’
Nov 2 12:02:02 servernickname named[3252]: reading built-in trusted keys from file ‘/etc/bind/bind.keys’
Nov 2 12:02:02 servernickname named[3252]: using default UDP/IPv4 port range: [1024, 65535]
Nov 2 12:02:02 servernickname named[3252]: using default UDP/IPv6 port range: [1024, 65535]
Nov 2 12:02:02 servernickname named[3252]: listening on IPv6 interfaces, port 53
Nov 2 12:02:02 servernickname named[3252]: listening on IPv4 interface lo, 127.0.0.1#53
Nov 2 12:02:02 servernickname named[3252]: listening on IPv4 interface eth0, 123.456.987.654#53
Nov 2 12:02:02 servernickname named[3252]: listening on IPv4 interface eth1, 165.194.104.191#53
Nov 2 12:02:02 servernickname named[3252]: generating session key for dynamic DNS
Nov 2 12:02:02 servernickname named[3252]: set up managed keys zone for view _default, file ‘managed-keys.bind’
Nov 2 12:02:02 servernickname named[3252]: automatic empty zone: 254.169.IN-ADDR.ARPA
Nov 2 12:02:02 servernickname named[3252]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
Nov 2 12:02:02 servernickname named[3252]: automatic empty zone: 100.51.198.IN-ADDR.ARPA
Nov 2 12:02:02 servernickname named[3252]: automatic empty zone: 113.0.203.IN-ADDR.ARPA
Nov 2 12:02:02 servernickname named[3252]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
Nov 2 12:02:02 servernickname named[3252]: automatic empty 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.0.IP6.ARPA
Nov 2 12:02:02 servernickname named[3252]: automatic empty zone: 1.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
Nov 2 12:02:02 servernickname named[3252]: automatic empty zone: D.F.IP6.ARPA
Nov 2 12:02:02 servernickname named[3252]: automatic empty zone: 8.E.F.IP6.ARPA
Nov 2 12:02:02 servernickname named[3252]: automatic empty zone: 9.E.F.IP6.ARPA
Nov 2 12:02:02 servernickname named[3252]: automatic empty zone: A.E.F.IP6.ARPA
Nov 2 12:02:02 servernickname named[3252]: automatic empty zone: B.E.F.IP6.ARPA
Nov 2 12:02:02 servernickname named[3252]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
Nov 2 12:02:02 servernickname named[3252]: command channel listening on 127.0.0.1#953
Nov 2 12:02:02 servernickname named[3252]: command channel listening on ::1#953
Nov 2 12:02:02 servernickname named[3252]: zone 0.in-addr.arpa/IN: loaded serial 1
Nov 2 12:02:02 servernickname named[3252]: zone 127.in-addr.arpa/IN: loaded serial 1
Nov 2 12:02:02 servernickname named[3252]: zone 255.in-addr.arpa/IN: loaded serial 2011110102
Nov 2 12:02:02 servernickname named[3252]: zone localhost/IN: loaded serial 2
Nov 2 12:02:02 servernickname named[3252]: managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file not found
Nov 2 12:02:02 servernickname named[3252]: managed-keys-zone ./IN: loaded serial 0
Nov 2 12:02:02 servernickname named[3252]: running
Nov 2 12:02:02 servernickname named[3252]: zone 987.456.123.in-addr.arpa/IN: refresh: unexpected rcode (NXDOMAIN) from master 123.456.789.012#53 (source 0.0.0.0#0)
Nov 2 12:02:02 servernickname named[3252]: zone jkl.abc.def.ghi/IN: refresh: non-authoritative answer from master 123.456.789.012#53 (source 0.0.0.0#0)
Nov 2 12:02:53 servernickname named[3252]: zone 987.456.123.in-addr.arpa/IN: refresh: unexpected rcode (NXDOMAIN) from master 123.456.789.012#53 (source 0.0.0.0#0)
Nov 2 12:02:58 servernickname named[3252]: zone jkl.abc.def.ghi/IN: refresh: non-authoritative answer from master 123.456.789.012#53 (source 0.0.0.0#0)
Nov 2 12:04:33 servernickname named[3252]: zone 987.456.123.in-addr.arpa/IN: refresh: unexpected rcode (NXDOMAIN) from master 123.456.789.012#53 (source 0.0.0.0#0)
Nov 2 12:04:57 servernickname named[3252]: zone jkl.abc.def.ghi/IN: refresh: non-authoritative answer from master 123.456.789.012#53 (source 0.0.0.0#0)
Nov 2 12:07:52 servernickname named[3252]: zone 987.456.123.in-addr.arpa/IN: refresh: unexpected rcode (NXDOMAIN) from master 123.456.789.012#53 (source 0.0.0.0#0)
Nov 2 12:08:23 servernickname named[3252]: zone jkl.abc.def.ghi/IN: refresh: non-authoritative answer from master 123.456.789.012#53 (source 0.0.0.0#0)
Nov 2 12:15:16 servernickname named[3252]: zone jkl.abc.def.ghi/IN: refresh: non-authoritative answer from master 123.456.789.012#53 (source 0.0.0.0#0)
Nov 2 12:15:23 servernickname named[3252]: zone 987.456.123.in-addr.arpa/IN: refresh: unexpected rcode (NXDOMAIN) from master 123.456.789.012#53 (source 0.0.0.0#0)
Nov 2 12:20:29 servernickname named[3252]: error (network unreachable) resolving ‘123.456.987.654/A/IN’: 2001:503:ba3e::2:30#53
[/code:2jftor1q]

어디가 잘못되었는지 가르쳐 주시면 감사하겠습니다.

해결했습니다.
파일 경로를 절대경로로 해 주니 잘 되네요. :?