Merge pull request #12390 from JoelKlint/patch-1
Instructions for adding a dns-server on windowspull/12394/head
commit
314237b05a
|
@ -101,8 +101,15 @@ systemctl restart NetworkManager.service
|
||||||
Also see `dns=` in [NetworkManager.conf](https://developer.gnome.org/NetworkManager/stable/NetworkManager.conf.html).
|
Also see `dns=` in [NetworkManager.conf](https://developer.gnome.org/NetworkManager/stable/NetworkManager.conf.html).
|
||||||
|
|
||||||
#### Windows
|
#### Windows
|
||||||
|
Open `Powershell` as Administrator and execute the following
|
||||||
|
```sh
|
||||||
|
Add-DnsClientNrptRule -Namespace ".test" -NameServers "$(minikube ip)"
|
||||||
|
```
|
||||||
|
|
||||||
TODO
|
The following will remove any matching rules, before creating one. This is helpful if your minikube has a new ip
|
||||||
|
```sh
|
||||||
|
Get-DnsClientNrptRule | Where-Object {$_.Namespace -eq '.test'} | Remove-DnsClientNrptRule -Force; Add-DnsClientNrptRule -Namespace ".test" -NameServers "$(minikube ip)"
|
||||||
|
```
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue