Muaj pes tsawg bytes ntev yog tag nrho DNS header?
Muaj pes tsawg bytes ntev yog tag nrho DNS header?

Video: Muaj pes tsawg bytes ntev yog tag nrho DNS header?

Video: Muaj pes tsawg bytes ntev yog tag nrho DNS header?
Video: Sib Hawm Dhau (Time Passed) Music Video by: Deeda/Dib Xwb 2024, Kaum ib hlis
Anonim

Cov DNS header yog 12 bytes ntev.

Ib yam li ib tug yuav nug, pes tsawg bytes ntev yog tag nrho cov ntawv thov DNS?

Qhov ntev ntawm UDP ntu yog 44 bytes uas txhais tau tias qhov loj ntawm lub DNS lus nug lus yog tseeb 24 bytes (44–20). Muab qhov no piv rau daim duab 2 uas qhia txog a pob ntawv rau a DNS teb. Nws muaj tag nrho pob ntawv loj 206 bytes uas cov lus teb ua rau 152 bytes.

Tsis tas li ntawd, pob ntawv DNS loj npaum li cas? Thaum ib tug neeg xa ib DNS qhia rau koj DNS server, feem ntau cov pob ntawv ntev yog nyob nruab nrab ntawm 50 thiab 550 bytes (xws li IP header), yog li peb tuaj yeem lim (lossis tus nqi txwv) pob ntawv uas poob sab nraum qhov chaw no.

Kuj nug, pes tsawg bytes yog DNS thov?

DNS raws tu qauv siv hom lus sib xws rau txhua qhov kev sib pauv ntawm cov neeg siv khoom thiab cov neeg rau zaub mov lossis ntawm cov servers. Cov lus DNS yog encapsulated tshaj UDP lossis TCP siv "qhov chaw nres nkoj paub zoo" 53. DNS siv UDP rau cov lus me dua. 512 ib (lus thov thiab teb).

Muaj pes tsawg me ntsis yog qhov pauv ID teb?

32bit ib

Pom zoo: