Suggested DNS records showing IP4 twice. Why?

5 posts / 0 new
Last post
#1 Sat, 12/21/2019 - 02:27

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?

Sat, 12/21/2019 - 09:43

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).

Sat, 12/21/2019 - 15:13

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?

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

Sun, 12/22/2019 - 17:25

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.



Sun, 12/22/2019 - 18:26

Hi Dibs,

Out of point. I am not using Postfix

Thanks nic

Topic locked