Added a method to disable IPv6 resolution.