Add status condition for DNS TTL
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- go
- Ambito
- networking
Direzione di ricerca
Inizia tracciando lo stato di DNSRecord e la condizione Ready esistente, quindi determina come ottenere il TTL del record e il TTL di caching negativo di SOA. Definisci come la nuova condizione Propagated debba essere applicata a DNSRecord ed eventualmente a DNSPolicy, inclusi i relativi messaggi true e false. Il lavoro è completato quando la condizione indica in modo affidabile se è trascorso il periodo di TTL pertinente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
In the DNS, TTL is a time value which makes changes to the zone not have an immediate impact. Therefore to be 100% sure the required dns record can be queried by all users a dns propagation must happen. First step is to ensure all nameservers contain the required zone state, still is currently handled in the Ready status condition. But additionally either TTL of the changed record or negative caching TTL (or TTL of SOA records itself, always the minimum of the values) value of time must pass to be sure that all caching recursive resolvers will flush their cache to retrieve the new changes and this will complete the DNS propagation, this can be shown in a separate "Propagated" condition.
Describe the solution you'd like
For DNSRecord (and eventually also DNSPolicy) a new status condition should be added which would track time from the most recent change until expiration of TTL of either 1. Existing DNS record TTL or 2. Negative caching TTL defined in SOA record and give two answers. Either "Propagated" or "Not propagated"
status:
conditions:
- lastTransitionTime: 'xxx'
message: DNS record is propagated
status: 'True'
type: Propagated
or
status:
conditions:
- lastTransitionTime: 'xxx'
message: DNS record is propagating, TTL=xx
status: 'False'
type: Propagated
This will give the user some additional information if their DnsRecord (DNSPolicy) has been applied globally.
Additionally this could also affect the Ready condition, but I think this condition can be separated.
Describe alternatives you've considered
The information for calculating the "DNS Propagation" is all contained in the DNSRecord such as lastTransitionTime and TTL of the existing record, only missing information is negative caching TTL contained in SOA record which can be retrieved from dns query. So user could calculate this information if needed, but I still think having a status condition would be a good idea.
- Lingua principale
- Go
- Stelle
- 13
- Fork
- 26
- Merge medio
- 1g 9h
- PR unite (30g)
- 4
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Kuadrant/dns-operator
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
Kuadrant/dns-operator#855 ·
-
Change docs to reference FQN for Kuadrant CRs (e.g. dnsrecords.kuadrant.io)Forse di nuovo libera @nXtCyberNet l’ha presa 210 giorni fa e non c’è nessuna pull request aperta. Apertadocumentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Kuadrant/dns-operator#724 · 2 commenti ·
-
kind/bug provider
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
Kuadrant/dns-operator#854 ·
-
Deploy CoreDNS from dns-operator at startup via embedded manifestsForse di nuovo libera @philbrookes l’ha presa 70 giorni fa e non c’è nessuna pull request aperta. Apertacoredns plugin kind/feature OLMv1
Kuadrant/dns-operator#843 · 1 assegnatario ·
-
Document group-aware metrics with example Grafana queriesForse di nuovo libera @philbrookes l’ha presa 105 giorni fa e non c’è nessuna pull request aperta. Aperta
Kuadrant/dns-operator#819 · 1 assegnatario ·
Tutte le issue di Kuadrant/dns-operator
Issue simili
-
go_tool_binary: GOMAXPROCS=1 makes a cold builder build 3-4x slowerForse già presa @TrapsterDK l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
bazel-contrib/rules_go#4816 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
mark3labs/mcp-go#1397 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
fix(tool/internal/setup): clearer errors when loading rule files from OTELC_RULESForse già presa @NeoSamyak l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
open-telemetry/opentelemetry-go-compile-instrumentation#1946 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[ci] Publish Committer Docker Hub images under lfdtchaguarForse già presa @cendhu l’ha presa oggi. Apertadeployment enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
alibaba/MongoShake#1077 ·
I maintainer di solito rispondono entro 1 giorno