Thanks for the pointer to resolve this issue for me. I don’t know that this is a solution for the ‘common man’ using Plex on a Shield/Android device though.
So my setup is using OpnSense for the router, the DHCP server, and is the DNS resolver is Unbound for my local network.
If I assign a public DNS server to my Shield, such as 1.1.1.1, the new player works as expected. So via the DHCP settings, I can assign that one host the DNS server of 1.1.1.1 and be done with it. However, I don’t think that will work with all of my local media that might be on a different server for other applications on the Shield.
My solution is modify my router’s DNS server, Unbound, Domain Overrides setting under Services: Unbound DNS: Overrides. The host is plex.direct and the IP is 1.1.1.1. Once the DNS service was restarted, the new player on the Shield works as I expected.
So the next two code blocks are running the dig command against the host name. The difference is the second version has an answer reply that the first is missing.
Before the setting is applied:
[chuck@chucklap ~]$ dig 10-1-1-145.c0c670ab10c840dc8973263b668dcdc8.plex.direct
; <<>> DiG 9.11.18-RedHat-9.11.18-1.fc32 <<>> 10-1-1-145.c0c670ab10c840dc8973263b668dcdc8.plex.direct
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27587
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;10-1-1-145.c0c670ab10c840dc8973263b668dcdc8.plex.direct. IN A
;; Query time: 69 msec
;; SERVER: 10.1.1.1#53(10.1.1.1)
;; WHEN: Tue Apr 28 21:33:56 EDT 2020
;; MSG SIZE rcvd: 86
After the setting is applied:
[chuck@chucklap ~]$ dig 10-1-1-145.c0c670ab10c840dc8973263b668dcdc8.plex.direct
; <<>> DiG 9.11.18-RedHat-9.11.18-1.fc32 <<>> 10-1-1-145.c0c670ab10c840dc8973263b668dcdc8.plex.direct
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42603
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;10-1-1-145.c0c670ab10c840dc8973263b668dcdc8.plex.direct. IN A
;; ANSWER SECTION:
10-1-1-145.c0c670ab10c840dc8973263b668dcdc8.plex.direct. 86284 IN A 10.1.1.145
;; Query time: 2 msec
;; SERVER: 10.1.1.1#53(10.1.1.1)
;; WHEN: Tue Apr 28 21:57:03 EDT 2020
;; MSG SIZE rcvd: 102
I don’t like that this is what it takes to get it to work. I believe Plex should figure out why they are requiring this rebinding and get rid of the requirement.