2020-10-11 14:06:24 -04:00

2018-08-09 11:31:49 -04:00
[](https://codecov.io/gh/vinyldns/vinyldns)
2019-10-22 14:45:38 -04:00
[](https://github.com/vinyldns/vinyldns/blob/master/LICENSE)
2019-11-08 10:27:23 -05:00
[](https://github.com/vinyldns/vinyldns/blob/master/CODE_OF_CONDUCT.md)
2018-07-27 10:18:29 -04:00
2018-07-31 16:07:36 -04:00
< p align = "left" >
2018-07-31 15:11:02 -04:00
< a href = "http://www.vinyldns.io/" >
2018-07-31 15:03:55 -04:00
< img
alt="VinylDNS"
2020-11-11 08:35:54 -05:00
src="img/vinyldns_optimized.svg"
2018-07-31 15:03:55 -04:00
width="400"
/>
< / a >
< / p >
2018-07-27 10:18:29 -04:00
# VinylDNS
2018-08-22 10:44:53 -04:00
VinylDNS is a vendor agnostic front-end for enabling self-service DNS and streamlining DNS operations.
VinylDNS manages millions of DNS records supporting thousands of engineers in production at [Comcast ](http://www.comcast.com ).
2018-07-27 10:18:29 -04:00
The platform provides fine-grained access controls, auditing of all changes, a self-service user interface,
2018-08-22 10:44:53 -04:00
secure RESTful API, and integration with infrastructure automation tools like Ansible and Terraform.
2018-07-27 10:18:29 -04:00
It is designed to integrate with your existing DNS infrastructure, and provides extensibility to fit your installation.
VinylDNS helps secure DNS management via:
2021-10-15 15:06:04 -04:00
- AWS Sig4 signing of all messages to ensure that the message that was sent was not altered in transit
- Throttling of DNS updates to rate limit concurrent updates against your DNS systems
- Encrypting user secrets and TSIG keys at rest and in-transit
- Recording every change made to DNS records and zones
2018-07-27 10:18:29 -04:00
Integration is simple with first-class language support including:
2021-10-15 15:06:04 -04:00
- Java
- Python
- Go
- JavaScript
2018-07-27 10:18:29 -04:00
## Table of Contents
2018-08-07 11:26:43 -04:00
- [Quickstart ](#quickstart )
2018-07-27 10:18:29 -04:00
- [Code of Conduct ](#code-of-conduct )
- [Developer Guide ](#developer-guide )
- [Contributing ](#contributing )
- [Contact ](#contact )
- [Maintainers and Contributors ](#maintainers-and-contributors )
- [Credits ](#credits )
2018-08-07 11:26:43 -04:00
## Quickstart
2019-03-18 17:44:37 -04:00
Docker images for VinylDNS live on Docker Hub at < https: / / hub . docker . com / u / vinyldns / > .
2018-08-07 11:26:43 -04:00
To start up a local instance of VinylDNS on your machine with docker:
2018-08-23 10:02:52 -04:00
1. Ensure that you have [docker ](https://docs.docker.com/install/ ) and [docker-compose ](https://docs.docker.com/compose/install/ )
2018-08-07 11:26:43 -04:00
1. Clone the repo: `git clone https://github.com/vinyldns/vinyldns.git`
1. Navigate to repo: `cd vinyldns`
2021-10-20 09:07:19 -04:00
1. Run `./utils/quickstart-vinyldns.sh` . This will start up the api at `localhost:9000` and the portal at `localhost:9001`
2019-03-18 17:44:37 -04:00
1. See [Developer Guide ](DEVELOPER_GUIDE.md#loading-test-data ) for how to load a test DNS zone
2021-10-20 09:07:19 -04:00
1. To stop the local setup, run `./utils/clean-vinyldns-containers.sh` .
2018-08-07 11:26:43 -04:00
2019-03-18 17:44:37 -04:00
There exist several clients at < https: // github . com / vinyldns > that can be used to make API requests, using the endpoint `http://localhost:9000`
2018-08-07 11:26:43 -04:00
2019-03-18 17:44:37 -04:00
## Things to try in the portal
2018-08-07 11:26:43 -04:00
1. View the portal at < http: // localhost:9001 > in a web browser
2021-10-15 15:06:04 -04:00
1. Login with the credentials `testuser` and `testpassword`
2018-08-07 11:26:43 -04:00
1. Navigate to the `groups` tab: < http: // localhost:9001 / groups >
2019-03-18 17:44:37 -04:00
1. Click on the **New Group** button and create a new group, the group id is the uuid in the url after you view the group
2019-10-22 19:18:21 -04:00
1. View zones you connected to in the `zones` tab: < http: // localhost:9001 / zones > . For a quick test, create a new zone named "ok" with an email of "test@test .com" and choose a group you created from the previous step. (Note, see [Developer Guide ](DEVELOPER_GUIDE.md#loading-test-data ) for creating a zone)
2019-03-18 17:44:37 -04:00
1. You will see that some records are preloaded in the zoned already, this is because these records are preloaded in the local docker DNS server
2018-08-07 11:26:43 -04:00
and VinylDNS automatically syncs records with the backend DNS server upon zone connection
1. From here, you can create DNS record sets in the **Manage Records** tab, and manage zone settings and ** *ACL rules***
in the **Manage Zone** tab
1. To try creating a DNS record, click on the **Create Record Set** button under Records, `Record Type = A, Record Name = my-test-a,
TTL = 300, IP Addressess = 1.1.1.1`
1. Click on the **Refresh** button under Records, you should see your new record created
2019-03-18 17:44:37 -04:00
## Other things to note
2019-10-22 19:18:21 -04:00
1. Upon connecting to a zone for the first time, a zone sync is executed to provide VinylDNS a copy of the records in the zone
2018-08-07 11:26:43 -04:00
1. Changes made via VinylDNS are made against the DNS backend, you do not need to sync the zone further to push those changes out
1. If changes to the zone are made outside of VinylDNS, then the zone will have to be re-synced to give VinylDNS a copy of those records
2021-10-20 09:07:19 -04:00
1. If you wish to modify the url used in the creation process from `http://localhost:9000` , to say `http://vinyldns.yourdomain.com:9000` , you can modify the `utils/.env` file before execution.
2019-10-22 19:18:21 -04:00
1. A similar `docker/.env.quickstart` can be modified to change the default ports for the Portal and API. You must also modify their config files with the new port: https://www.vinyldns.io/operator/config-portal & https://www.vinyldns.io/operator/config-api
2018-07-27 10:18:29 -04:00
## Code of Conduct
2021-10-15 15:06:04 -04:00
This project, and everyone participating in it, are governed by the [VinylDNS Code Of Conduct ](CODE_OF_CONDUCT.md ). By
2018-07-27 10:18:29 -04:00
participating, you agree to this Code. Please report any violations to the code of conduct to vinyldns-core@googlegroups .com.
## Developer Guide
See [DEVELOPER_GUIDE.md ](DEVELOPER_GUIDE.md ) for instructions on setting up VinylDNS locally.
## Contributing
See the [Contributing Guide ](CONTRIBUTING.md ).
## Contact
- If you have any security concerns please contact the maintainers directly vinyldns-core@googlegroups .com
## Maintainers and Contributors
The current maintainers (people who can merge pull requests) are:
2021-10-15 15:06:04 -04:00
- Ryan Emerle ([@remerle ](https://github.com/remerle ))
- Sriram Ramakrishnan ([@sramakr ](https://github.com/sramakr ))
- Jim Wakemen ([@jwakemen ](https://github.com/jwakemen ))
2018-07-27 10:18:29 -04:00
See [AUTHORS.md ](AUTHORS.md ) for the full list of contributors to VinylDNS.
2018-08-07 11:26:43 -04:00
See [MAINTAINERS.md ](MAINTAINERS.md ) for documentation specific to maintainers
2018-07-27 10:18:29 -04:00
## Credits
VinylDNS would not be possible without the help of many other pieces of open source software. Thank you open source world!
Initial development of DynamoDBHelper done by [Roland Kuhn ](https://github.com/rkuhn ) from https://github.com/akka/akka-persistence-dynamodb/blob/8d7495821faef754d97759f0d3d35ed18fc17cc7/src/main/scala/akka/persistence/dynamodb/journal/DynamoDBHelper.scala
Given the Apache 2.0 license of VinylDNS, we specifically want to call out the following libraries and their corresponding licenses shown below.
- [logback-classic ](https://github.com/qos-ch/logback ) - [Eclipse Public License 1.0 ](https://www.eclipse.org/legal/epl-v10.html )
- [logback-core ](https://github.com/qos-ch/logback ) - [Eclipse Public License 1.0 ](https://www.eclipse.org/legal/epl-v10.html )
- [h2 database ](http://h2database.com ) - [Mozilla Public License, version 2.0 ](https://www.mozilla.org/MPL/2.0/ )
- [pureconfig ](https://github.com/pureconfig/pureconfig ) - [Mozilla Public License, version 2.0 ](https://www.mozilla.org/MPL/2.0/ )
- [pureconfig-macros ](https://github.com/pureconfig/pureconfig ) - [Mozilla Public License, version 2.0 ](https://www.mozilla.org/MPL/2.0/ )
- [junit ](https://junit.org/junit4/ ) - [Eclipse Public License 1.0 ](https://www.eclipse.org/legal/epl-v10.html )