Abstractions.Integrations.Domeneshop 1.0.4

Domene.shop DNS hosting client

This package contains a client for the Domeneshop Api

use this package if in environment without depdendency injection, such as a console application. Otherwise, prefer the AspNetCore package instead.

// instatiate options holding your client id and secret 
var options = new DomeneshopOptions 
{ 
	ClientId = "<your domeneshop client id>",
	ClientSecret = "<your domeneshop client secret>"
};

// create the client, be sure to dispose it after
using var client = new DomeneshopClient(options);

// do something with the client
var domains = await client.GetDomainsAsync();
var record  = new DnsRecord
{
	Type = DnsRecordType.A,
	Host = "localhost",
	Value = "127.0.0.1"
};

await client.EnsureDnsRecordAsync(domains[0].Id, record);

No packages depend on Abstractions.Integrations.Domeneshop.

Version Downloads Last updated
1.0.5 0 11/13/2024
1.0.4 1 6/11/2025
1.0.2 0 2/3/2022