Simple API client for DnsServer.
using DnsServerAPI;
const string ADDRESS = "http://localhost:5380";
const string USER = "admin";
const string PASS = "admin";
string token = await Auth.GetLoginToken(ADDRESS, USER, PASS);
Api api = new(ADDRESS, token);
See /src/Examples for example programs and in-depth usage.
- List zones
- List zone records
- Add zone
- Delete zone
- Add record
- Delete record
- Resolve to JSON string