https://github.com/lowply/docker-unbound
Unbound on Docker on your macOS using UDP 65353
https://github.com/lowply/docker-unbound
dns docker unbound
Last synced: 2 months ago
JSON representation
Unbound on Docker on your macOS using UDP 65353
- Host: GitHub
- URL: https://github.com/lowply/docker-unbound
- Owner: lowply
- Created: 2018-09-14T16:38:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-02T09:46:57.000Z (almost 6 years ago)
- Last Synced: 2025-03-15T07:07:17.692Z (3 months ago)
- Topics: dns, docker, unbound
- Language: Dockerfile
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unbound on Docker
Unbound on Docker on your macOS using UDP 65353. I'm tired of running dnsmasq as root.
## Getting started
Clone this repository:
```
git clone https://github.com/lowply/docker-unbound.git
cd docker-unbound
```Add your unbound config:
```
$ cat conf/conf.d/example.com.conf
server:
local-zone: "example.com" redirect
local-data: "example.com A 127.0.0.1"
```Add your resolver file for the domain:
```
$ cat /etc/resolver/example.com
nameserver 127.0.0.1
port 65353
```Run Unbound:
```
docker-compose up -d
```Check if it resolved the name:
```
dscacheutil -q host -a name example.com
```To apply changes:
```
docker-compose restart
```Want to clear the cache?
```
sudo killall -HUP mDNSResponder
```Happy name resolving!