Skip to content

Commit 6f10366

Browse files
committed
docs: document custom dns resolver
1 parent 0bef4da commit 6f10366

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

README.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,17 +146,27 @@ If you **like/use** this project, please consider ⭐️ **starring** it. Thanks
146146
make logs
147147
```
148148

149-
9. **Ping `router.docker` to check if DNS is working:**
150-
151-
Ensure that the DNS setup is functioning correctly.
149+
9. **Add custom DNS resolver to your system:**
152150

153151
```bash
154-
ping router.docker
152+
sudo sh -c 'echo "nameserver 127.0.0.1" > /etc/resolver/docker'
153+
sudo dscacheutil -flushcache
154+
sudo killall -HUP mDNSResponder
155155
```
156156

157-
10. **Access Traefik dashboard:**
157+
10. **Ping `router.docker` to check if DNS is working:**
158+
159+
Ensure that the DNS setup is functioning correctly.
160+
161+
```bash
162+
ping router.docker
163+
```
158164

159-
Open [https://router.docker](https://router.docker)
165+
11. **Access Traefik dashboard:**
166+
167+
Open [https://router.docker](https://router.docker).
168+
169+
<br>
160170

161171
### → Outcome
162172

0 commit comments

Comments
 (0)