1
0
mirror of https://github.com/vbrandl/bind9-api.git synced 2025-07-29 22:37:33 +02:00

9 Commits

Author SHA1 Message Date
Valentin Brandl
48bb9264f6 Merge branch 'release/0.1.1' 2018-07-15 20:30:45 +02:00
Valentin Brandl
cbc89e6d37 Bump version numbers 2018-07-15 20:30:40 +02:00
Valentin Brandl
171b98d307 Explain how to obtain a cert 2018-07-15 20:17:02 +02:00
Valentin Brandl
6c1efac41b Add badges for build status and licenses 2018-07-15 20:03:29 +02:00
Valentin Brandl
5202f65f78 Cache build directory to speed up CI 2018-07-15 20:00:00 +02:00
Valentin Brandl
50fcfaf736 Disable email notification on success 2018-07-15 19:59:17 +02:00
Valentin Brandl
a5506eadfe Cache build directory to speed up CI 2018-07-15 19:58:12 +02:00
Valentin Brandl
28b486a9b0 Update deploy token 2018-07-15 19:55:32 +02:00
Valentin Brandl
db74a8525e Merge tag 'v0.1.0' into develop
v0.1.0
2018-07-15 19:31:13 +02:00
4 changed files with 24 additions and 6 deletions

View File

@@ -4,13 +4,19 @@ services:
script: script:
- docker run --rm -it -v "$(pwd)":/home/rust/src ekidd/rust-musl-builder sh -c 'sudo chown -R rust . && cargo test && cargo build --release' - docker run --rm -it -v "$(pwd)":/home/rust/src ekidd/rust-musl-builder sh -c 'sudo chown -R rust . && cargo test && cargo build --release'
cache: cargo
notifications:
email:
on_success: never
before_deploy: before_deploy:
- ./ci/before_deploy.sh - ./ci/before_deploy.sh
deploy: deploy:
provider: releases provider: releases
api_key: api_key:
secure: "GHjOIiBMx3/0hqRsg4fAaNKeTbcgmS55AvzHGQUB8ZYIxbhRysIGk6ovdBS5RHE9t6uPlp3zdZ8Iw9s63zTH+z/l+eLA+9quT+Ls9g6/MKpTfmLgu+Fg5ilJllEzDG1MBEbneoU38hpBECJuoUX78JN8ss7Xu61vgXf/5R2lBtoxwqMLwUse0vbHnR8NQNsBKrOC1XETWRXTBnC1X2dJ4JbI5FprihHtxmkh4mC+gJRm/1RIO+oegRnR5H8d/w3A9cou750neR9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1CJmiWi7wyGUx78GPaczHtgcOdM="
file_glob: true file_glob: true
file: file:
- deploy/* - deploy/*

View File

@@ -1,5 +1,9 @@
# BIND9 API # BIND9 API
[![Travis Build Status](https://travis-ci.org/vbrandl/bind9-api.svg?branch=master)](https://travis-ci.org/vbrandl/bind9-api)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/vbrandl/bind9-api/blob/master/LICENSE-MIT)
[![License](https://img.shields.io/badge/license-Apache-green.svg)](https://github.com/vbrandl/bind9-api/blob/master/LICENSE-APACHE)
This is an attempt to implement an API to create, update or delete DNS records This is an attempt to implement an API to create, update or delete DNS records
on a BIND9 DNS server. on a BIND9 DNS server.
@@ -108,6 +112,14 @@ In `letsencrypt/`, two example scripts can be found to use the client as a
certbot hook for DNS challenges. It assumes that the client is located somewhere certbot hook for DNS challenges. It assumes that the client is located somewhere
in `$PATH` and that the configurations file exists. in `$PATH` and that the configurations file exists.
To obtain a new certificate, certbot can be invoked as followed:
```
certbot certonly -n --agree-tos --server https://acme-v02.api.letsencrypt.org/directory --preferred-challenges=dns-01
--manual --manual-auth-hook /usr/lib/letsencrypt-bind9/certbot-bind9-auth --manual-cleanup-hook
/usr/lib/letsencrypt-bind9/certbot-bind9-cleanup --manual-public-ip-logging-ok -d example.com -d '*.example.com'
```
## License ## License
This project is licensed under either of This project is licensed under either of

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "bind9-api-client" name = "bind9-api-client"
version = "0.1.0" version = "0.1.1"
authors = ["Valentin Brandl <vbrandl@riseup.net>"] authors = ["Valentin Brandl <vbrandl@riseup.net>"]
description = "Client for the BIND9 API" description = "Client for the BIND9 API"
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "bind9-api" name = "bind9-api"
version = "0.1.0" version = "0.1.1"
authors = ["Valentin Brandl <vbrandl@riseup.net>"] authors = ["Valentin Brandl <vbrandl@riseup.net>"]
description = "Web API to create, update and remove DNS entries in bind9" description = "Web API to create, update and remove DNS entries in bind9"
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"