commit | e83915d10d7180c40b5cb14fc7a47eac23cfc270 | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Tue Apr 10 21:27:26 2018 +0100 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Tue Apr 10 21:27:26 2018 +0100 |
tree | 211ee96d7c0f5f826bc3a3e176a8045972c07fe7 | |
parent | 6d37924b860fbbc53de0489a724bb2a0a3295d9a [diff] |
Set V6ONLY on DNS upstream socket. If query-port is set, we create sockets bound to the wildcard address and the query port for IPv4 and IPv6, but the IPv6 one fails, because is covers IPv4 as well, and an IPv4 socket already exists (it gets created first). Set V6ONLY to avoid this.