I have P2P disabled from UI but still see DNS requests for easy4ip from my Dahua IPC-HDW5231R-ZE and it tries to connect AWS. I don't see the same for IPC-HDW5231R-Z. Both are at firmware 2.640.0000002.0.R, Build Date: 2018-05-23 posted on this thread.
Also after reboot the P2P option gets back...