mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
be234e4b6e
* snode to snode direct traffic * wire up dns on service node tun
20 lines
485 B
C++
20 lines
485 B
C++
#include <dns/name.hpp>
|
|
#include <dns/rr.hpp>
|
|
#include <dns/serialize.hpp>
|
|
#include <dns/message.hpp>
|
|
#include <dns/server.hpp>
|
|
|
|
namespace llarp
|
|
{
|
|
namespace dns
|
|
{
|
|
constexpr uint16_t qTypeTXT = 16;
|
|
constexpr uint16_t qTypeMX = 15;
|
|
constexpr uint16_t qTypePTR = 12;
|
|
constexpr uint16_t qTypeCNAME = 5;
|
|
constexpr uint16_t qTypeNS = 2;
|
|
constexpr uint16_t qTypeA = 1;
|
|
|
|
constexpr uint16_t qClassIN = 1;
|
|
} // namespace dns
|
|
} // namespace llarp
|