Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.07 KB

README.md

File metadata and controls

40 lines (33 loc) · 1.07 KB

ACMEProxy for libdns

Go Reference

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

Please note that ACMEProxy is more or less only used for ACME DNS and therefor only is able to create and delete TXT records

For a server to use it with see acmeproxy

Example configuration

// Without Auth
p := acmeproxy.Provider{
    Endpoint: "https://example.com:9090",
}

// With Auth
p := acmeproxy.Provider{
    Endpoint: "https://example.com:9090",
    Credentials: acmeproxy.Credentials{
        Username: "admin",
        Password: "password",
    },
}

// With Custom Client
p := acmeproxy.Provider{
	Endpoint: "https://example.com:9090",
	Credentials: acmeproxy.Credentials{
		Username: "admin",
		Password: "admin",
	},
	HTTPClient: http.Client{
		Timeout: 10 * time.Second,
	}
}