Noxwizard / dnscrypt-winclient

Windows client for managing the DNSCrypt Proxy
MIT License
402 stars 81 forks source link

Allow connecting to OpenDNS' IPv6 address #3

Closed Noxwizard closed 12 years ago

Noxwizard commented 12 years ago

OpenDNS has two addresses available on their IPv6 sandbox: 2620:0:ccc::2 2620:0:ccd::2

This is simple enough to do, if they choose to use the IPv6 connection, just set the --resolver-address parameter to one of those.

However, we should check to see that the user is actually capable of using IPv6 on the available cards before offering the selection. To do this, we can use the IPInterfaceProperties class and see if an exception is thrown while trying to call GetIPv6Properties() or not. At that point, we can add a marker next to the list entry stating that the card has IPv6. After that, it's up to the user to only check the box when they've enabled DNSCrypt on an IPv6 supported device.

Noxwizard commented 12 years ago

Implemented in be32ae678c.