Aktualizovat ServerUbuntu.md

This commit is contained in:
David Hába 2024-12-15 03:42:58 +01:00
parent 88328eec5b
commit f63d5acf3e

View File

@ -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
```