A Go library implementing the Metaname API.
Create a client with NewMetanameClient, passing it your account reference and API key, then use it to call the needed functions.
client := NewMetanameClient(os.Getenv("ACCOUNT_REF"), os.Getenv("API_KEY"))
client.DeleteDnsRecord(ctx, "example.org", "1234")
These functions have been implemented:
- ResourceRecords for accounts where the API key was first created before 2023-07-11 will receive Aux values of 0 on MX and SRV records when calling DnsZone. If this affects you, you'll see a "Switch to the new DNS zone API" link on the Metaname settings page. To resolve this issue, read the information at the link and click the "Use the new API" button.