GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bahlo/mapdns: A simple, static DNS server.

This repository was archived by the owner on Nov 29, 2025. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

37 Commits
37 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
config.go
config.go
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
handler.go
handler.go
 
 
handler_test.go
handler_test.go
 
 
main.go
main.go
 
 
shell.nix
shell.nix
 
 

Repository files navigation

mapdns CI

A smol DNS server (around 100 loc) that's configured with a static JSON file. Useful for split-dns.

Install

Go

go install github.com/bahlo/[email protected]

Docker

docker pull ghcr.io/bahlo/mapdns:0.2.0

Example

Create a mapdns.json in the same directory you're running the binary from, with content like this:

{
	"foo.example.org.": {
		"A": "1.2.3.4",
		"AAAA": "::1"
	},
	"*.foo.example.org.": {
		"A": "1.2.3.4"
	}
}

Run the binary and start making requests!

State of the project

It works and I use it in my home network for split-dns1. There is little tests and no support for records other than A and AAAA. Please don't use this on a production system.

Logging

Expose MAPDNS_DEBUG=true to get debug logs. Otherwise it will only log on errors.

Footnotes

  1. I use Tailscale and configured it to search for my internal network domain on the DNS server I configured here. ↩

About

A simple, static DNS server.

Topics

dnsgostatic

Resources

Readme
MIT license
Activity

Stars

86 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.