Suggested DNS records showing IP4 twice. Why?

below is an example of Virtualmin>Server Configuration> Suggested DNS Records IN A IN A IN A IN A IN A IN A IN A IN A IN MX 5 IN TXT “v=spf1 a mx ip4: ip4: ?all”

  1. why is it showing the IP4 address twice?

  2. also, why is MXrecord value “” being suggested when there is no mail server on the system with this hostname? The webmin host doesnt even use that name (its one of the clients/virtual servers…these are not real servers), so why is this being suggested in Virtualmin? Shouldnt virtualmin be using the actual system hostname.fqdn when suggesting dns records?

I think there must be a bug that’s causing the SPF record to show the ip4 address twice. is an alias that is automatically added when you enable mail for a domain (I think).

But where is that alias actually stored on system? I don’t see it anywhere (maybe I am looking in wrong place)

Also, for postfix, does an alias even work as a sender when it’s not a real domain?

I think Postfix accepts mail for all sub domains for a domain (with mail enabled). Suggesting as a DNS record might just be something that’s become the norm - you could test it by making it as a test and see if mail inbound & outbound works - I suspect it will.

Postfix uses entries in /etc/Postfix/virtual (which is subsequently hashed) to work out what domains to receive mail for.



Hi Dibs,

Out of point. I am not using Postfix