https://github.com/keithduncan/dns_server
Zone file based multicast DNS Server. Inject DNS names into your network's .local TLD.
https://github.com/keithduncan/dns_server
dns-sd dns-server multicast-dns objective-c
Last synced: over 1 year ago
JSON representation
Zone file based multicast DNS Server. Inject DNS names into your network's .local TLD.
- Host: GitHub
- URL: https://github.com/keithduncan/dns_server
- Owner: keithduncan
- Created: 2013-01-25T18:58:32.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-11-17T16:01:59.000Z (over 12 years ago)
- Last Synced: 2025-01-22T06:27:01.621Z (over 1 year ago)
- Topics: dns-sd, dns-server, multicast-dns, objective-c
- Language: Objective-C
- Homepage:
- Size: 1.12 MB
- Stars: 2
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What does it do?
Serves DNS zone files over [Multicast DNS](http://tools.ietf.org/html/rfc6762).
# How does it do it?
A UDP server built atop [CoreNetworking](http://github.com/keithduncan/CoreNetworking).
# What does it even meme?
Allows you to inject DNS responses into the Bonjour Multicast DNS server on your
local network using a zone file.
Configuration is handled by the `DNS_ZONE_FILE` environment variable. This
should be the path to a single zone file or to a directory of zone files.
The server can then be queried over multicast using dns-sd, see x-man-page://dns-sd.
The shared scheme included in the project serves the db.example.local. zone
which includes A and AAAA records for the example.local. host, these can be
queried using `dns-sd -G v4v6 example.local.`.
If you actually want to run this (why would you want to run this?) I'd recommend
using a launchd job, see x-man-page://launchd.plist.
# Who even writes a DNS server?
Who doesn’t write a DNS server.