You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement libdnstest and fix related issues (CAA, MX, SVCB, trailing dot preservation) (#29)
- Add proper libdnstest implementation with full test coverage
- Fix CAA record handling with proper flags pointer for zero values
- Fix MX record preference field handling (use root-level Priority)
- Fix SVCB/HTTPS record support with structured data fields
- Fix trailing dot handling across CNAME, NS, MX, SRV targets
- Improve SRV record parsing using libdns built-in parser
- Add comprehensive test suite for all record types
- Document Cloudflare API quirks and workarounds
This directory contains provider-specific tests for the Cloudflare libdns provider using the official [libdnstest package](https://github.com/libdns/libdns/tree/master/libdnstest). These tests verify the provider implementation against the real Cloudflare API, ensuring all libdns interface methods work correctly with actual DNS operations.
4
+
5
+
## How To Run
6
+
7
+
1.**Get API Token and setup zone**: See main README for token setup instructions. Test will use single or dual token depending on env variables. Setup some test Cloudflare zone.
8
+
9
+
2.**Set Environment Variables**:
10
+
```bash
11
+
export CLOUDFLARE_API_TOKEN="your-token-here"
12
+
export CLOUDFLARE_TEST_ZONE="example.org."# Include trailing dot
13
+
```
14
+
15
+
Or copy `.env.example` to `.env` and fill in values.
0 commit comments