DNS, cu mâna ta.DNS, hands on.
Mai jos e DNS-ul unui domeniu de probă. Trimite câțiva vizitatori, apoi schimbă un rând și vezi unde ajung.Below is the DNS of a practice domain. Send a few visitors over, then change a record and see where they end up.
Totul e o simulare: proba-ta.ro nu există pe internet și nimic de aici nu pleacă din browserul tău. Adresele 203.0.113.x și 2001:db8:: sunt rezervate pentru exemple, iar posta.example e un furnizor de email inventat.It's all a simulation: proba-ta.ro doesn't exist on the internet and nothing here leaves your browser. The addresses 203.0.113.x and 2001:db8:: are reserved for examples, and posta.example is a made-up email provider.
Un domeniu e un tabel mic. Și un ceas.A domain is a small table. And a clock.
A dă adresa IPv4 a serverului, AAAA pe cea IPv6. CNAME spune că un nume e de fapt alt nume, ca www → proba-ta.ro; de aceea nu poate sta lângă alte rânduri cu același nume, nici la @. MX spune ce server primește emailul. TXT ține text: dovada că domeniul e al tău sau, la _dnslink, ce CID de IPFS are site-ul.A gives the server's IPv4 address, AAAA its IPv6 one. CNAME says one name is really another, like www → proba-ta.ro; that's why it can't sit next to other records with the same name, nor at @. MX says which server receives the email. TXT holds text: proof that the domain is yours or, at _dnslink, which IPFS CID the site has.
Tabelul stă pe nameservere, pe care le alegi la registrar. Ca să nu le întrebe toată lumea de fiecare dată, resolverul (al furnizorului de internet, sau unul public ca 1.1.1.1) ține minte fiecare răspuns atâtea secunde câte zice TTL-ul, chiar și „nu există”. Propagarea nu e ceva care călătorește: e timpul până expiră răspunsurile vechi. Înainte să muți un site, scade TTL-ul la 300 cu o zi înainte.The table lives on nameservers, which you choose at the registrar. So that not everyone asks them every time, the resolver (your internet provider's, or a public one like 1.1.1.1) remembers each answer for as many seconds as the TTL says, even "doesn't exist". Propagation isn't something that travels: it's the time until the old answers expire. Before you move a site, lower the TTL to 300 a day ahead.
$ dig proba-ta.ro A proba-ta.ro. 300 IN A 203.0.113.10 $ dig www.proba-ta.ro CNAME www.proba-ta.ro. 300 IN CNAME proba-ta.ro. $ weird dns numele-tau.rodig scrie mult; răspunsul e sub ANSWER SECTION. proba-ta.ro există doar aici, așa că încearcă pe un domeniu adevărat. weird dns îți arată toate rândurile domeniului tău.dig prints a lot; the answer is under ANSWER SECTION. proba-ta.ro only exists here, so try a real domain. weird dns shows every record of your domain.
„Fă ca blog.numele-tau.ro să ducă la același site ca numele-tau.ro și explică-mi ce înregistrare ai adăugat.”
"Make blog.your-name.ro lead to the same site as your-name.ro and explain which record you added."