I use my android phone(s) as a wifi hotspot, clients get IPs from the 192.168.43.0/24 network. Previously, when the phone was running android 9, internal name resolution for those clients worked fine, as those were configured to:
[root@laptop1 username]# cat /etc/dhclient.conf
send host-name = gethostname();
and nslookup laptop1 yielded 192.168.43.xxx on laptop2.
Now, after the change to android 10 (new phone), this no longer works.
It seems like it is because dnsmasq was replaced with something else in A10 (Hotspot mobile network tethering and DNS). How do I get the original behavior back? Thanks.
Rooting is not an option, unfortunately.
dnsmasq
). Explanation on how things work is in my answer to https://android.stackexchange.com/a/215878/218526 – Irfan Latif May 16 '21 at 08:46