fix a whitespace error in the OSX resolver section

Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
This commit is contained in:
Josh Kneubuhl 2022-05-04 11:48:43 -04:00 committed by Dave Enyeart
parent 366d162453
commit b8a6d8efbb

View file

@ -85,11 +85,6 @@ against the test network.
Workarounds to improve DNS resolution time on OSX: Workarounds to improve DNS resolution time on OSX:
- Reduce the system resolver timeout from the default 5s by adding to /etc/resolv.conf:
```shell
options: timeout 2
```
- Add manual DNS overrides for virtual hosts by adding to /etc/hosts: - Add manual DNS overrides for virtual hosts by adding to /etc/hosts:
``` ```
127.0.0.1 org0-ca.vcap.me 127.0.0.1 org0-ca.vcap.me
@ -104,6 +99,11 @@ options: timeout 2
127.0.0.1 org2-peer2.vcap.me 127.0.0.1 org2-peer2.vcap.me
``` ```
- Reduce the system resolver timeout from the default 5s by adding to /etc/resolv.conf:
```shell
options: timeout 2
```
- Compile the [fabric binaries](https://github.com/hyperledger/fabric) on a Mac and copy `build/bin/*` outputs to - Compile the [fabric binaries](https://github.com/hyperledger/fabric) on a Mac and copy `build/bin/*` outputs to
`test-network-k8s/bin`. Mac native builds are linked against the `netdns=cgo` DNS resolver, and are not `test-network-k8s/bin`. Mac native builds are linked against the `netdns=cgo` DNS resolver, and are not
subject to the timeouts associated with the Golang DNS resolver. subject to the timeouts associated with the Golang DNS resolver.