From 111cbe0ffa99a21b8f7ca0df1883162a7c42ebdf Mon Sep 17 00:00:00 2001 From: Dhia Ayachi Date: Wed, 23 Jun 2021 09:34:34 -0400 Subject: [PATCH] merge dns table with current dns page --- contributing/service-discovery/dns-matrix.md | 12 ------------ contributing/service-discovery/dns.md | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 12 deletions(-) delete mode 100644 contributing/service-discovery/dns-matrix.md diff --git a/contributing/service-discovery/dns-matrix.md b/contributing/service-discovery/dns-matrix.md deleted file mode 100644 index 33b32a4d84..0000000000 --- a/contributing/service-discovery/dns-matrix.md +++ /dev/null @@ -1,12 +0,0 @@ -| | service | connect (enterprise) | ingress (enterprise) | node | query | addr | -|----------------|-------------------------|-------------------------|-------------------------|------------------------|-----------------|------------------------------| -| TypeSOA | Supported | Supported | Supported | Supported | Supported | Supported | -| TypeNS | Supported | Supported | Supported | Supported | Supported | Supported | -| TypeAXFR | Not Implemented | Not Implemented | Not Implemented | Not Implemented | Not Implemented | Not Implemented | -| TypeA/TypeAAAA | Supported | Supported | Supported | Supported | | Supported | -| TypeANY | Supported (return A) | Supported (return A) | Supported (return A) | Supported | | Supported (return A) | -| TypeCNAME | Supported (node cname) | Supported (node cname) | Supported (node cname) | Supported (node cname) | | return empty with A as extra | -| TypeOPT | Supported (node OPT) | Supported (node OPT) | Supported (node OPT) | Supported (node OPT) | | return empty with A as extra | -| TypePTR | Supported (node PTR) | Supported (node PTR) | Supported (node PTR) | Supported (node PTR) | | return empty with A as extra | -| TypeSRV | Supported (service SRV) | Supported (service SRV) | Supported (service SRV) | No error but empty | | return empty with A as extra | -| TypeTXT | Answer A record (????) | Answer A record (????) | Answer A record (????) | Supported | | return empty with A as extra | \ No newline at end of file diff --git a/contributing/service-discovery/dns.md b/contributing/service-discovery/dns.md index 599b9f2eea..cfc9566e33 100644 --- a/contributing/service-discovery/dns.md +++ b/contributing/service-discovery/dns.md @@ -24,5 +24,19 @@ the DNS protocol can be found in the RFCs: [RFC 1035], [RFC 6891], [RFC 2782], a The DNS interface is implemented as a DNS server using [miekg/dns] and the handlers for requests are in `agent/dns.go`. +The following table describe the current DNS behaviour depending on the dns query kind (node, service...), and the query type (A/AAAA, SRV...) + +| | service | connect (enterprise) | ingress (enterprise) | node | query | addr | +|----------------|-------------------------|-------------------------|-------------------------|------------------------|-----------------|------------------------------| +| TypeSOA | Supported | Supported | Supported | Supported | Supported | Supported | +| TypeNS | Supported | Supported | Supported | Supported | Supported | Supported | +| TypeAXFR | Not Implemented | Not Implemented | Not Implemented | Not Implemented | Not Implemented | Not Implemented | +| TypeA/TypeAAAA | Supported | Supported | Supported | Supported | | Supported | +| TypeANY | Supported (return A) | Supported (return A) | Supported (return A) | Supported | | Supported (return A) | +| TypeCNAME | Supported (node cname) | Supported (node cname) | Supported (node cname) | Supported (node cname) | | return empty with A as extra | +| TypeOPT | Supported (node OPT) | Supported (node OPT) | Supported (node OPT) | Supported (node OPT) | | return empty with A as extra | +| TypePTR | Supported (node PTR) | Supported (node PTR) | Supported (node PTR) | Supported (node PTR) | | return empty with A as extra | +| TypeSRV | Supported (service SRV) | Supported (service SRV) | Supported (service SRV) | No error but empty | | return empty with A as extra | +| TypeTXT | Answer A record (????) | Answer A record (????) | Answer A record (????) | Supported | | return empty with A as extra | [miekg/dns]: https://github.com/miekg/dns