Skip to content

libdns/neoserv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neoserv for libdns

Go Reference

This package implements the libdns interfaces for Neoserv, allowing you to manage DNS records.

Installation

go get github.com/libdns/neoserv

Usage

You can check out a minimal example of using this provider in the examples directory.

Run it with:

[email protected] NEOSERV_PASSWORD=your_password NEOSERV_ZONE=your.domain go run ./examples/neoserv.go

Supported TTL Values

Neoserv only supports specific TTL values. The following are the supported TTL values:

  • 1 minute
  • 5 minutes
  • 15 minutes
  • 30 minutes
  • 1 hour
  • 6 hours
  • 12 hours
  • 24 hours (1 day)
  • 2 days
  • 7 days
  • 14 days
  • 30 days

By default, if an unsupported TTL is provided, the provider will use the closest supported value that is greater than or equal to the provided value. If you want to treat unsupported TTL values as errors, set UnsupportedTTLisError to true when creating the provider:

provider := neoserv.Provider{
	Username:              "your-neoserv-email",
	Password:              "your-neoserv-password",
	UnsupportedTTLisError: true,
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages