The documentation says that the 'resolvconf' package is optional for Debian. https://wiki.debian.org/NetworkConfiguration#Defining_the_.28DNS.29_Nameservers So temporarily I used 'systemd-resolved' for DNS configuration by adding this line to my user data:
``` runcmd: - | cat << EOL > /etc/systemd/resolved.conf [Resolve] DNS=8.8.8.8 EOL - | cat << EOL > /etc/resolv.conf nameserver 127.0.0.53 EOL - systemctl enable systemd-resolved - systemctl start systemd-resolved ```
But I think it's worth doing something about it.
The documentation says that the 'resolvconf' package is optional for Debian. https:/ /wiki.debian. org/NetworkConf iguration# Defining_ the_.28DNS. 29_Nameservers
So temporarily I used 'systemd-resolved' for DNS configuration by adding this line to my user data:
``` resolved. conf
runcmd:
- |
cat << EOL > /etc/systemd/
[Resolve]
DNS=8.8.8.8
EOL
- |
cat << EOL > /etc/resolv.conf
nameserver 127.0.0.53
EOL
- systemctl enable systemd-resolved
- systemctl start systemd-resolved
```
But I think it's worth doing something about it.