Skip to content

vs-eth/dns-api

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.6%
  • Other 1.4%