0

I was using different server for my website and mail server VPS (Zimbra) and later we decided to move the website to mail server VPS because paying for 2 different server was not making any sense. Following hostinger configuration I was able configure my server to connect to my domain and display my landing page but my mail server does not work anymore, when I try to access webmail.example.com it gives "DNS_PROBE_FINISHED_NXDOMAIN" error.

Server conf:

OS: Ubuntu
Bind: Bind9
Using Nginx.

Here is the configuration of my zone file

/etc/bind/zones/example.com

;
; BIND data file for example.com
;
$TTL    3h
@       IN      SOA     ns1.example.com. admin.example.com. (
                          1        ; Serial
                          3h       ; Refresh after 3 hours
                          1h       ; Retry after 1 hour
                          1w       ; Expire after 1 week
                          1h )     ; Negative caching TTL of 1 day
;
@       IN      NS      ns1.example.com.
@       IN      NS      ns2.example.com.
example.com.    IN      MX      10      webmail.example.com.
example.com.    IN      A       141.136.36.123
ns1                     IN      A       141.136.36.123
ns2                     IN      A       141.136.36.123
www                     IN      CNAME   example.com.
mail                    IN      A       141.136.36.123
ftp                     IN      CNAME   example.com.

/etc/bind/named.conf.local

zone "example.com" {
       type master;
       file "/etc/bind/zones/example.com";
};

/etc/bind/named.conf.options

forwarders {
            8.8.4.4;
       };

What more configuration should I be doing, any help will be appreciated.

Syed
  • 101
  • 2

0 Answers0