DNS and Name Lookups: Address Conversion Functions Slides

Shared by SteadyAtlas9417 October 27, 2026 PDF
Page 1 shows the heading 'Netprog: DNS and name lookups' and the subheading 'Address Conversion Functions and The Domain Name System'.
Page 1 · free preview
Page 2
Page 3
Page 4
Page 5
Page 6

Unlock all 37 pages

Get it free by sharing your own notes, buy just this one, or become a member and unlock documents with your plan.

How to unlock this document

Choose the way that suits you. Each one gives you all 37 pages to read online and the PDF to download.

Free

Share your notes, unlock for free

2 free unlocks for every 5 approved uploads

  • Upload your own lecture notes, assignments, essays or past papers
  • PDF, Word, PowerPoint and Excel files all work, and you can send many at once
  • We check each upload; you get a notification when it is approved
  • Spend a free unlock on this document or any other, and keep it for good
  • Shared under your public username, never your email
Create a free account

Then upload your notes from your profile.

Just this one

Buy this document

$37 one-time payment

  • All 37 pages of this document, yours to keep
  • Download the PDF and read it any time, also offline
  • No subscription and nothing to cancel
  • Find it again any time under My Profile → Library

You log in or create a free account first, then pay securely.

Best value

Become a member

Unlock documents from the whole library, which keeps growing

  • Choose any documents you like, up to your plan’s unlocks
  • Documents you unlock stay yours, even if you cancel later
  • Your unlocks start again with every renewal
  • Secure checkout by Dodo Payments
10 tokens every month
60 tokens every 6 months · Save 17%
130 tokens every year · Best value

You log in or create a free account first, then pay securely.

Compare the plans

About this document

Pages
37 pages
Price
$37 one-time, yours to keep
Membership
Included in every plan
Format
PDF
Subject
Computer Science, Telecommunications

This document covers the Domain Name System (DNS) and how it translates hostnames into IP addresses. It explains the DNS hierarchy, organization, and how DNS clients and servers communicate. It is useful for understanding how DNS works and how to use it in network programming.

What's inside

  • Introduction to address conversion functions and the Domain Name System
  • DNS hierarchy and hostnames
  • DNS organization and distributed database
  • DNS clients and servers
  • DNS message format and communication
  • DNS library functions and error handling

Who it is for: Students taking a networking or computer science course. (Undergraduate)

#address conversion functions #dns #dns hierarchy #domain name system #name lookups #networking

Share with classmates: WhatsApp Telegram X LinkedIn Facebook

Summary

The Domain Name System (DNS) translates host names into IP addresses. It explains how DNS works and how to use it.

Hostnames and IP Addresses

IP addresses are hard for humans to remember. DNS translates host names into IP addresses. Domain names are hierarchical, unique and easy to remember.

DNS Structure and Organization

DNS is a distributed database. The organization owning a domain name runs a DNS server. There is one primary server and several secondary servers for each domain.

DNS Clients and Servers

DNS clients are called resolvers. They handle requests for their domain directly and contact remote DNS servers for other domains. Servers cache external mappings.

DNS Library Functions

There is a library of functions that act as DNS clients. These functions include gethostbyname and gethostbyaddr. They return a hostent structure with address information.

Key terms

Domain Name System
A system that translates host names into IP addresses.
Hostname
A name given to a device on a network.
IP Address
A numerical label assigned to each device connected to a computer network.
Resolver
A DNS client that handles requests for domain name translations.
gethostbyname
A function that returns a hostent structure with address information for a given hostname.
hostent
A structure that contains information about a host, including its IP addresses.

Questions this document helps with

  • How does DNS translate host names into IP addresses?
  • What is the structure of a domain name?
  • How do DNS clients and servers communicate?

Summary written with AI from the document's text.

Ask the AI Teacher

Ask any question about this document or your course, and get a clear explanation.

Free accounts can ask 5 questions a day.