100% Guaranteed Results


UCS1511 – Solved
$ 29.99
Category:

Description

5/5 – (1 vote)

Department of Computer Science and Engineering
V Semester – CSE ‘B’
UCS1511 NETWORKS LAB

Exercise 5: DOMAIN NAME SERVER USING UDP

Simulate the concept of Domain Name Server using UDP.
Server should perform the following:
1. Maintain a DNS in the form of table. The table contains IP address and the corresponding Server name and displays the table.
2. When a request is for an IP address (Given a server name), from a client is received, verify the table and send the corresponding IP address to the client.
3. Make server to accept multiple client request simultaneously.
4. Also modify the server.

Client should do the following:
1. Request for an IP address is given to the server by the domain name.
2. Receive the corresponding IP address and display it.

Sample Input and Output
Server
Server Name IP Address www.yahoo.com 10.2.45.67 www.annauniv.edu 197.34.53.122 www.google.com 142.89.78.66 Do you want to modify (yes or no): yes
Domain name: www.yahoo.com
IP address: 300.8.35.79
Invalid IP address
Enter valid IP address: 197.34.53.122
IP address already exists
Enter valid IP address: 196.34.53.122

Server Name IP Address www.yahoo.com 10.2.45.67
196.34.53.122 www.annauniv.edu 197.34.53.122 www.google.com 142.89.78.66

Client1
Enter the server name
The IP address is
Client2
Enter the server name
The IP address is
Enter the server name
The IP address is

: www.annauniv.edu
:197.34.53.122
: www.yahoo.edu
:10.2.45.67
: www.yahoo.edu
:10.2.45.67
196.34.53.122
Beulah A. Network Lab
Updated table is

Reviews

There are no reviews yet.

Be the first to review “UCS1511 – Solved”

Your email address will not be published. Required fields are marked *

Related products