Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create whitelabel DNS entries via the API #174

Closed
thinkingserious opened this issue Oct 16, 2017 · 6 comments
Closed

Create whitelabel DNS entries via the API #174

thinkingserious opened this issue Oct 16, 2017 · 6 comments
Labels
difficulty: hard fix is hard in difficulty status: work in progress Twilio or the community is in the process of implementing type: twilio enhancement feature request on Twilio's roadmap

Comments

@thinkingserious
Copy link
Contributor

thinkingserious commented Oct 16, 2017

The SendGrid API allows you to do almost everything that the UI can do, including building your whitelabels (sender authentication) into your account. This requires a domain you can create subdomains on and some creativity to decide what to call the subdomains.

We have 3 kinds of whitelabeling: domain(aka domain authentication), link (aka link rebranding), and ip (reverse DNS).

Link Rebranding allows all the links in your emails to be rewritten to look like your domain.

Reverse DNS links a sending IP address to your mail sends, helping you build email reputation.

Domain Authentication (the most basic whitelabel) allows you to send emails from your domain.

Each of these are very similar and take similar inputs.

Create a helper that allows a user to input the most basic data and return the DNS entries they need to enter at their domain provider (registrar).

Please also add an option to "email the DNS entries to: " which will, upon running this method, send the list of entries to a specific email address.

This will allow developers to email their ops team, without having to do any copy/pasta from their logs or code outputs.

The example use case for this is when creating a new subuser, customers will often create a whitelabel for each subuser. This is helpful when sending different types of email from different subusers (SendGrid suggests sending marketing type emails on a different domain than transactional emails, for example).

@thinkingserious thinkingserious added difficulty: hard fix is hard in difficulty hacktoberfest labels Oct 16, 2017
@thinkingserious thinkingserious added status: help wanted requesting help from the community up-for-grabs type: twilio enhancement feature request on Twilio's roadmap labels Mar 6, 2018
@frederikcreemers
Copy link

I'd like to take a crack at this this weekend.

@thinkingserious thinkingserious added hacktoberfest status: work in progress Twilio or the community is in the process of implementing and removed help wanted status: help wanted requesting help from the community labels Oct 5, 2018
@thinkingserious
Copy link
Contributor Author

Thank you @bigblind, it's all yours!

@frederikcreemers
Copy link

Hi, @thinkingserious. I've started work on this, and submitted a WIP PR. If you have some time, I'd love to get some early feedback to see if this is what you had in mind.

@frederikcreemers
Copy link

One question about this: how do the boolean custom_spf field, and the ips field interact on /whitelabel/domains? I'm not really familiar with SPF, so I'm wondering if the ips field only makes sense if custom_spf is true, and if custom_spf can be true without setting specific ip addresses.

@robertacosta
Copy link

robertacosta commented Oct 30, 2018

Hi @bigblind , I've updated the original ask. Since that ticket was created we have renamed "whitelabel" to "sender authentication". Would you mind updating your PR? The endpoints themselves stayed "whitelabel" but the feature changed names. Perhaps update the package name?

@thinkingserious
Copy link
Contributor Author

Since there has been no activity on this issue since March 1, 2020, we are closing this issue. Please feel free to reopen or create a new issue if you still require assistance. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: hard fix is hard in difficulty status: work in progress Twilio or the community is in the process of implementing type: twilio enhancement feature request on Twilio's roadmap
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants