в итоге файл зоны у меня получился такой:
[code]$TTL 3600
$ORIGIN ru.
test.domain IN SOA ns.test.domain.ru. root.ns.test.domain.ru. (
2005122201 ; Serial
3600 ; Refresh
600 ; Retry
604800 ; Expire
3600 ) ; Minimum
IN NS ns.domain.ru.
IN MX 10 ns.test.domain.ru.
test.domain.ru IN A 10.20.30.40
$ORIGIN test.domain.ru.
ns.domain.ru. IN A 1.2.3.4
IN MX ns.domain.ru.
mail IN CNAME test.domain.ru.
pop3 IN CNAME test.domain.ru.
smtp IN CNAME test.domain.ru.
www IN CNAME test.domain.ru.[/code]
ping test.domain.ru
ping: unknown host test.domain.ru
# dig test.domain.ru
; <<>> DiG 9.2.3 <<>> test.domain.ru
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 41772
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;test.domain.ru. IN A
;; Query time: 2 msec
;; SERVER: 1.2.3.4#53(1.2.3.4)
;; WHEN: Sat Dec 24 05:44:54 2005
;; MSG SIZE rcvd: 43
nslookup test.domain.ru
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: 1.2.3.4
Address: 1.2.3.4#53
** server can't find test.domain.ru: SERVFAIL
т.е. что-то уже есть, но всетпеки не работает =((