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

add MX record #77

Open
jots opened this issue Mar 26, 2024 · 3 comments
Open

add MX record #77

jots opened this issue Mar 26, 2024 · 3 comments

Comments

@jots
Copy link

jots commented Mar 26, 2024

How do we use this to add an MX record? I don't see a spot for priority.
I tried zone.dns_records.create('MX', "", "mail.example.com.") but it threw and error.

@ioquatix
Copy link
Member

Can you check the API documentation? It will help us identify what we need to do to fix your issue.

@9mm
Copy link

9mm commented Sep 17, 2024

im assuming it goes in the settings field

image

@ioquatix
Copy link
Member

I added support for **options in the latest release:

def update_content(content, **options)
self.class.put(@resource, {
type: self.type,
name: self.name,
content: content,
**options

So you may be able to write update_content(..., settings: ...) and it will probably just work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants