Hello,

I have got two domains: exapmple-domain.com and shop.example-domain.com.

configuration files:
named.conf:
zone "exapmple-domain.com" IN {
type master;
file "exapmple-domain.com.zone";
allow-update { none; };
};

zone "shop.exapmple-domain.com" IN {
type master;
file "shop.exapmple-domain.com.zone";
allow-update { none; };
};

exapmple-domain.com.zone:
$TTL 86400
$ORIGIN exapmple-domain.com.
@ IN SOA dns1.example-domain.com mail1example-domain.com. (
2004100601
43200
3600
2419200
86400)
@ IN NS dns1
@ IN NS dns2
@ IN MX 5 mail
dns1 IN A 10.0.0.1
dns2 IN A 10.0.0.2
@ IN A 10.0.0.1
www IN A 10.0.0.1
mail IN A 10.0.0.1

shop.example-domain.com.zone:
$TTL 86400
$ORIGIN shop.example-domain.com.
@ IN SOA dns1.example-domain.com. mail1.example-domain.com (
2004100601
43200
3600
2419200
86400)
@ IN NS dns1.example-domain.com.
@ IN NS dns2.example-domain.com.
@ IN A 10.0.0.1
www IN A 10.0.0.1
@ IN MX 5 mail.example-domain.com.
example-domain.com. IN A 10.0.0.1

When i write using other dns:
host shop.example-domain.com
i have got:
Host shop.example-domain.com not found: 3(NXDOMAIN)

and dig command said:
$ dig shop.example-domain.com

; <<>> DiG 9.2.1 <<>> shop.example-domain.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 32014
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;shop.example-domain.com. IN A

;; AUTHORITY SECTION:
example-domain.com. 86400 IN SOA
dns1.example-domain.com mail1.example-domain.com. 2004100601 43200 3600
2419200 86400

;; Query time: 7 msec
;; SERVER: 62.233.128.17#53(62.233.128.17)
;; WHEN: Wed Oct 6 18:12:10 2004
;; MSG SIZE rcvd: 82

Whai did I do wrong?

regards
Marcin