[HOW TO] get domain search list under android working

Started by Wired Life, December 15, 2021, 07:50:30 PM

Previous topic - Next topic
December 15, 2021, 07:50:30 PM Last Edit: December 16, 2021, 05:07:27 AM by Wired Life
Hello guys,
here a tutorial from me in English to get the domain search list under Android running.
As you may know, Android will not process or accept a from the dhcp server published domain search list.
The problem and the fix is described here:
https://www.manualslib.com/manual/1761369/Sennheiser-Mobileconnect.html?page=30

To get this running here the simple steps:
On the OPNsense WebIF select your desired network under Services -> DHCPv4
Domain name: PrimaryDomain <- note your domain
Domain search list: <your noted domain followed by the domains you want in search list, separated by semicolon>
Last item Additional Options -> click Advanced
Number: 15
Type: Text
Value: <your noted domain followed by the domains you want in search list, separated by spaces>
Click Save
Reconnect your Client and enjoy :D

Thanks to "micneu" for the "Additional Options hint"!

Very interesting and rare. Have long term problems with Android clients exactly because of this. But i used 15, 119, and the Domain Server Name, and it's still not adding the domain name. Unbound->NXDOMAIN. However Dnsmasq can resolve all (hostname, hostname., hostname.domain).
Deleting them is an option in DHCP, but that's not possible for main settings that Unbound takes. Actually i don't need any domain at all, all it does it's spamming the DNS logs with requests that don't make sense. I use hostname for LAN and hostname.domain only for WAN.