Skip to content

Commit e7ad086

Browse files
authored
Merge pull request #145 from wayofdev/ci/e2e-testing
2 parents 315dd16 + 1351c1b commit e7ad086

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -198,37 +198,37 @@ If you **like/use** this project, please consider ⭐️ **starring** it. Thanks
198198

199199
10. **Add custom DNS resolver to your system:**
200200

201-
This allows macOS to understand that `*.docker` domains should be resolved by a custom resolver via `127.0.0.1`, where our DNSMasq, which runs inside Docker, will handle all DNS requests.
201+
This allows macOS to understand that `*.docker` domains should be resolved by a custom resolver via `127.0.0.1`, where our DNSMasq, which runs inside Docker, will handle all DNS requests.
202202

203-
```bash
204-
sudo sh -c 'echo "nameserver 127.0.0.1" > /etc/resolver/docker'
205-
sudo dscacheutil -flushcache
206-
sudo killall -HUP mDNSResponder
207-
```
203+
```bash
204+
sudo sh -c 'echo "nameserver 127.0.0.1" > /etc/resolver/docker'
205+
sudo dscacheutil -flushcache
206+
sudo killall -HUP mDNSResponder
207+
```
208208

209-
You can check that DNS was added by running:
209+
You can check that DNS was added by running:
210210

211-
```bash
212-
scutil --dns
213-
```
211+
```bash
212+
scutil --dns
213+
```
214214

215-
Example output:
215+
Example output:
216216

217-
```bash
218-
resolver #8
219-
domain : docker
220-
nameserver[0] : 127.0.0.1
221-
flags : Request A records, Request AAAA records
222-
reach : 0x00030002 (Reachable,Local Address,Directly Reachable Address)
223-
```
217+
```bash
218+
resolver #8
219+
domain : docker
220+
nameserver[0] : 127.0.0.1
221+
flags : Request A records, Request AAAA records
222+
reach : 0x00030002 (Reachable,Local Address,Directly Reachable Address)
223+
```
224224

225-
> [!Note]
226-
>
227-
> Instead of creating the `/etc/resolver/docker` file, you can add `127.0.0.1` to your macOS DNS Servers in your Ethernet or Wi-Fi settings.
228-
>
229-
> Go to **System Preferences → Network → Wi-Fi → Details → DNS** and add `127.0.0.1` as the first DNS server.
230-
>
231-
> This allows you to do it one time, and if you need to create a new local domain, for example `*.mac`, in the future, it will be automatically resolved without creating a separate `/etc/resolver/mac` file.
225+
> [!Note]
226+
>
227+
> Instead of creating the `/etc/resolver/docker` file, you can add `127.0.0.1` to your macOS DNS Servers in your Ethernet or Wi-Fi settings.
228+
>
229+
> Go to **System Preferences → Network → Wi-Fi → Details → DNS** and add `127.0.0.1` as the first DNS server.
230+
>
231+
> This allows you to do it one time, and if you need to create a new local domain, for example `*.mac`, in the future, it will be automatically resolved without creating a separate `/etc/resolver/mac` file.
232232

233233
11. **Ping `router.docker` to check if DNS is working:**
234234

0 commit comments

Comments
 (0)