Aktualizovat ServerUbuntu.md
This commit is contained in:
parent
88328eec5b
commit
f63d5acf3e
@ -40,15 +40,15 @@
|
|||||||
```
|
```
|
||||||
## DNS
|
## DNS
|
||||||
Zatím nevím, proč nefunguje korektně. Nastavím `/etc/resolv.conf` ručně.
|
Zatím nevím, proč nefunguje korektně. Nastavím `/etc/resolv.conf` ručně.
|
||||||
bylo: `resolv.conf -> ../run/systemd/resolve/stub-resolv.conf`
|
původně byl symlink: `/etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf`
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sudo -i
|
sudo -i
|
||||||
rm -f /etc/resolv.conf
|
rm -f /etc/resolv.conf
|
||||||
cat > /etc/resolv.conf << EOF
|
cat > /etc/resolv.conf << EOF
|
||||||
nameserver 192.168.88.101
|
nameserver 192.168.88.101
|
||||||
nameserver 192.168.88.1
|
nameserver 192.168.88.1
|
||||||
domain habad.eu
|
domain habad.eu
|
||||||
search habad.eu
|
search habad.eu
|
||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
Loading…
Reference in New Issue
Block a user