#include "config.h"
#endif
#include "mplexer.hh"
+#include "syncres.hh"
#include "sstuff.hh"
#include <iostream>
#include <unistd.h>
#include "misc.hh"
-#include "syncres.hh"
#ifdef __linux__
#include <sys/epoll.h>
#endif
-#include "namespaces.hh"
#include "namespaces.hh"
class EpollFDMultiplexer : public FDMultiplexer
* 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 "ednssubnet.hh"
#include "filterpo.hh"
#include <unordered_set>
+#include "lua-recursor4.hh"
#if !defined(HAVE_LUA)
RecursorLua4::RecursorLua4(const std::string &fname)
#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>
*/
#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 <boost/tuple/tuple_comparison.hpp>
#include <boost/multi_index/sequenced_index.hpp>
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-#include "rec-protobuf.hh"
-
-
using namespace ::boost::multi_index;
//! Stores whole packets, ready for lobbing back at the client. Not threadsafe.
#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 "rpzloader.hh"
#include "zoneparser-tng.hh"
#include "dnsparser.hh"
#include "dnsrecords.hh"
-#include "syncres.hh"
#include "resolver.hh"
#include "logger.hh"
#include "rec-lua-conf.hh"
#endif
#include <boost/algorithm/string.hpp>
+#include "syncres.hh"
#include "lua-recursor4.hh"
#include "utility.hh"
-#include "syncres.hh"
#include <iostream>
#include <map>
#include "dnsrecords.hh"
*/
#ifndef PDNS_SYNCRES_HH
#define PDNS_SYNCRES_HH
+
+#include "config.h"
+#ifdef HAVE_PROTOBUF
+#include <boost/uuid/uuid.hpp>
+#include <boost/uuid/uuid_generators.hpp>
+#endif
+
#include <string>
#include <atomic>
#include "utility.hh"
#include "ednssubnet.hh"
#include "filterpo.hh"
-#include "config.h"
-#ifdef HAVE_PROTOBUF
-#include <boost/uuid/uuid.hpp>
-#include <boost/uuid/uuid_generators.hpp>
-#endif
-
void primeHints(void);
int getRootNS(void);
class RecursorLua4;
#include "config.h"
#endif
#include <boost/test/unit_test.hpp>
+#include "recpacketcache.hh"
#include "dnswriter.hh"
#include "dnsrecords.hh"
#include "dns_random.hh"
#include "iputils.hh"
-#include "recpacketcache.hh"
#include <utility>
+#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"