upstream dns-resolver take 2
This commit is contained in:
parent
e2d319106f
commit
ca4dcb48a8
@ -35,8 +35,10 @@ https://k3s.io/:
|
|||||||
curl -sfL https://get.k3s.io | sh -
|
curl -sfL https://get.k3s.io | sh -
|
||||||
```
|
```
|
||||||
|
|
||||||
# Confiugure upstream DNS-resolver <a name="upstream-dns-resolver"></a>
|
# Configure upstream DNS-resolver <a name="upstream-dns-resolver"></a>
|
||||||
Default: 8.8.8.8
|
Docs: https://rancher.com/docs/rancher/v2.x/en/troubleshooting/dns/
|
||||||
|
|
||||||
|
Default: 8.8.8.8 => does not resolve local domains!
|
||||||
1. local /etc/resolv.conf -> ip-of-dnsresolver (127.0.0.1 **does not work!**)
|
1. local /etc/resolv.conf -> ip-of-dnsresolver (127.0.0.1 **does not work!**)
|
||||||
2. vi /etc/systemd/system/k3s.service:
|
2. vi /etc/systemd/system/k3s.service:
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user