Skip to content

Commit 1079776

Browse files
committed
website: network: fix wording
Signed-off-by: Akihiro Suda <[email protected]>
1 parent 540fcc4 commit 1079776

File tree

1 file changed

+8
-8
lines changed
  • website/content/en/docs/config/network

1 file changed

+8
-8
lines changed

website/content/en/docs/config/network/_index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ The loopback addresses of the host is `192.168.5.2` and is accessible from the g
3333

3434
### DNS (192.168.5.3)
3535

36-
The DNS.
37-
3836
If `hostResolver.enabled` in `lima.yaml` is true, then the hostagent is going to run a DNS server over tcp and udp - each on a separate randomly selected free port. This server does a local lookup using the native host resolver, so it will deal correctly with VPN configurations and split-DNS setups, as well as mDNS, local `/etc/hosts` etc. For this the hostagent has to be compiled with `CGO_ENABLED=1` as default Go resolver is [broken](https://github.com/golang/go/issues/12524).
3937

4038
These tcp and udp ports are then forwarded via iptables rules to `192.168.5.3:53`, overriding the DNS provided by QEMU via slirp.
@@ -135,7 +133,8 @@ The "vzNAT" network does not need the `socket_vmnet` binary and the `sudoers` fi
135133
### socket_vmnet
136134
#### Managed (192.168.105.0/24)
137135

138-
[`socket_vmnet`](https://github.com/lima-vm/socket_vmnet) is required for adding another guest IP that is accessible from the host and other guests.
136+
[`socket_vmnet`](https://github.com/lima-vm/socket_vmnet) can be used for adding another guest IP that is accessible from the host and other guests,
137+
without depending on vz.
139138
It must be installed according to the instruction provided on https://github.com/lima-vm/socket_vmnet.
140139

141140
Note that installation using Homebrew is not secure and not recommended by the Lima project.
@@ -264,11 +263,12 @@ sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblock /usr/libexec/boot
264263
```
265264

266265
#### Unmanaged
266+
Lima can also connect to "unmanaged" networks addressed by "socket". This
267+
means that the daemons will not be controlled by Lima, but must be started
268+
before the instance. The interface type (host, shared, or bridged) is
269+
configured in `socket_vmnet` and not in lima.
270+
267271
```yaml
268272
networks:
269-
# Lima can also connect to "unmanaged" networks addressed by "socket". This
270-
# means that the daemons will not be controlled by Lima, but must be started
271-
# before the instance. The interface type (host, shared, or bridged) is
272-
# configured in socket_vmnet and not in lima.
273-
# - socket: "/var/run/socket_vmnet"
273+
- socket: "/var/run/socket_vmnet"
274274
```

0 commit comments

Comments
 (0)