Aktualizovat ServerUbuntu.md
This commit is contained in:
parent
88328eec5b
commit
f63d5acf3e
@ -40,15 +40,15 @@
|
||||
```
|
||||
## DNS
|
||||
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
|
||||
sudo -i
|
||||
rm -f /etc/resolv.conf
|
||||
cat > /etc/resolv.conf << EOF
|
||||
nameserver 192.168.88.101
|
||||
nameserver 192.168.88.1
|
||||
domain habad.eu
|
||||
search habad.eu
|
||||
EOF
|
||||
```
|
||||
```shell
|
||||
sudo -i
|
||||
rm -f /etc/resolv.conf
|
||||
cat > /etc/resolv.conf << EOF
|
||||
nameserver 192.168.88.101
|
||||
nameserver 192.168.88.1
|
||||
domain habad.eu
|
||||
search habad.eu
|
||||
EOF
|
||||
```
|
||||
Loading…
Reference in New Issue
Block a user