summaryrefslogtreecommitdiff
path: root/include/dns.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dns.h')
-rw-r--r--include/dns.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/dns.h b/include/dns.h
index 41f42f46a..9d6f161df 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -190,7 +190,7 @@ class DNS : public Extensible
static const int MAX_REQUEST_ID = 0xFFFF;
/**
- * Requests that are currently 'in flight
+ * Requests that are currently 'in flight'
*/
requestlist requests;
@@ -220,6 +220,11 @@ class DNS : public Extensible
int MakePayload(const char* name, const QueryType rr, const unsigned short rr_class, unsigned char* payload);
public:
+ /**
+ * The port number DNS requests are made on,
+ * and replies have as a source-port number.
+ */
+ static const int QUERY_PORT = 53;
/**
* Fill an rr (resource record) with data from input