parkdns

command module
v0.0.0-...-22d5155 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 5 Imported by: 0

README

parkDNS

A Golang-based DNS server for unified domain management. Install and define the zone in the config file. Then point all domains to in and it will serve the same zone details for all parked domains.

Install

$ go get github.com/miekg/dns
$ go build parkdns.go
$ sudo ./parkdns

records.json sample

{
  "records": [
    {
      "type": 1,
      "ttl": 3600,
      "data": "192.168.1.1"
    },
    {
      "type": 15,
      "ttl": 3600,
      "data": "mail.example.com.",
      "priority": 10
    },
    {
      "type": 15,
      "ttl": 3600,
      "data": "mail2.example.com.",
      "priority": 20
    }
  ]
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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