socketry / cloudflare

An asynchronous Ruby wrapper for the CloudFlare V4 API.
138 stars 86 forks source link

add MX record #77

Open jots opened 4 months ago

jots commented 4 months ago

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 commented 4 months ago

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