diff --git a/tips/expose-hosts.md b/tips/expose-hosts.md index ce6b721..d78d2cb 100644 --- a/tips/expose-hosts.md +++ b/tips/expose-hosts.md @@ -28,7 +28,9 @@ One easy way to do this is to use `dnsmasq`. 3. Create new `resolv.conf` to use K3s. Note that the IP addresses have to be replaced with your K3s host's one. ```bash - sudo echo "nameserver 192.168.0.100" > /etc/rancher/k3s/resolv.conf + sudo tee /etc/rancher/k3s/resolv.conf <