How DNS and DHCP Servers Communicate (With wireshark)

  Рет қаралды 14,119

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 KZfaq
/ @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
@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)?
@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
@farzadmf
@farzadmf Жыл бұрын
SUUUPER nice video, great walkthrough and explanation, LOVED it!
@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.
@HarshKapadia
@HarshKapadia Жыл бұрын
Really interesting! Thank you Hussein!
@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 🧐
@tariqosman5811
@tariqosman5811 Жыл бұрын
💚💯💯👌👌🙏
@anushree3744
@anushree3744 Жыл бұрын
@Hussein Waiting for your explanation on the New revised architecture of twitter shared by Elon
@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 ❤️
@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 kzfaq.info/get/bejne/at-lh5h8t524gpc.html 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
Рет қаралды 7 М.
DNS is beautiful
41:01
Hussein Nasser
Рет қаралды 46 М.
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 42 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
00:56
صدام العزي
Рет қаралды 36 МЛН
How UI/UX can break the backend
29:47
Hussein Nasser
Рет қаралды 21 М.
They Enabled Postgres Partitioning and their Backend fell apart
31:52
Hussein Nasser
Рет қаралды 38 М.
Introduction to DHCP
21:36
Eli the Computer Guy
Рет қаралды 287 М.
Threads and Connections | The Backend Engineering Show
49:30
Hussein Nasser
Рет қаралды 63 М.
Как слушать музыку с помощью чека?
0:36
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 1,8 МЛН
WATERPROOF RATED IP-69🌧️#oppo #oppof27pro#oppoindia
0:10
Fivestar Mobile
Рет қаралды 17 МЛН