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