dnsexit_manager

package module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2025 License: CC-BY-SA-4.0 Imports: 11 Imported by: 0

README

dnsexit-manager library

This is a part of my handmade DNS management project. It's a driver that's create ability to manage your DNSexit subdomains via API.

How it works?

This driver relies on dns-manager library which describes all drivers API you may use. The architecture is as simple as ABC: the drivers must implement all methods from dns-manager library to be compatible with it.

It means anyone else can extend this project by creating own driver for their DNS providers.

To-Do list

  • Better error handling
  • Docs for the project
  • Make an example of usage

Documentation

Index

Constants

View Source
const API_BASE_URL = "https://api.dnsexit.com/dns/"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DomainName string
	API_Key    string
	API_URL    string
}

func (Config) New

func (conf Config) New() (dns.Actions, error)

type RecordSet

type RecordSet struct {
	// contains filtered or unexported fields
}

func NewRecordSet

func NewRecordSet() *RecordSet

func (*RecordSet) Add

func (s *RecordSet) Add(record *dns.Record)

func (*RecordSet) Contains

func (s *RecordSet) Contains(record *dns.Record) bool

func (*RecordSet) List

func (s *RecordSet) List() *[]dns.Record

func (*RecordSet) Remove

func (s *RecordSet) Remove(record dns.Record)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL