* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "lua-recursor4.hh"
#include <fstream>
-#include "logger.hh"
-#include "dnsparser.hh"
#include "syncres.hh"
+#include "logger.hh"
#include "namespaces.hh"
#include "rec_channel.hh"
#include "ednsoptions.hh"
#include "filterpo.hh"
#include "rec-snmp.hh"
#include <unordered_set>
+#include "lua-recursor4.hh"
static int followCNAMERecords(vector<DNSRecord>& ret, const QType& qtype)
{
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#include "syncres.hh"
#include "utility.hh"
#include "lwres.hh"
#include <iostream>
#include "pdnsexception.hh"
#include "arguments.hh"
#include "sstuff.hh"
-#include "syncres.hh"
#include "dnswriter.hh"
#include "dnsparser.hh"
#include "logger.hh"
#include <sys/stat.h>
#include <unistd.h>
+#include "recpacketcache.hh"
#include "ws-recursor.hh"
#include <pthread.h>
-#include "recpacketcache.hh"
#include "utility.hh"
#include "dns_random.hh"
#ifdef HAVE_LIBSODIUM
+#include "protobuf.hh"
#include "gettime.hh"
#include "dnsparser.hh"
-#include "protobuf.hh"
#include "dnsparser.hh"
#include "gettime.hh"
#include "config.h"
-#include "dnsname.hh"
-#include "iputils.hh"
-
#ifdef HAVE_PROTOBUF
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include "dnsmessage.pb.h"
#endif /* HAVE_PROTOBUF */
+#include "dnsname.hh"
+#include "iputils.hh"
+
class DNSProtoBufMessage
{
public:
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#include "mtasker.hh"
#include "syncres.hh"
+#include "mtasker.hh"
#include "rec_channel.hh"
#include "iputils.hh"
#include "logger.hh"
#include <fstream>
#include <thread>
#include "namespaces.hh"
+#include "syncres.hh"
#include "logger.hh"
#include "rec-lua-conf.hh"
#include "sortlist.hh"
#include "filterpo.hh"
-#include "syncres.hh"
#include "rpzloader.hh"
#include "base64.hh"
#include "remote_logger.hh"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#include "syncres.hh"
#include "utility.hh"
#include "rec_channel.hh"
#include <boost/bind.hpp>
#endif
#include "misc.hh"
#include "recursor_cache.hh"
-#include "syncres.hh"
#include "negcache.hh"
#include <boost/function.hpp>
#include <boost/optional.hpp>
*/
#ifndef PDNS_RECPACKETCACHE_HH
#define PDNS_RECPACKETCACHE_HH
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+#include "rec-protobuf.hh"
+
#include <string>
#include <set>
#include <inttypes.h>
#include "packetcache.hh"
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-#include "rec-protobuf.hh"
using namespace ::boost::multi_index;
#include <cinttypes>
+#include "syncres.hh"
#include "recursor_cache.hh"
#include "misc.hh"
#include <iostream>
#include "dnsrecords.hh"
#include "arguments.hh"
-#include "syncres.hh"
#include "recursor_cache.hh"
#include "cachecleaner.hh"
#include "namespaces.hh"
+#include "syncres.hh"
#include "dnsparser.hh"
#include "dnsrecords.hh"
#include "ixfr.hh"
-#include "syncres.hh"
#include "resolver.hh"
#include "logger.hh"
#include "rec-lua-conf.hh"
#include "config.h"
#endif
+#include "syncres.hh"
#include "arguments.hh"
#include "cachecleaner.hh"
#include "dns_random.hh"
#include "logger.hh"
#include "lua-recursor4.hh"
#include "rec-lua-conf.hh"
-#include "syncres.hh"
#include "dnsseckeeper.hh"
#include "validate-recursor.hh"
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#pragma once
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef HAVE_PROTOBUF
+#include <boost/uuid/uuid.hpp>
+#include <boost/uuid/uuid_generators.hpp>
+#endif
+
#include <string>
#include <atomic>
#include "utility.hh"
#include "filterpo.hh"
#include "negcache.hh"
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#ifdef HAVE_PROTOBUF
-#include <boost/uuid/uuid.hpp>
-#include <boost/uuid/uuid_generators.hpp>
-#endif
-
class RecursorLua4;
typedef map<
+#include "syncres.hh"
#include "validate.hh"
#include "validate-recursor.hh"
-#include "syncres.hh"
#include "logger.hh"
DNSSECMode g_dnssecmode{DNSSECMode::ProcessNoValidate};
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#include "syncres.hh"
#include "ws-recursor.hh"
#include "json.hh"
#include "rec_channel.hh"
#include "arguments.hh"
#include "misc.hh"
-#include "syncres.hh"
#include "dnsparser.hh"
#include "json11.hpp"
#include "webserver.hh"