Mail Server w/o DDNS

ASUSTOR’s Mail Server offers a comprehensive and cost-effective solution that allows any business to easily maintain their own dedicated mail server.
Post Reply
speedy
Posts: 3
youtube meble na wymiar Warszawa
Joined: Fri May 15, 2020 9:08 pm

Mail Server w/o DDNS

Post by speedy »

Hi all,

is there any possibility to run the mail server in a local area network configuration w/o using a DDNS address and exposing the NAS to the internet?

I followed the official howtos:
https://support.asustor.com/index.php?/ ... sustor-nas
https://www.asustor.com/online/College_topic?topic=269
but using the LAN IP address instead of the DDNS address didn't work out.

Thank you very much for your reply!

Best
speedy

PS: happy 2022!
rgmhtt
Posts: 5
Joined: Mon Feb 21, 2022 11:36 pm

Re: Mail Server w/o DDNS

Post by rgmhtt »

You have to have a Fully Qualified Domain Name (FQDN) for your server. That is either via DNS or old fashion /etc/hosts. These days, playing with the hosts file (just had to do it on a Win10 system, yuck) is hard and I don't know how you would do it on the Asustor itself.

So you need an internal DNS. You need some other box, acting as a server, running some DNS code. Not hard to put up a Linux server for this.

Mail just does not work on IP addresses (thought supported in SMTP standard). You have to have DNS. DDNS is just one way to deal with it. I have always run my own DNS servers.
rgmhtt
Posts: 5
Joined: Mon Feb 21, 2022 11:36 pm

Re: Mail Server w/o DDNS

Post by rgmhtt »

If you can SSH into your server and edit the /etc/hosts file, giving your NAS's IP address some name like me.home.net and then doing the same on your clients, you can get it to work. Think is sending mail outside of your LAN. Your NAS's attempt to connect to public mail servers will probably fail.
Post Reply

Return to “Mail Server”