Skip to content

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

License

Notifications You must be signed in to change notification settings

libdns/dnsimple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dnsimple for libdns

Go Reference

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

Configuration

This provider expects the following configuration:

Required

Optional

  • ACCOUNT_ID: identifier for the account (only needed if using a user access token), see accounts documentation
  • API_URL: hostname for the API to use (defaults to api.dnsimple.com), only useful for testing purposes, see sandox documentation

Testing

In order to run the tests, you need to create an account on the DNSimple sandbox environment. After setup, create a new DNS zone, and create an API_ACCESS_TOKEN and take note of both. You will need both these values to run tests.

$ TEST_ZONE=example.com TEST_API_ACCESS_TOKEN=you_api_access_token go test -v
=== RUN   Test_AppendRecords
--- PASS: Test_AppendRecords (1.23s)
=== RUN   Test_DeleteRecords
--- PASS: Test_DeleteRecords (0.59s)
=== RUN   Test_GetRecords
--- PASS: Test_GetRecords (0.58s)
=== RUN   Test_SetRecords
--- PASS: Test_SetRecords (1.14s)
PASS
ok  	github.com/libdns/dnsimple	3.666s

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages