REORG: include: move dns.h to haproxy/dns{,-t}.h
The files were moved as-is.
diff --git a/src/cfgparse.c b/src/cfgparse.c
index 23a290e..5302a18 100644
--- a/src/cfgparse.c
+++ b/src/cfgparse.c
@@ -38,6 +38,7 @@
#include <haproxy/api.h>
#include <common/cfgparse.h>
#include <haproxy/chunk.h>
+#include <haproxy/dns.h>
#include <haproxy/errors.h>
#include <haproxy/pool.h>
#include <haproxy/tools.h>
@@ -52,14 +53,12 @@
#include <types/obj_type.h>
#include <types/peers.h>
#include <types/mailers.h>
-#include <types/dns.h>
#include <types/stats.h>
#include <proto/acl.h>
#include <proto/backend.h>
#include <proto/channel.h>
#include <proto/checks.h>
-#include <proto/dns.h>
#include <proto/stats.h>
#include <proto/filters.h>
#include <proto/frontend.h>
diff --git a/src/checks.c b/src/checks.c
index 81ca77b..314a1b2 100644
--- a/src/checks.c
+++ b/src/checks.c
@@ -34,6 +34,7 @@
#include <haproxy/api.h>
#include <common/cfgparse.h>
#include <haproxy/chunk.h>
+#include <haproxy/dns.h>
#include <haproxy/istbuf.h>
#include <haproxy/list.h>
#include <haproxy/regex.h>
@@ -46,7 +47,6 @@
#include <haproxy/htx.h>
#include <types/global.h>
-#include <types/dns.h>
#include <types/stats.h>
#include <haproxy/arg.h>
@@ -67,7 +67,6 @@
#include <proto/task.h>
#include <proto/vars.h>
#include <proto/log.h>
-#include <proto/dns.h>
#include <haproxy/proto_udp.h>
#include <proto/ssl_sock.h>
#include <proto/sample.h>
diff --git a/src/cli.c b/src/cli.c
index 11c8dc5..7f51a9b 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -28,6 +28,7 @@
#include <haproxy/api.h>
#include <common/cfgparse.h>
+#include <haproxy/dns-t.h>
#include <haproxy/list.h>
#include <haproxy/tools.h>
#include <haproxy/ticks.h>
@@ -38,7 +39,6 @@
#include <types/applet.h>
#include <types/global.h>
-#include <types/dns.h>
#include <types/stats.h>
#include <haproxy/activity.h>
diff --git a/src/dns.c b/src/dns.c
index d251674..c1fe1e2 100644
--- a/src/dns.c
+++ b/src/dns.c
@@ -22,6 +22,7 @@
#include <haproxy/action.h>
#include <haproxy/api.h>
#include <common/cfgparse.h>
+#include <haproxy/dns.h>
#include <haproxy/errors.h>
#include <haproxy/time.h>
#include <haproxy/ticks.h>
@@ -30,13 +31,11 @@
#include <types/applet.h>
#include <types/cli.h>
#include <types/global.h>
-#include <types/dns.h>
#include <types/stats.h>
#include <proto/channel.h>
#include <proto/cli.h>
#include <proto/checks.h>
-#include <proto/dns.h>
#include <haproxy/fd.h>
#include <proto/http_ana.h>
#include <proto/http_rules.h>
diff --git a/src/haproxy.c b/src/haproxy.c
index 33b4abf..95c35de 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -85,6 +85,7 @@
#include <haproxy/base64.h>
#include <common/cfgparse.h>
#include <haproxy/chunk.h>
+#include <haproxy/dns.h>
#include <haproxy/dynbuf.h>
#include <haproxy/errors.h>
#include <haproxy/hlua.h>
@@ -130,7 +131,6 @@
#include <proto/stream.h>
#include <proto/signal.h>
#include <proto/task.h>
-#include <proto/dns.h>
#include <proto/vars.h>
#include <proto/ssl_sock.h>
diff --git a/src/server.c b/src/server.c
index 5c26de3..468814c 100644
--- a/src/server.c
+++ b/src/server.c
@@ -19,6 +19,7 @@
#include <common/cfgparse.h>
#include <haproxy/dict-t.h>
+#include <haproxy/dns.h>
#include <haproxy/errors.h>
#include <haproxy/namespace.h>
#include <haproxy/time.h>
@@ -27,7 +28,6 @@
#include <types/cli.h>
#include <types/global.h>
#include <types/cli.h>
-#include <types/dns.h>
#include <types/stats.h>
#include <proto/applet.h>
@@ -43,7 +43,6 @@
#include <proto/stream_interface.h>
#include <proto/stats.h>
#include <proto/task.h>
-#include <proto/dns.h>
#include <netinet/tcp.h>
#include <import/ebsttree.h>
diff --git a/src/stats.c b/src/stats.c
index 2700ab5..8f67874 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -28,6 +28,7 @@
#include <common/cfgparse.h>
#include <haproxy/compression.h>
#include <haproxy/debug.h>
+#include <haproxy/dns.h>
#include <haproxy/http.h>
#include <haproxy/http_htx.h>
#include <haproxy/htx.h>
@@ -43,14 +44,12 @@
#include <types/applet.h>
#include <types/cli.h>
#include <types/global.h>
-#include <types/dns.h>
#include <types/stats.h>
#include <proto/backend.h>
#include <proto/channel.h>
#include <proto/checks.h>
#include <proto/cli.h>
-#include <proto/dns.h>
#include <proto/stats.h>
#include <haproxy/fd.h>
#include <haproxy/freq_ctr.h>
diff --git a/src/stream.c b/src/stream.c
index 151dbf0..b2c71d6 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -18,6 +18,7 @@
#include <haproxy/api.h>
#include <common/cfgparse.h>
#include <haproxy/dict.h>
+#include <haproxy/dns.h>
#include <haproxy/dynbuf.h>
#include <haproxy/hlua.h>
#include <haproxy/istbuf.h>
@@ -40,7 +41,6 @@
#include <proto/checks.h>
#include <proto/cli.h>
#include <proto/connection.h>
-#include <proto/dns.h>
#include <proto/stats.h>
#include <haproxy/fd.h>
#include <proto/filters.h>
diff --git a/src/tools.c b/src/tools.c
index ecdbe1f..2b02a24 100644
--- a/src/tools.c
+++ b/src/tools.c
@@ -41,12 +41,12 @@
#include <haproxy/api.h>
#include <haproxy/chunk.h>
+#include <haproxy/dns.h>
#include <haproxy/hlua.h>
#include <haproxy/namespace.h>
#include <haproxy/tools.h>
#include <types/global.h>
#include <proto/applet.h>
-#include <proto/dns.h>
#include <proto/listener.h>
#include <haproxy/proto_udp.h>
#include <proto/ssl_sock.h>