GithubHelp home page GithubHelp logo

jmcarp / dns Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 18f/dns

0.0 3.0 1.0 433 KB

DNS configuration for domains managed by GSA TTS

License: Other

Shell 0.38% Python 4.26% HCL 95.36%

dns's Introduction

TTS DNS configuration

Build Status

This repository holds the source code for configuring DNS for domains managed by GSA TTS, including 18F and the Presidential Innovation Fellows.

Making changes

  1. Is the domain pointing to the right nameservers? In other words, is there a file for the domain under terraform/ already?
    • Yes: Continue to next step.
    • No:
      1. If you're only setting up a subdomain (rather than a second-level), incorporate these special steps to the following.
      2. Add a file for the domain, to create the public hosted zone.
      3. After the pull request is merged, ask in #infrastructure to get the nameservers for your domain from Concourse.
      4. Change the nameservers for the domain to point to AWS.
        • For .gov domains, this will be done by whatever person/group registered/manages the domain in dotgov.gov.
  2. Add the relevant additional record sets. In Terraform, these are known as aws_route53_records. Generally speaking, the required arguments are:
    • zone_id
    • name
    • type
    • Either alias or records
    • If alias, then evaluate_target_health is also required and ttl is not allowed.
    • If records, then ttl is also required and evaluate_target_health is not allowed.

It's worth noting that if you are pointing to a CloudFront distro, you should use Route 53's own alias and not a CNAME record. In fact, CNAMEing a top-level domain (or the top level of a delegated subdomain) is not allowed in DNS. See the various examples in the repo, such as this one.

On merge, changes are deployed to the cloud.gov AWS account automatically by an instance of Concourse hosted on cloud.gov. The configuration for the Concourse instance is in pipeline.yml.

Please note: only production systems with an ATO should have their DNS configuration here. If you wish to create DNS records for pre-production systems, please use the domain sandbox.gov which is available in the TTS Sandbox account.

Public domain

This project is in the worldwide public domain. As stated in the license:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

dns's People

Watchers

 avatar  avatar  avatar

Forkers

cnelson

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.