Running home assistant docker on Ubuntu 20. I get logs stating that HASS cant update itself, and also I am unable to use notify via gmail SMTP relay. Please see logs below, and also the output from nslookup inside the docker container. I’ve got no clue, this is my first time using docker. Not sure if the nslookup even has any significance or why it would work with a designated server but not without. Any advice would be appreciated.
2021-03-03 14:19:10 ERROR (MainThread) [homeassistant.components.updater] Error requesting Home Assistant update data: Cannot connect to host updater.home-assistant.io:443 ssl:default [Try again]
2021-03-03 14:19:10 ERROR (SyncWorker_0) [homeassistant.components.smtp.notify] SMTP server not found or refused connection (smtp.gmail.com:587). Please check the IP address, hostname, and availability of your SMTP server
redacted@ubuntu:~$ docker exec -it homeassistant sh
/config # nslookup smtp.gmail.com
Server: 172.30.32.3
Address: 172.30.32.3#53
** server can't find smtp.gmail.com: REFUSED
/config # nslookup smtp.gmail.com 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: smtp.gmail.com
Address: 108.177.122.109
Name: smtp.gmail.com
Address: 2607:f8b0:4002:c02::6d