4- شرح DNS وطريقة جمع معلومات عن ال Domain | دورة اختبار اختراق تطبيقات الويب

Khaled ibn Al-Walid
3 Sept 202306:38

Summary

TLDRThis video script delves into the intricacies of DNS, explaining its function in domain name resolution and website access. It introduces key terms such as root name servers and authoritative servers, outlining the process of fetching a domain's IP address. The script also covers the types of DNS records, including A records for IP addresses and MX records for email servers, and demonstrates how to use tools to retrieve domain information. It concludes with a discussion on WHOIS information, providing insights into domain registration and renewal details.

Takeaways

  • 🌐 DNS Explained: The script discusses what DNS is and its role in resolving domain names to IP addresses.
  • 🔍 Domain Name Servers: It clarifies the function of domain name servers and how they are used to find specific information about domains.
  • 📚 Cache Mechanism: The script explains the cache mechanism that stores previous search results to speed up the resolution process.
  • 🌟 Root Name Server: It introduces the concept of the root name server, which is the starting point for the computer to find domain information.
  • 🌍 Global Server Network: The script mentions the existence of 13 root name servers worldwide, forming the backbone of the internet's DNS service.
  • 📝 Domain Records: It describes the types of records stored in DNS, including the IP address and other domain-related information.
  • 🔑 DNS Zone Files: The script explains the role of DNS zone files, which contain stored information about domain names and their associated data.
  • 🔍 Query Process: It outlines the process of how a user's query is handled by the DNS system, starting from the local cache to the root server and back.
  • 🔄 Time Complexity: The script touches on the speed of the DNS resolution process, which is typically a matter of seconds due to the large number of domains.
  • 📅 Domain Registration and Renewal: It provides insights into the domain registration process, including the responsible company and renewal dates.
  • 🔎 WHOIS Information: The script concludes with an explanation of WHOIS information, which contains details about the domain owner and registration history.

Q & A

  • What is the main topic discussed in the video script?

    -The main topic discussed in the video script is DNS (Domain Name System), its function, and how it resolves domain names to IP addresses.

  • What is the purpose of DNS?

    -The purpose of DNS is to translate human-friendly domain names into IP addresses that computers use to identify each other on the internet.

  • What is a 'root name server' in the context of DNS?

    -A root name server is the top-level server in the DNS hierarchy that is responsible for directing queries to the appropriate domain name servers.

  • How many root servers are mentioned in the script, and what is their role?

    -The script mentions 13 root servers, which are considered the foundation of the internet's DNS service as they contain all the IP addresses and domain names.

  • What is a 'top-level domain (TLD)' server mentioned in the script?

    -A top-level domain (TLD) server is responsible for storing domain names and their associated IP addresses for a specific TLD, such as .com, .org, etc.

  • What happens when a user tries to access a specific domain?

    -When a user tries to access a domain, the process begins by checking if the domain is in the cache. If not, the system will query the root name server for the domain's IP address.

  • What is 'DNS caching' and why is it important?

    -DNS caching is the storage of DNS responses locally to reduce the time and resources required to resolve domain names. It is important for improving response time and reducing the load on DNS servers.

  • What is a 'DNS zone file' and what does it contain?

    -A DNS zone file is a database that contains information about a DNS zone, including resource records that define the IP addresses associated with domain names.

  • What is the significance of the 'SOA record' in a DNS zone file?

    -The Start of Authority (SOA) record is significant as it marks the beginning of a DNS zone and contains administrative information about the zone, such as the primary name server and the domain administrator's contact details.

  • How can one find specific DNS records for a domain?

    -One can find specific DNS records for a domain by using the 'nslookup' command or by visiting a website that provides DNS lookup services and entering the domain name and record type.

  • What is 'WHOIS information' and how is it used?

    -WHOIS information is a set of data that includes details about the domain registration, such as the registrar, domain owner, and registration and expiration dates. It is used to look up ownership and registration details of a domain.

Outlines

00:00

🌐 DNS Explained: How Domains Resolve IP Addresses

This paragraph introduces the concept of DNS (Domain Name System), explaining its function in resolving domain names to IP addresses. It discusses the role of root name servers and authoritative name servers in the process, as well as the storage of domain information on these servers. The paragraph also touches on the caching mechanism that checks for domain presence before initiating a resolution process, highlighting the efficiency due to the large number of domains managed.

05:00

🔍 Advanced DNS Queries and Record Types

The second paragraph delves into the specifics of DNS queries, explaining how to retrieve information about a particular domain record using the 'nslookup' command. It outlines the process of querying for different types of records and accessing all records associated with a domain. Additionally, the paragraph introduces the concept of WHOIS information, which contains detailed domain registration and expiration data, as well as the responsible entity for the domain. The summary underscores the importance of understanding various record types and the practical steps to access domain-specific information.

Mindmap

Keywords

💡DNS

DNS stands for Domain Name System, which is the phonebook of the internet. It translates human-friendly domain names, like 'example.com', into IP addresses that computers use to identify each other on the network. In the video, DNS is discussed as a crucial part of the internet infrastructure that helps resolve domain names to IP addresses, allowing users to access websites using domain names instead of remembering numerical IP addresses.

💡Domain Name

A domain name is a unique address on the internet that identifies a website. It is used to access websites without having to remember the numerical IP addresses. In the script, the domain name is central to the discussion of how DNS works, as it is the human-readable address that is translated into an IP address by the DNS system.

💡IP Address

An IP address is a numerical label assigned to devices on a network that allows them to communicate with each other. In the context of the video, IP addresses are the numerical counterparts to domain names, and the DNS is responsible for translating domain names into these IP addresses so that users can access websites.

💡DNS Server

A DNS server is a server that stores the mapping of domain names to IP addresses. It is the authoritative source for looking up domain information. The script mentions that there are 13 root DNS servers around the world that form the foundation of the DNS infrastructure on the internet.

💡Domain Registrar

A domain registrar is a company that manages the registration of domain names. They act as the intermediary between registrants and the registry. In the video script, the domain registrar is mentioned as the entity that provides internet services and is responsible for the registration of domain names.

💡Record Type

In the context of DNS, a record type refers to the kind of data that is stored for a domain name, such as A records for IP addresses, MX records for mail servers, and so on. The script discusses how different record types can be queried to retrieve specific types of information about a domain.

💡WHOIS

WHOIS is a query and response protocol used for querying databases that store the registered users or assignees of an domain name or an IP address block. In the video, WHOIS is mentioned as a way to obtain information about the domain registration, such as the registrant, registration date, and expiration date.

💡DNS Cache

DNS cache refers to the temporary storage of DNS lookup results on a local system or server. It helps to speed up the process of translating domain names into IP addresses by reducing the need to query the DNS server repeatedly for the same domain. The script mentions that the first step in accessing a domain is to check if the domain's IP address is available in the DNS cache.

💡Root Name Server

A root name server is one of the top-level DNS servers in the hierarchy of the DNS system. There are 13 root servers worldwide that play a critical role in the resolution of all domain names. The script discusses the root name servers as the foundational infrastructure for the entire internet's DNS resolution process.

💡DNS Zone File

A DNS zone file is a text file that contains information about the domain names and IP addresses within a specific zone, which is a portion of the DNS namespace. It is used by DNS servers to store and manage the DNS records for a domain. The script refers to DNS zone files as containing various types of information about the domain, including its associated IP addresses and other relevant data.

💡DNS Propagation

DNS propagation refers to the spread of DNS information across the internet following a change to a DNS record. It is the process by which changes to DNS zone files are copied to all the DNS servers worldwide. The script implies the concept of DNS propagation when discussing how DNS updates are disseminated across the network.

Highlights

Introduction to DNS and its purpose in resolving domain names to IP addresses.

Explanation of the role of secondary servers and the company providing internet services.

The concept of root name servers as the foundational infrastructure of the internet's DNS.

Description of top-level domain (TLD) servers and their role in storing domain information.

The process of a computer checking its cache before querying DNS for a domain's IP address.

Detailed explanation of how the DNS resolution process works when a domain is not in cache.

The role of authoritative name servers in providing the correct IP address for a domain.

Introduction to DNS records, including their types and how they store specific information about a domain.

Explanation of A records, which map domain names to IP addresses.

Mention of CNAME records, which indicate an alias for a domain name.

Description of MX records, which provide information about mail servers for a domain.

The use of DNS records for signature verification to ensure email validity.

How to retrieve DNS record information using command-line tools.

The process of querying a specific DNS record type for a domain.

The use of WHOIS information to find out details about a domain's registration and renewal.

Explanation of how to access WHOIS information for a domain.

The significance of WHOIS in providing domain registration and expiration dates.

The role of DNS in the overall functioning of the internet and its importance for domain management.

The tutorial's aim to simplify understanding of DNS and its practical applications.

The conclusion of the tutorial, hoping it was simple and easy to understand.

Transcripts

play00:00

السلام عليكم اتكلمنا في الفيديو اللي فات

play00:02

عن الدي ان اس وعرفنا هو اتعمل ليه وايه

play00:04

المشكله اللي حلها لنا في الفيديو ده ان

play00:07

شاء الله هنفهم الدقيق نسبه تفصيل وازاي

play00:09

بيشتغل زي ما قلنا هو اختصار لدومين نيم

play00:13

سيستم واتعمل علشان يحل مشكله حفظ الاي

play00:15

بيز او العناوين

play00:17

وبسببه بقينا بندخل على الموقع بالاسم او

play00:20

الدومين بتاعه بدل الاي بي طيب ده بيحصل

play00:23

ازاي اول حاجه في كان مصطلح لازم نعرفهم

play00:27

كده قبل ما نعرف الرحله اللي جهاز

play00:29

الكمبيوتر بياخدها علشان يجيب الاي بي

play00:31

بتاع الدومين اللي بنطلب اول حاجه معنا

play00:37

وهيكون غالبا سيرفر تابع او الشركه اللي

play00:40

بتقدم لك الانترنت زي شركه وي مثلا وده

play00:43

بنعتبره الشخص اللي بيكون واقف في المكتبه

play00:45

وبنطلب منه يدور لنا على كتاب معين

play00:49

تاني حاجه عندنا وهي

play00:51

ودول عددهم 13 سيرفر حول العالم ونقدر

play00:55

نقول عليهم هم العمود الفقري لخدمه الدين

play00:57

اس على مستوى الانترنت بالكامل لانهم

play00:59

بيحتوي على جميع الاي بي اس او العناوين

play01:01

الخاصه

play01:07

بعد كده التوب ليفل دومين نيم سيرفر

play01:10

السيرفرات دي بيكون متخزن فيها عناوين

play01:12

السيرفرات الرسميه او السيرفرات المسؤوله

play01:15

عن تخزين بتاعه الدومينز اللي بندور عليها

play01:18

وبيكون اسمها

play01:22

ايه هي الاسرتيهم سيرفر ودي السيرفرات زي

play01:26

ما قلنا اللي بتحتوي على الاي بيز او

play01:28

العناوين الخاصه يعني هو ده السيرفر اللي

play01:31

بيكون فيه بتاع الدومين في الاخر طيب ايه

play01:35

بقى اللي بيحصل لما نيجي نفتح دومين معين

play01:37

في اول ما بنحتاج نفتح موقع معين ولنفترض

play01:43

او استعلام

play01:46

الريكورد اول ما بيستقبل بتاعنا بيشوف هل

play01:50

الدومين ده موجود في الكاش بتاعه ودي اللي

play01:53

هي اخر عمليات بحث تمت فلو المعلومات

play01:55

موجوده بيرجع لنا على طول الاي بي الخاص

play01:57

طيب لو مش موجوده بنبدا الرحله بتاعتنا

play02:00

بيروح يسال الروت نيم سيرفر عن الاي بي

play02:04

الخاص او التوب

play02:08

وفي الحاله بتاعتنا دي اللي هو

play02:12

بيرد عليه بالاي بي الخاص

play02:15

بعد كده

play02:17

بيسال عن

play02:21

وبيرجع له الخاص

play02:24

بعد كده بيروح مره تانيه

play02:29

عن الاي بي الخاص واللي في الحاله بتاعتنا

play02:35

بيرجع له بالاي بي الخاص بالموقع بتاعنا

play02:38

بعد كده بيبدا يرجعه للكمبيوتر بتاعته وط

play02:42

كل ده بيحصل في اجزاء من الثانيه والموضوع

play02:44

شبيه شويه بالفراسه بمعنى اصح بسبب العدد

play02:48

الكبير من الدومينز اللي موجوده وبكده

play02:50

احنا عرفنا بالتفصيل ازاي الدين بيشتغل

play02:52

بعد كده عندنا حاجه اسمها dns او بتعرف

play02:56

باسم الزوم فايلز ودي عباره عن المعلومات

play02:59

المتخزنه في

play03:01

سيرفر وبتكون عباره عن المعلومات الخاصه

play03:04

دي اشهر الانواع بتاعتها هي اول حاجه

play03:08

عندنا

play03:13

العنوان المرتبط بتاعي زي ما احنا شايفين

play03:17

بعد كده بيكون عندنا

play03:20

اللي بيحتوي على الاي بي ادريس بس المره

play03:23

دي المرتبط

play03:26

بتاعه زي ما احنا شايفينه كده

play03:28

بعد كده عندنا

play03:31

وده لو الدومين بتاعنا مربوط بدومين تاني

play03:34

فريكورد ده بيكون هو اللي بيحتوي على

play03:37

عنوان الدومين اللي احنا مرتبطين به

play03:40

بعد كده عندنا

play03:43

فيه عنوان الايميل سيرفر بعد كده عندنا

play03:48

بيكون متخزن فيه ملاحظات وبيستخدم اغلب

play03:51

الوقت كتوقيع للدومين علشان نتاكد من صحه

play03:54

الايميلات باستخدام

play03:58

وده بيكون متخزن فيه معلومات عن الدومين

play04:01

زي الايميل الخاص

play04:04

بعد كده عندنا

play04:05

وده بيكون متخزن فيه

play04:10

طيب دلوقتي احنا عرفنا انواع نروح بقى

play04:14

للجزء العملي واللي هنشوف فيه ازاي لو

play04:16

معنا دومين نعرف نجيب كل المعلومات اللي

play04:19

مرتبطه به في كذا طريقه عندنا علشان نعرف

play04:22

بها

play04:23

الخاص

play04:24

وفي نفس الوقت بتاعتهم ومنها اشهر طريقه

play04:28

وهي الطول اللي اسمها

play04:31

ودي بنستخدمها علشان نعرف

play04:35

الخاصه طيب ناخد مثال مثلا عندنا موقع

play04:39

ياهو هنقول له هنا

play04:43

هنرد علينا

play04:48

طيب احنا عايزين نعرف معلومات عن ريكورد

play04:52

معين هنعمل ايه هنكتب

play04:57

داش طيب بتساوي نوع الريكورد اللي احنا

play05:00

عايزينه بس احنا عايزين نعرف الام اكس

play05:02

ريكورد فهنكتب ام اكس وبعد كده هنكتب

play05:04

الموقع بتاعنا

play05:07

هنلاقي رد رجع لنا

play05:10

وهو زي ما احنا شايفين العنوان بتاعه كده

play05:13

طيب عايزين نشوف تاني كم نشوف

play05:18

هنلاقي رجع لنا برنامج الخاصه

play05:22

عندنا طرق تانيه اه اكيد عندنا طرق تانيه

play05:25

في موقع اسمه

play05:29

علشان برضو نعرف معلومات عن

play05:33

هنكتب له هنا

play05:35

ومن هنا هنختار نوع الريكورد اللي احنا

play05:38

عايزينه او ممكن نختار عشان يطلع لنا كل

play05:40

الريكورد اللي موجوده عنده

play05:43

هنلاقيه رد علينا بكل ريكورد اللي موجوده

play05:46

في الدومين ده تمام اخر حاجه عندنا وهي

play05:50

الهو اس انفورميشن

play05:54

اللي هو دي بتكون عباره عن معلومات بتحتوي

play05:57

على المعلومات خاصه بالشركه معلومات خاصه

play06:00

بالدومين ده اتسجل امتى وهيتم امتى هنروح

play06:04

على موقع

play06:05

ونكتب هنا مثلا

play06:09

هنلاقي ظهر لنا هنا المعلومات الخاصه زي

play06:12

ما احنا شايفين هنا مثلا الشركه المسؤوله

play06:15

عن تسجيل الدومين وعندنا هنا ميعاد

play06:19

الانتهاء بتاع الدومين الدومين ده موجود

play06:21

من سنه كام

play06:23

واخر مره اتعمل له تجديد امتى ودي مسئوله

play06:27

عن الدومين ولو نزلنا تحت شويه هنلاقيه كل

play06:30

الانفورميشن المربوطه بالدومين بكده احنا

play06:33

وصلنا للنهايه اتمنى يكون الفيديو بسيط

play06:36

وسهل والسلام عليكم

Rate This

5.0 / 5 (0 votes)

Related Tags
DNS BasicsInternet GuideDomain NamesTech TutorialIP AddressesServer InformationWeb NavigationPractical ExamplesNetwork SolutionsOnline Security