https://github.com/docksal/service-dns
DNS discovery service image for Docksal
https://github.com/docksal/service-dns
Last synced: 4 months ago
JSON representation
DNS discovery service image for Docksal
- Host: GitHub
- URL: https://github.com/docksal/service-dns
- Owner: docksal
- License: mit
- Created: 2016-09-27T14:57:46.000Z (almost 10 years ago)
- Default Branch: develop
- Last Pushed: 2022-03-06T23:16:50.000Z (over 4 years ago)
- Last Synced: 2025-10-02T18:39:13.368Z (9 months ago)
- Language: Shell
- Homepage: http://docksal.io
- Size: 40 KB
- Stars: 1
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DNS Docker image for Docksal
This image(s) is part of the [Docksal](http://docksal.io) image library.
Provides wildcard domain name resolution for local development.
## Usage
```bash
$ docker run --name dns -d -e DNS_DOMAIN=docksal -e DNS_IP=192.168.64.100 docksal/dns
$ nslookup something.docksal 192.168.64.100
Server: 192.168.64.100
Address: 192.168.64.100#53
Name: something.docksal
Address: 192.168.64.100
```
Replace `192.168.64.100` with your Docker host IP.
## Debugging
Launch the container with `LOG_QUERIES=true` to enabled query logging.
```bash
docker run --name dns -d -e DNS_DOMAIN=docksal -e DNS_IP=192.168.100.64 -e LOG_QUERIES=true docksal/dns
```
View logs with `docker logs dns`