HI!
Im trying to figure out a conf for named (bind v9) to translate addreses
depending from what network he is asked (internal, external).
I googled it and done some changes:

/var/lib/named/etc/named.conf
options {
directory "/";
pid-file "named.pid";
auth-nxdomain yes;
datasize default;
};
acl internals {
192.168.1.0/24;
};

view "internal" {
match-clients { internals; };
recursion yes;
zone "moja.domena.com.pl" {
type master;
file "M/moja.domena.com.pl.zone_internal";
};
zone "localhost" IN {
type master;
file "M/localhost.zone";
allow-update { none; };
allow-transfer { any; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "M/127.0.0.zone";
allow-update { none; };
allow-transfer { any; };
};

zone "." IN {
type hint;
file "root.hint";
};

};

view "external" {
match-clients { any; };
recursion no;
zone "moja.domena.com.pl" {
type master;
file "M/moja.domena.com.pl.zone_external";
allow-transfer { slaves; };
};
zone "localhost" IN {
type master;
file "M/localhost.zone";
allow-update { none; };
allow-transfer { any; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "M/127.0.0.zone";
allow-update { none; };
allow-transfer { any; };
};

zone "." IN {
type hint;
file "root.hint";
};

};

logging {
channel xfer-log {
file "named.log";
print-category yes;
print-severity yes;
print-time yes;
severity info;
};
category xfer-in { xfer-log; };
category xfer-out { xfer-log; };
category notify { xfer-log; };
category parser { xfer-log; };
};

M/moja.domena.com.pl.zone_internal:
@ 1H IN SOA moja.domena.com.pl. mojmail.domena.pl. (
2006090801
6H
2H
2W
2D )
;---------------------------------------------------
boss 86400 IN A 192.168.1.101


M/moja.domena.com.pl.zone_external: same as my previous working conf
(standard conf same answers for int, ext)

after restarting named i see:
May 9 15:41:11 mailer named[425]: loading configuration: not found
May 9 15:41:11 mailer named[425]: exiting (due to fatal error)


And thats pretty much it...
Any suggestions?
Any ideas?

Grzegorz Lewandowski