Quote:
Originally Posted by Bill Brock You may need to setup a forwarder, that being your external DNS server, on the Zimbra DNS server for it to resolve properly to the outside. If it doesn't find the DNS info locally it will querry the forwarder you have setup. That meaning it will always find the Internal IP's because the zone file resides locally. Any other reslolution, such as other mail servers, will be resolved through the forwarder. |
ok the thing would be this way
*******
BIND on the firewall / gateway ******************
$TTL 3600
domain.cl. IN SOA ns1.domain.cl. admin.domain.cl. (
2009210216 ; Serial
1H ; Refresh
2H ; Retry
4W ; Expire
2D ) ; Negative Cache TTL
;
IN NS ns1.domain.cl.
IN A 100.100.100.100
IN MX 10 mail
ns1 IN A 100.100.100.100
ns2 IN A 100.100.100.100
mail IN A 100.100.100.100
www IN A 100.100.100.100
ftp IN A 100.100.100.100
named.conf
zone "domain.cl" IN {
type master;
file "/etc/bind/db.domain";
allow-transfer { 111.111.111.111; };
};
zone "100.100.100.in-addr.arpa" {
type master;
file "/etc/bind/db.100";
allow-transfer { 111.111.111.111; };
};
include "/etc/bind/named.conf.local";
with 100.100.100.100 my public ip , 111.111.111.111 isp dns
/etc/resolv.conf
nameserver 100.100.100.100 (my public ip dns)
nameserver 1.1.1.1 (the zimbra dns who resolve locally)
nameserver 111.111.111.111 (my isp dns)
named.conf.options
options {
directory "/var/cache/bind";
query-source address * port 53;
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
forwarders {
111.111.111.111; 100.100.100.100; 1.1.1.1;
};
auth-nxdomain yes;
allow-query { any; };
listen-on-v6 { any; };
};
************
BIND IN THE ZIMBRA HOST *******************
$TTL 3600
domain.cl. IN SOA ns1.domain.cl. admin.domain.cl. (
2009210216 ; Serial
1H ; Refresh
2H ; Retry
4W ; Expire
2D ) ; Negative Cache TTL
;
IN NS ns1.domain.cl.
IN A 1.1.1.1
IN MX 10 mail
ns1 IN A 1.1.1.1
ns2 IN A 1.1.1.1
mail IN A 1.1.1.1
www IN A 1.1.1.1
ftp IN A 1.1.1.1
named.conf
zone "domain.cl" IN {
type master;
file "/etc/bind/db.domain";
allow-transfer { 100.100.100.100; };
};
zone "1.1.1.in-addr.arpa" {
type master;
file "/etc/bind/db.1";
allow-transfer { 100.100.100.100; };
};
include "/etc/bind/named.conf.local";
with 100.100.100.100 my public ip , 111.111.111.111 isp dns , 1.1.1.1 zimbra host
/etc/resolv.conf
nameserver 1.1.1.1 (my zimbra dns)
nameserver 100.100.100.100 (my public dns)
nameserver 111.111.111.111 (my isp dns)
named.conf.options
options {
directory "/var/cache/bind";
query-source address * port 53;
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
forwarders {
100.100.100.100; 1.1.1.1; 111.111.111.111;
};
auth-nxdomain yes;
allow-query { any; };
listen-on-v6 { any; };
};
is that correct? sorry for the long reply
