ParsPack for libdns
This package implements the libdns interfaces for ParsPack, allowing you to manage DNS records.
- You need to a zone (domain) in your ParsPack panel.
- Go to CDN Sections and you can see the button for creating a new token.
- Create a new API token with the following scopes:
- لیست سرویسها
- لیست رکوردهای DNS
- ایجاد رکورد DNS
- آپدیت رکورد DNS
- حذف رکورد DNS
p := parspack.Provider{
APIToken: "your-apitoken-here",
}
