0.6.2 • Published 2 years ago

dnsman v0.6.2

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

dns manager

Simple dns manager, allows you to easily define your own domains handled by it.

Overview

By default, dnsman reads /etc/dnsman/records and responds to requests by choosing the most specific entry.

# /etc/dnsman/records

# Upstream/fallback servers
nameserver 8.8.8.8
nameserver 8.8.4.4

# Proxy example.com to these, ordered by priority
ns .example.com 1.1.1.1
ns .example.com 1.0.0.1

# Route the .dev tld to localhost
a .dev 127.0.0.1
txt .domain.com "text entry"
txt .domain.com "includes""quotes"

Upstream/fallback server

Normally, dns servers will respond with an upstream server to the client and let the client make a new request to that server. This server will pretend to be all-knowing, or at least for the first hop, forwarding the request to a known upstream server if it doesn't know.

Matching

Matching records is performed by the tailing end of the request. Assume requests always have a dot prepending their least signigicant section.

ConfigRequestMatches
.devmydomain.devyes
.devexample.devyes
example.comexample.devno
example.comexample.comyes
example.com1example.comyes
example.comsub.example.comyes
example.comsub.1example.comyes
.example.comexample.comyes
.example.com1example.comno
.example.comsub.example.comyes
.example.comsub.1example.comno
0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.0

3 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.1

6 years ago