Skip to content

Commit

Permalink
mention --dns-map option
Browse files Browse the repository at this point in the history
  • Loading branch information
cppforlife committed Sep 28, 2018
1 parent e3d567c commit fb22b5b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/network.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ Start networking access, allowing access to two subnets
sudo -E kwt net start --subnet 10.19.247.0/24 --subnet 10.19.248.0/24
```
Start networking access, and configure `example.com` or anything under it (such as `test.t.example.com`) to resolve to `127.0.0.1` (Hint: useful with `knctl` to forward requests to Knative ingress without official DNS changes)
```bash
sudo -E kwt net start --dns-map example.com=127.0.0.1
```
Show services in the current/specified namespace
```bash
Expand Down

0 comments on commit fb22b5b

Please sign in to comment.