https://github.com/getpinga/parkdns-go
A Golang-based DNS server for unified domain management.
https://github.com/getpinga/parkdns-go
dns dns-server golang
Last synced: 28 days ago
JSON representation
A Golang-based DNS server for unified domain management.
- Host: GitHub
- URL: https://github.com/getpinga/parkdns-go
- Owner: getpinga
- License: mit
- Created: 2023-01-30T15:13:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-30T15:13:55.000Z (over 3 years ago)
- Last Synced: 2025-12-18T22:00:04.014Z (6 months ago)
- Topics: dns, dns-server, golang
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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
}
]
}
```