I and probably others know, if turning on the mobile hotspot and enable wifi-tethering, we are able to use our android phone to get internet access via a notebook (and other devices of course) connected to this android hotspot over WiFi.
Our phone also then acts as a router, since tethering spans a private network, I usually know it as 192.168.43.xxx to forward requests from the notebook to the outside world, the internet which is enabled by receiving a public IP from the service provider.
What I am looking for, is a DNS service running on this tethering phone on the private side of the network. I'd like to reach my devices via hostnames on the little private LAN provided by the tethering phone.
I know there are lots of options and public discussions to tune DNS settings on the public side of the hotspot (8.8.8.8, 1.1.1.1 and things like that). Since A9 there is even a private DNS option. But all this stuff is not what I am looking for.
So to configure my question: How can I enable a DNS service on the private side of my tethering hotspot on an Android 10 (Lineage 17.1) device?