#Can't create DKIM Records

1 messages · Page 1 of 1 (latest)

winter zodiac
#

Hi guys, I'm using ovh OVH mail service, but i use cloudflare's DNS servers. So, i'm trying to create a DKIM and SPF record but cloudflare gives me an error:
"cannot create a non-glue record that is beneath a delegated child zone."

Can someone help me?

spark lodge
#

Thanks for creating your own post.

You're most likely getting that error because you already have NS Records created within Cloudflare that cover that subdomain. Did you create some by accident, or just forget to delete them?

#

ex. If you're trying to create a record a txt record on mail.example.com, and there is NS Records for mail.example.com, that's why. You need to delete the NS records first, or create these records at the nameserver you've delegated the subdomain to

winter zodiac
#

when i created my cloudflare website, it created a lot of records like these (from the 5th)

winter zodiac
spark lodge
#

ahh interesting, it tries to autodiscover existing DNS Records and it looks like it got a bit confused by your old DNS

#

Delete all of the NS Records pointing at parkingx.ovh.net
Once you delete those, you should have no issue creating the DNS Records you want

winter zodiac
#

using Sendgrid

#

about SPF, is that right?

spark lodge
#

If you're using sendgrid and you want to send mail from your domain, you're missing an include: part of it. That would block all email from your domain

winter zodiac
#

So, what can i do?

spark lodge
#

looks like for Sendgrid, you would want v=spf1 include:sendgrid.net -all, I would follow the steps in sendgrid it they give any

winter zodiac
#

So, ok?

#

in this way DKIM and SPF are set fine?

#

these settings will fix this problem?
This is the mail system at host mo559.mail-out.ovh.net.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

               The mail system

[email protected]: host gmail-smtp-in.l.google.com[142.250.13.27] said:
550-5.7.26 This mail is unauthenticated, which poses a security risk to the
550-5.7.26 sender and Gmail users, and has been blocked. The sender must
550-5.7.26 authenticate with at least one of SPF or DKIM. For this message,
550-5.7.26 DKIM checks did not pass and SPF check for [savagerealms.it] did
not 550-5.7.26 pass with ip: [178.32.114.3]. The sender should visit
550-5.7.26 https://support.google.com/mail/answer/81126#authentication for
550 5.7.26 instructions on setting up authentication.
g7-20020a5d46c7000000b0030ad47e4b68si980056wrs.591 - gsmtp (in reply to end
of DATA command)

spark lodge
#

Looks ok. That's the sending side set

spark lodge
#

If so, unless OVH uses Sendgrid, you'd have to whitelist their own outgoing stuff

winter zodiac
#

I'm using a web host of OVH with MX plan... but i use cloudflare as shield

spark lodge
#

That's an OVH question, depends on their setup. I would look at your old OVH DNS for the SPF & DKIM records they created for you

winter zodiac
#

wait

spark lodge
#

It may be worth mentioning: CF tries to autodiscover your old records and import them, but it's just an attempt. It's worth double checking all of the records you had at OVH and making sure CF imported them all right as well

winter zodiac
spark lodge
#

add include:mx.ovh.com next to your existing include rule in your existing spf record @ cloudflare

winter zodiac
#

and sendgrid?

spark lodge
#

yea, you can have them both like v=spf1 include:sendgrid.net include:mx.ovh.com -all

winter zodiac
#

and what about DKIM?

#

Now the mail has not the "insecure message" title

spark lodge
#

I'd wager that's what the autoconfig and autodiscover records where for, but it also might not be enabled by default

winter zodiac
#

and the image is not an interrogative symbol

spark lodge
#

click on the three dots on the far right side, and then click "Show original"

#

check for DKIM pass

winter zodiac
spark lodge
#

looks like OVH doesn't have DKIM, or it's not enabled by default

winter zodiac
#

so, what can i do?

#

D:

#

if it's possible

spark lodge
#

That's a question for OVH

winter zodiac
#

oh...

#

ok

spark lodge
#

I would explore their admin panel/help desk/support/etc about that

winter zodiac
#

wait

spark lodge
#

It looks like they are not signing the messages with DKIM at all

winter zodiac
#

can u help me reading this?

spark lodge
#

I don't speak Italian

winter zodiac
#

in english wait

spark lodge
#

That looks like very generic email advice though, you need something specific to their email service

winter zodiac
#

in english

#

but these are options for ovh dns zone

#

and not for cs DNS zone

#

IDK

spark lodge
#

You need a guide/information on how you would turn on DKIM for their email service. They need to generate the keys, and start signing email with them, and you add the required dns records.
That is just a generic guide on the various steps you might do (spf, dkim, dmarc, reverse ips)

winter zodiac
#

ok

#

Thank you @spark lodge