For those who want to truly wipe the device but keep the bypass, you need to delete the setup app entirely.
had a permanent hardware vulnerability (Limera1n) that allowed users to bypass iCloud with just a USB cable and software like The iPhone 4s (A5 chip) Iphone 4s Ios 9.3.6 Icloud Bypass
The DNS bypass was very popular years ago, but it is highly unreliable today as the servers running the exploits are often shut down. The iPhone 4s is particularly bad at this because iOS 9 handles network handshakes differently than iOS 10+. For those who want to truly wipe the