Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.38 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.38 KB

DNS API

Build Status codecov Release

A GRPC API for creating DNS records via the ETH netcenter.

Configuration

Set the following properties in the configuration file:

ch.ethz.vis.dnsapi.netcenter.username=changeme

The username of your Netcenter account.

ch.ethz.vis.dnsapi.netcenter.password=changeme

The password of your Netcenter account.

ch.ethz.vis.dnsapi.netcenter.isgGroup=changeme

The ISG group you want the records to belong to.

ch.ethz.vis.dnsapi.keyFilePath=key.pem

The path to a PEM encoded key file for serving the API over TLS.

ch.ethz.vis.dnsapi.certFilePath=cert.pem

The path to a PEM encoded certificate chain (server AND CA certificate) for serving the API over TLS.

Running

The config file is expected to be passed to the java environment via -Dch.ethz.vis.dnsapi.config=/path/config.properties. If none is given it defaults to /etc/dnsapi.properties which is recommended for production.

Todo

  • Write unittests for the netcenter API