V
V
VA2017-07-05 12:10:54
Domain Name System
VA, 2017-07-05 12:10:54

How to properly configure DNS records for a domain?

Hi all!
Tell me how to properly configure DNS records for the domain
Now in such a state as in the picture
e96cd7b239e04d72835e6e7083d169d6.jpg
In general, the problem is with the mail server, which is on 11.22.33.44 Check
details

dig +short TXT site.ru :
"v=spf1 include:mailgun.org ~all"
"globalsign-domain-verification= OwThizJ58OP"
"v=spf1 include:_spf.google.com ~all"
dig +short TXT @ns2.reg.ru. site.ru :
"globalsign-domain-verification= OwThizJ58OP"
"v=spf1 include:_spf.google.com ~all"
"v=spf1 include:mailgun.org ~all"
spfquery --scope mfrom --id [email protected] --ip 11.22.33.44 --helo-id ubuntu.site.ru :
permerror
site.ru: Redundant applicable 'v=spf1' sender policies found
site.ru: Redundant applicable 'v=spf1' sender policies found
Received-SPF: permerror (site.ru: Redundant applicable 'v=spf1' sender policies found) receiver=ns303428.ip-94-23-206.eu; identity=mailfrom; envelope-from="[email protected]"; helo=ubuntu.site.ru; client-ip=11.22.33.44

Which SPF record to remove? I so understood it is necessary to set a priority?
1. v=spf1 ip4:11.22.33.44 ~all
or
2. v=spf1 include:_spf.google.com ~all
and what to write in the "Subdomain" field?
And another MX record, what's in it? do I have a hostname, for example ubuntu.site.local, or should I enter the IP address there?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2017-07-05
@Ozymandis

The MX Record tells where mail to your domain should go.
Accordingly, the address should contain not @, but a mail server (its domain name is better, not the IP address).

V
Viktor Taran, 2017-07-05
@shambler81

v=spf1 ip4:11.22.33.44 include:_spf.google.com include:mailgun.org  +mx +a ~all

I read what happened, it’s allowed with IP ip4: 11.22.33.44 and enable all spf records of Google, and include all records of another service plus all IPs included in MX records plus all A records, all others are under suspicion.
Also don't forget that. v=spf1 ip4:11.22.33.44 ~all is registered for the mail domain and does not conflict with the previous spf.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question