pforemski / dingo

A DNS client in Go that supports Google DNS over HTTPS
761 stars 66 forks source link

Support for an additional EDNS client subnet for AAAA queries #21

Open denisu opened 7 years ago

denisu commented 7 years ago

It is useful on dual-stack connections with mixed AS-Numbers to specify both an IPv4 and IPv6 EDNS client subnet and use the IPv6 client subnet when asking for AAAA records. In that case, you would put your IPv4 subnet into -gdns:edns and your IPv6 subnet into -gdns:edns6

I am not sure how useful this will be for most users, but it has advantages in my setup. I would like to hear feedback or please feel free to close/ignore this pull request if it is beyond dingos scope.

Opensourcecommunitydevelopment commented 7 years ago

Makes Sense, for less configuration, if No subnet specified, google Domain Name Server/Service/Scheme/System guesses which is the nearest for you. Depending On the IP Protocol Version the Query is done !. Having one worker On Internet Protocol Version 4 for A querys and secondary over Internet Protocol Version 6 for AAAA would give the Best results, even On chaning, dynamic or Mobile IPS without the hassle of edit config All the time and restart Dingo Just because endns subnet Setting.