How DNS and DHCP Servers Communicate (With wireshark)

  Рет қаралды 13,944

Hussein Nasser

Hussein Nasser

Күн бұрын

In this video I explain how DHCP work and how it updates DNS entries for new hosts joining the network. I'll also mention Zero Config
0:00 Intro
1:00 the Network configuration
6:00 Showing DHCP in Wireshark
6:30 DHCP Discover
14:40 DHCP Offer
19:00 DHCP Request
21:30 DHCP ACK
22:00 How DHCP Updates DNS
26:15 Zero Configuration (mDNS, Link-local)
Resources
Dhcp datatracker.ietf.org/doc/html...
Dynamic updates , dhcp RFC2136
datatracker.ietf.org/doc/html...
www.cisco.com/c/en/us/td/docs...
RFC 1497
www.rfc-editor.org/rfc/rfc149...
www.rfc-editor.org/rfc/rfc676...
Link-local
www.rfc-editor.org/rfc/rfc3927
Fundamentals of Backend Engineering Design patterns udemy course (link redirects to udemy with coupon)
backend.husseinnasser.com
Fundamentals of Networking for Effective Backends udemy course (link redirects to udemy with coupon)
network.husseinnasser.com
Fundamentals of Database Engineering udemy course (link redirects to udemy with coupon)
database.husseinnasser.com
Introduction to NGINX (link redirects to udemy with coupon)
nginx.husseinnasser.com
Python on the Backend (link redirects to udemy with coupon)
python.husseinnasser.com
Become a Member on KZbin
/ @hnasr
Buy me a coffee if you liked this
www.buymeacoffee.com/hnasr
Arabic Software Engineering Channel
/ @husseinnasser
🔥 Members Only Content
• Members-only videos
🏭 Backend Engineering Videos in Order
backend.husseinnasser.com
💾 Database Engineering Videos
• Database Engineering
🎙️Listen to the Backend Engineering Podcast
husseinnasser.com/podcast
Gears and tools used on the Channel (affiliates)
🖼️ Slides and Thumbnail Design
Canva
partner.canva.com/c/2766475/6...
Stay Awesome,
Hussein

Пікірлер: 18
@hnasr
@hnasr Жыл бұрын
Get my fundamentals of network engineering course network.husseinnasser.com
@KaranSharma-ew7io
@KaranSharma-ew7io Жыл бұрын
Your talks are top notch
@andreffrosa
@andreffrosa Жыл бұрын
11:07 you can't do that by default because most home routers don't have a local DNS, they just send to you the ISP's DNS resolver (or the one you configure in the router). The reason you can do that is because yo have bonjour (on apple) or havai (on linux and maybe windows), which don't even require a local dns server and are the implementartion of mDNS which you mentioned on the last past of the video. So this only works in networks where the DCHP server and the DNS server co-exist and the DHCP server is aware of this. Good video by the way
@prostem9500
@prostem9500 Жыл бұрын
Love the use of Wireshark in this video, It really helps understanding the subject. Hope you continue with it.
@Heyfa
@Heyfa Жыл бұрын
Really appreciate your content and the way you explain, and break down, concepts. Thank you so much
@AllMightGaming-AMG
@AllMightGaming-AMG Жыл бұрын
I just love the way you communicate, and how you dump your whole thought process! Can you explain how public IPs work? I mean how a dedicated public address is attached to a machine behind router(s) or NAT(s)?
@farzadmf
@farzadmf Жыл бұрын
SUUUPER nice video, great walkthrough and explanation, LOVED it!
@HarshKapadia
@HarshKapadia Жыл бұрын
Really interesting! Thank you Hussein!
@darpanmalhotra2
@darpanmalhotra2 Жыл бұрын
Just to make it complete: DHCP server adds RR dynamically when lease is assigned. Also, when the lease expires (i.e. 4h in this case), DHCP server removes the same RR.
@matnexmix6922
@matnexmix6922 Жыл бұрын
Niceeeeee, top-notch content Hussein... Why did the client send a broadcast again for the DHCP Request... 🤔🤔 Since it already knows the DHCP's IP address...? I'm curious 🧐
@Thank_Me_Later
@Thank_Me_Later Жыл бұрын
Hi 👋 I have a confusion that should I enable or disable 'DNS Relay' option in my router ? What exactly it is? What is the use .... If u make a video regarding this will be helpful ❤️
@anushree3744
@anushree3744 Жыл бұрын
@Hussein Waiting for your explanation on the New revised architecture of twitter shared by Elon
@tariqosman5811
@tariqosman5811 Жыл бұрын
💚💯💯👌👌🙏
@esmaelmohamed8209
@esmaelmohamed8209 Жыл бұрын
How could I become a member Hussein?? I mean PayPal not working from Ethiopia
@karanshah838
@karanshah838 Жыл бұрын
What happens if 2 devices have the same host name ? Will the connection to the router not happen ? If the connection to the router happens who will the packets be sent to ?
@TheAddictioneer
@TheAddictioneer Жыл бұрын
I’d say it’d follow the same DNS behaviour when two A records pointing to different IP Addresses. It’ll round robin. In work environment, Server admins will be the one controlling hostnames and A records.
@darpanmalhotra2
@darpanmalhotra2 Жыл бұрын
It boils down to de-duplication policies defined on DHCP server. A simple policy could be: husseinmac2.home.local, husseinmac2-a.home.local, husseinmac2-b.home.local, husseinmac2-c.home.local
@abdirahmann
@abdirahmann Жыл бұрын
this video kzbin.info/www/bejne/aqrYhWiBh5yHiMU will explain how a rogue dhcp attack can be prevented with a combination of port security and dhcp snooping. i really love and i respect that guy very much, he is a double CCIE. mad stuff!
How a Machine Becomes a Router | ip_forward
12:55
Hussein Nasser
Рет қаралды 6 М.
How hackers use DHCP
0:58
shenetworks
Рет қаралды 21 М.
когда достали одноклассники!
00:49
БРУНО
Рет қаралды 4 МЛН
ДЕНЬ РОЖДЕНИЯ БАБУШКИ #shorts
00:19
Паша Осадчий
Рет қаралды 6 МЛН
The DHCP process in Wireshark
6:35
danscourses
Рет қаралды 151 М.
DNS is beautiful
41:01
Hussein Nasser
Рет қаралды 45 М.
DHCP Explained - Dynamic Host Configuration Protocol
10:10
PowerCert Animated Videos
Рет қаралды 2,8 МЛН
The effect of Random UUID on database performance
18:51
Hussein Nasser
Рет қаралды 68 М.
How UI/UX can break the backend
29:47
Hussein Nasser
Рет қаралды 21 М.
Cloudflare Open sources Pingora (NGINX replacement)
29:33
Hussein Nasser
Рет қаралды 28 М.
How DNS Works - Computerphile
8:04
Computerphile
Рет қаралды 456 М.
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
Теперь это его телефон
0:21
Хорошие Новости
Рет қаралды 2 МЛН
Mi primera placa con dios
0:12
Eyal mewing
Рет қаралды 558 М.
📱 SAMSUNG, ЧТО С ЛИЦОМ? 🤡
0:46
Яблочный Маньяк
Рет қаралды 1,9 МЛН