the server only have the public ip 200.42.X.Y configurated on
/etc/network/interfaces
IT'S NOT BEHIND A ROUTER/NAT, it's directly conected to my isp provider's router.
this is my complete conf
/etc/hostname
/etc/hosts
Code:
127.0.0.1 localhost.localdomain localhost
200.42.X.Y correo.example.cl correo
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
/etc/resolv.conf
Code:
nameserver ISP DNS1
nameserver ISP DNS2
named.conf.local
Code:
//
// 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 "example.cl" {
type master;
file "/etc/bind/db.example.cl";
allow-query { any; };
}; named.conf.options
Code:
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you might need to uncomment the query-source
// directive below. Previous versions of BIND always asked
// questions using port 53, but BIND 8.1 and later use an unprivileged
// port by default.
// 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 {
ISP DNS1;
ISP DNS2;
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
}; /etc/bind/db.example.cl
Code:
;
; archivo BIND para zona example.cl
;
$TTL 604800
@ IN SOA ns1.example.cl. hostmaster.example.cl. (
1 ; Serial
86400 ; Refresh
7200 ; Retry
1209600 ; Expire
10800 ) ; Negative Cache TTL
example.cl. IN NS ns1.example.cl.
example.cl. IN MX 0 correo.example.cl.
localhost IN A 127.0.0.1
example.cl. IN A 200.42.X.Y
www IN A 200.42.X.Y
ns1 IN A 200.42.X.Y
correo IN A 200.42.X.Y
THANKS AGAIN