wunderdns

command module
v0.0.0-...-59b0f35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

README

WunderDNS

WunderDNS is a multitenant api for PowerDNS PostgreSQL database. Again, it's a API for PostgreSQL database, not to PowerDNS itself. It is used to alter DNS records in Wargaming since 2016 ( it was called sync_powerdns2.pl though ) and now it was reborned as a golang application.

Key features

  • Multitenancy - if you create a record, nobody else can change it
  • ACLs - you may configure any combinations of domains and permissions
  • HTTP API - simple way to get access
  • AMQP API - a way to get your requests delivered
  • Flawless integration - you even don't need to alter your powerdns server or postgresql database to start using wunderdns
  • Multiple databases support - you may alter a few databases in one request
  • Two views support - wunderdns supports both public & private views to separate local & public records

How it works

WunderDNS connects to PostgreSQL database and works directly with PowerDNS tables: records, domains & so on. It uses their own table records_api ( inherits records ) to alter records. WunderDNS uses AMQP to get requests and send replies. It also uses HTTP API that works as a AMQP<->HTTP gateway.

Dependencies

Installation

  • make
  • powerdns# CREATE TABLE records_api(owner VARCHAR(255)) INHERITS(records);
  • configure
  • run

Configuration

See wunderdns.ini and wunderapi.ini for details.

Usage

//TODO

Known issues

ISSUES.md

Getting help

Create an issue :)

Getting involved

CONTRIBUTING.

Documentation

Overview

Copyright 2018-2020 Wargaming.Net

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL