diff --git a/ircd/server.cc b/ircd/server.cc index 62ac04af6..eeda76824 100644 --- a/ircd/server.cc +++ b/ircd/server.cc @@ -1056,7 +1056,7 @@ try // Setup the address record query off this SRV response. net::dns::opts opts; - opts.qtype = 28; + opts.qtype = bool(peer::enable_ipv6) && bool(net::enable_ipv6)? 28: 1; log::debug {