Skip to content

Commit

Permalink
Merge #20015
Browse files Browse the repository at this point in the history
20015: gcoap_dns: Housekeeping with regards to draft status r=miri64 a=miri64



Co-authored-by: Martine Lenders <m.lenders@fu-berlin.de>
  • Loading branch information
bors[bot] and miri64 authored Oct 25, 2023
2 parents 647a13c + 63fd564 commit 2b9e828
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion sys/include/net/coap.h
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,11 @@ extern "C" {
* @see [Web of Things (WoT) Thing Description 1.1](https://www.w3.org/TR/wot-thing-description11/)
*/
#define COAP_FORMAT_TM_JSON (433)
/**
* @brief Content-Type `application/dns-message`
* @see [draft-ietf-core-dns-over-coap](https://datatracker.ietf.org/doc/draft-ietf-core-dns-over-coap/)
*/
#define COAP_FORMAT_DNS_MESSAGE (553)
/**
* @brief Content-Type `application/voucher-cose+cbor`
* @see [draft-ietf-anima-constrained-voucher](https://datatracker.ietf.org/doc/draft-ietf-anima-constrained-voucher/)
Expand Down Expand Up @@ -500,7 +505,6 @@ extern "C" {
* @see [RFC 2318](https://www.w3.org/TR/SVG/mimereg.html)
*/
#define COAP_FORMAT_IMAGE_SVG_XML (30000)
#define COAP_FORMAT_DNS_MESSAGE (65053) /**< NON STANDARD! */
/** @} */

/**
Expand Down
2 changes: 1 addition & 1 deletion sys/include/net/gcoap/dns.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @brief A DNS over CoAP client prototype based on gCoAP.
*
* DNS over CoAP allows a node to use a CoAP server to resolve DNS request, following
* [draft-lenders-dns-over-coap](https://datatracker.ietf.org/doc/draft-lenders-dns-over-coap/).
* [draft-ietf-core-dns-over-coap](https://datatracker.ietf.org/doc/draft-ietf-core-dns-over-coap/).
*
* The `gcoap_dns` module does not replace the @ref sock_dns_query function when built, and is not
* used as a back-end to @ref netutils_get_ipv6 automatically. It does, however, provide a drop-in
Expand Down

0 comments on commit 2b9e828

Please sign in to comment.