dnscontrol icon indicating copy to clipboard operation
dnscontrol copied to clipboard

Support more than one label on SPF_BUILDER

Open virtualroot opened this issue 6 years ago • 3 comments

This might be very handy

    SPF_BUILDER({
      labels: ['dev', 'production', 'staging'],
        parts: [
            'v=spf1',
            'include:mailgun.org',
            'include:spf.mailjet.com',
            '-all'
        ]
    }),

virtualroot avatar Dec 20 '18 10:12 virtualroot

How would this work? Would they all point to the same "overflow" records?

tlimoncelli avatar Dec 20 '18 14:12 tlimoncelli

I thought a simple iteration over label would be enough, but I found out that overflow, if defined, only works for @ label.

I think after the first SPF record all of them should include the same "overflow" records.

virtualroot avatar Jan 02 '19 13:01 virtualroot

CC: @captncraig

tlimoncelli avatar Jan 02 '19 13:01 tlimoncelli

This is stale. I'm closing this. Please re-open if needed. Thanks!

tlimoncelli avatar Dec 14 '23 19:12 tlimoncelli