Running DNS server from HASS

Hi

I am very new to HAss, so I might say something very wrong. I need to run a DNS server after upgrading my HAss with SSL via letsencrypt. Now, I am running stock HAss installed with pip install, so I can’t use hass.io addons (or am I wrong on that), but would like something like https://www.home-assistant.io/addons/dnsmasq/

is there an easy way to solve this?

Thanks!

First why the need for a dns server? Especially in connection with duckdns and LE?

No you can’t use add ons. You have to run Hassio.

What OS are you running?

What are you trying to accomplish that your current dns server isn’t.

Shifting to SSL broke my home system:

  1. My tts doesn’t work anymore

  2. I have an android running tasker receiving commands via BLE buttons that it http posts to HAss, but it doesn’t work any more, because the local ip is not in the certificate

  3. Same problem with the tablet I installed on the wall that is accessing HAss via WallPanel android app, it doen’t work because of the certificate issue.

So, I have to set up a local DNS, so that it can resolve https://XXXXXXXX.duckdns.org to my local server ip 192.168.XXX.XXX:8123.

Does that make sense?

Stripped down version of Linux on an Asustor AS-302T

I temporarily solved this by setting up a DNS server on a permanently connected Android device.

Permanently solved the problem by installing Entware-ng on my Asustor AS-302T and then installing the dnsmasq-full package and setting it up as the DNS server with address=/my_hass.duckdns.org/192.168.hass.ip. It took a while for me to figure out (no linux guy), but it works really well.