Skip to content

Commit c400f34

Browse files
committed
Spelling Corrected and minor clarification in comments
1 parent 557d9c7 commit c400f34

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

libraries/DNSServer/src/DNSServer.h

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#define DNS_SOA_MNAME_LABEL "ns"
1313
#define DNS_SOA_RNAME_LABEL "esp32"
14-
// The POSTFIX_LABEL will be concatinated to the RName and MName Label label
14+
// The POSTFIX_LABEL will be concatenated to the RName and MName Label label
1515
// do not use a multilabel name here. "local" is a good choice as it is reserved for
1616
// local use by IANA
1717
// The postfix label is defined as an array of characters that follows the
@@ -22,10 +22,12 @@
2222
{ '\5', 'l', 'o', 'c', 'a', 'l', '\0' }
2323
// From the following values only the MINIMAL_TTL has relevance
2424
// in the context of client-server protocol interactions.
25-
#define DNS_SOA_SERIAL 2025052900 // Arbitrary
26-
#define DNS_SOA_REFRESH 100000 // Arbitrary
27-
#define DNS_SOA_RETRY 10000 // Arbitrary
28-
#define DNS_SOA_EXPIRE 1000000 // Arbitrary
25+
// The other vallues are arbitrary chosen as they are only relevant for
26+
// in a zone-transfer scenario.
27+
#define DNS_SOA_SERIAL 2025052900 // Arbitrary serial (format: YYYYMMDDnn)
28+
#define DNS_SOA_REFRESH 100000 // Arbitrary (seconds)
29+
#define DNS_SOA_RETRY 10000 // Arbitrary (seconds)
30+
#define DNS_SOA_EXPIRE 1000000 // Arbitrary (seconds)
2931
#define DNS_MINIMAL_TTL 5 // Time to live for negative answers RFC2308
3032
enum class DNSReplyCode : uint16_t {
3133
NoError = 0,

0 commit comments

Comments
 (0)