I’ve modified DNS configuration on my domain provider ( OVH ).
I made mistake : I first create a host with a name « mail » before changing it to the name of my zimbra server.

So the final DNS configuration is the following :
[CODE].mydomain.fr NS ns105.ovh.net
.mydomain.fr NS dns105.ovh.net
.mydomain.fr MX 10 myserver.mydomain.fr
.mydomain.fr A EXTERNAL.IP.OF.MYROUTER
www.mydomain.fr A EXTERNAL.IP.OF.MYROUTER
myserver.mydomain.fr A EXTERNAL.IP.OF.MYROUTER[/CODE]

I’ve configure my router to do NAT on port 25 to the local ip address of my zimbra server

Two things that are wrong :
This DNS server is still using my old hostname « mail » instead of « myserver » … I think I have to wait for world wide DNS replication.
The local machine is not using my local DNSMasq … may be because of the resolv.conf file. That have to be fix through the DHCP server.

——

Today, I’ve changed the network configuration to static IP on the server.
I’ve also tested the dig command. External DNS now give the correct host name.
But the internal DNS is not answering.
I check the /etc/resolv.conf. the file contain the necessary information.
I check the status of dnsmasq :
[CODE]
[myuser@myserver ~]$ sudo /etc/init.d/dnsmasq status
[sudo] password for myuser:
dnsmasq is stopped
[/CODE]
Ok, dnsmask is not starting at boot … I have to fix that