You are on page 1of 2

------------bind config options----------------

mashokk@mailsfly:~$ cat /etc/bind/named.conf.options


options {
directory "/var/cache/bind";

// If there is a firewall between you and nameservers you want


// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113

// 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 {
62.210.16.6;
62.210.16.7;
};

//========================================================================
// If BIND logs error messages about the root key being expired,
// you will need to update your keys. See https://www.isc.org/bind-keys
//========================================================================
dnssec-validation auto;

auth-nxdomain no; # conform to RFC1035


listen-on { 127.0.0.1; };
};

zone "mailsfly.assistute.com" {
type master;
file "db.assistute.com";
};

--------------------------
------------------------ zone file setting ----------------
mashokk@mailsfly:~$ cat /var/cache/bind/db.assistute.com
$ttl 38400
@ IN SOA mailsfly.assistute.com. mailsfly.assistute.com.(
201406271203
10800
3600
604800
38400 )

IN NS ns1.mailsfly.assistute.com.
IN NS ns2.mailsfly.assistute.com.
IN A 62.210.200.30
IN MX 10 mailsfly.assistute.com.

@ A 62.210.200.30
ns1 A 62.210.200.30
ns2 A 62.210.200.30
mailsfly A 62.210.200.30
--------------------------------------------
------------------------------------------interface settings-------------------
mashokk@mailsfly:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface


auto lo
iface lo inet loopback

# The primary network interface


auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 62.210.200.30
netmask 255.255.255.0
gateway 62.210.200.1
dns-nameservers 62.210.200.30 127.0.0.1 62.210.16.6 62.210.16.7
dns-search centerrack.com
---------------------------------------------------
host setting
===========
mashokk@mailsfly:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 greentreemailserver
62.210.200.30 mailsfly.assistute.com mailsfly

# The following lines are desirable for IPv6 capable hosts


::1 ip6-localhost ip6-loopback localhost
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

http://files2.zimbra.com/downloads/8.5.0_GA/zcs-
8.5.0_GA_3042.UBUNTU14_64.20140828191919.tgz

You might also like