Skip to content

jadi saya ada memutuskan merubah dns lokal untuk zimbra mail server saya dari dnsmasq dan zimbra dnscache menjadi menggunakan bind9 , bind9 sudah berhasil di install dan bekerja dengan baik saya insyaallah akan post juga langkah nya di web ini nnti

berikut langkah untuk me remove atau uninstall zimbra dnscache

zimbra@mail:~$ zmcontrol status
Host mail.assyifa.ac.id
        amavis                  Running
        antispam                Running
        antivirus               Running
        dnscache                Stopped
                dnscache is not running.
        ldap                    Running
        logger                  Running
        mailbox                 Running
        memcached               Running
        mta                     Running
        opendkim                Running
        proxy                   Running
        service webapp          Running
        snmp                    Running
        spell                   Running
        stats                   Running
        zimbra webapp           Running
        zimbraAdmin webapp      Running
        zimlet webapp           Running
        zmconfigd               Running
zimbra@mail:~$ ping google.com
PING google.com (216.239.38.120) 56(84) bytes of data.
64 bytes from any-in-2678.1e100.net (216.239.38.120): icmp_seq=1 ttl=114 time=19.6 ms
64 bytes from any-in-2678.1e100.net (216.239.38.120): icmp_seq=2 ttl=114 time=18.0 ms
^C
--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 3131ms
rtt min/avg/max/mdev = 17.979/18.765/19.552/0.786 ms
zimbra@mail:~$ ping detik.com
PING detik.com (203.190.242.211) 56(84) bytes of data.
64 bytes from s2-211-242.190.203.detik.com (203.190.242.211): icmp_seq=1 ttl=58 time=7.85 ms
64 bytes from s2-211-242.190.203.detik.com (203.190.242.211): icmp_seq=2 ttl=58 time=5.36 ms
64 bytes from s2-211-242.190.203.detik.com (203.190.242.211): icmp_seq=3 ttl=58 time=5.52 ms
^C
--- detik.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 4284ms
rtt min/avg/max/mdev = 5.364/6.244/7.847/1.134 ms
zimbra@mail:~$ htop
zimbra@mail:~$ zmdnscachectl stop
dnscache not running
zimbra@mail:~$ zmprov ms `zmhostname` -zimbraServiceEnabled dnscache
zimbra@mail:~$ zmprov ms `zmhostname` -zimbraServiceInstalled dnscache
zimbra@mail:~$ exit
logout
root@mail:~# apt-get remove zimbra-dnscache zimbra-dnscache-components zimbra-dnscache-base
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  zimbra-dnscache zimbra-dnscache-base zimbra-dnscache-components zimbra-unbound zimbra-unbound-lib
0 upgraded, 0 newly installed, 5 to remove and 56 not upgraded.
After this operation, 4,966 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 142574 files and directories currently installed.)
Removing zimbra-dnscache (9.0.0.ZEXTRAS.20231104.UBUNTU20.64) ...
Removing zimbra-dnscache-components (1.0.5-1zimbra8.7b1.20.04) ...
Removing zimbra-unbound (1.17.1-1zimbra8.8b1.20.04) ...
Removing zimbra-unbound-lib:amd64 (1.17.1-1zimbra8.8b1.20.04) ...
Removing zimbra-dnscache-base (1.0.0-1zimbra8.7b1.20.04) ...
Processing triggers for libc-bin (2.31-0ubuntu9.17) ...
root@mail:~# su - zimbra
zimbra@mail:~$ zmcontrol restart
Host mail.assyifa.ac.id
        Stopping zmconfigd...Done.
        Stopping zimlet webapp...Done.
        Stopping zimbraAdmin webapp...Done.
        Stopping zimbra webapp...Done.
        Stopping service webapp...Done.
        Stopping stats...Done.
        Stopping mta...Done.
        Stopping spell...Done.
        Stopping snmp...Done.
        Stopping cbpolicyd...Done.
        Stopping archiving...Done.
        Stopping opendkim...Done.
        Stopping amavis...Done.
        Stopping antivirus...Done.
        Stopping antispam...Done.
        Stopping proxy...Done.
        Stopping memcached...Done.
        Stopping mailbox...Done.
        Stopping logger...Done.
        Stopping dnscache...Done.
        Stopping ldap...Done.
Host mail.assyifa.ac.id
        Starting ldap...Done.
        Starting zmconfigd...Done.
        Starting logger...Done.
        Starting mailbox...Done.
        Starting memcached...Done.
        Starting proxy...Done.
        Starting amavis...Done.
        Starting antispam...Done.
        Starting antivirus...Done.
        Starting opendkim...Done.
        Starting snmp...Done.
        Starting spell...Done.
        Starting mta...Done.
        Starting stats...Done.
        Starting service webapp...Done.
        Starting zimbra webapp...Done.
        Starting zimbraAdmin webapp...Done.
        Starting zimlet webapp...Done.
zimbra@mail:~$

di atas saya cek zimbra dns cache tidak running kemudian saya test dns masih bisa jalan di handle oleh bind9 baru kemudian ke langkah uninstall zimbra-dnscache

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

Remove zimbra DNScache dari zimbra mail server yang sudah berjalan