Code Monkey home page Code Monkey logo

my-dns-zones's Introduction

My DNS zones

Banner

en fr

This repository holds a reproducible configuration of the DNS zone for each domain I have.

The configuration is managed through dnscontrol and deployed by a GitHub Action upon merges to the master branch.

All changes on DNS records are done via this repository.

Configuration

Clone the repository and create a creds.local.json at the root.

Then, configure the credentials for:

The steps to obtain the credentials for each provider are listed on the relevant documentation pages.

For more information about the credentials file, please visit this page.

Then, create a .env file with the location of the local credentials file:

DNSCONTROL_LOCAL_CREDS=creds.local.json

Usage

Docker is required as dnscontrol is used through Docker.

To get the list of available commands, execute make help (or make).

Get the version of DNSControl

make version

This command allows you to quickly check which version of DNSControl is being used.

Check and validate dnsconfig.js

make check

This command allows you to check and validate the syntax of the DNS zones' configuration.

Verify service providers' credentials

CRED_KEY=cred_name make check-creds

This command performs a small operation to verify a service provider's credentials.

The environment variable CRED_KEY must be defined and must contain the name of the credential you want to test, as defined in the local credentials file (creds.local.json).

Example:

CRED_KEY=ovh make check-creds

Preview the change to make

make preview

This command reads the configuration and shows the changes that need to be made, without applying them.

Apply the changes

As a precautionary measure, it is not possible to apply the changes manually. You should first create a PR and then merge it to master.

Make changes

The master branch is protected, it only accepts merges from PRs.

You must first create a branch, then make your changes there and create a PR.

Secrets are defined as environment's secrets on GitHub, and are used in the creds.json file.

TODO

  • Develop a service provider for Spaceship   X (formerly Twitter)
  • Develop a service provider for Sav   X (formerly Twitter)

Hero image provided by: https://siteground.com/ (thanks to them!)

my-dns-zones's People

Contributors

dependabot[bot] avatar wblondel avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

my-dns-zones's Issues

Emails sent by Einstein web server are not authenticated

Important emails sent by Plesk are from [email protected].

This subdomain does not have SPF and DKIM. The DMARC policy set at williamblondel.fr is applied, and all emails are rejected.

I should:

  • Create the domain on the mail server
  • Configure the subdomain DNS entries to use the mail server
  • Create an SPF record for einstein.williamblondel.fr

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.