You are on page 1of 11

Assignment 2: Client/Server

YOUTH INTERNATIONAL UNIVERSITY (YIU)


Win Min Thu

1
Contents Page .No
UDP and TCP system in Linux………………………………………………………………..3

Flowchart of Domain Name Server (DNS)……………………………………………………5

Implement the DNS system in Linux………………………………………………………….6

Implement the advanced function of DNS in Linux………………………………………….8

2
UDP and TCP system in Linux
Netstat
The netstat is a command line for tracking wireless networks both outgoing and incoming as
well as showing interface statistics, routing tables, etc.... The Netstat is usable on all Unix-
like OS, as well as on Windows OS.  In case of network problem solving and performance
analysis, it is very useful. Netstat is one of the most common debugging tools for network
services, informing you which ports are available. For Linux system administrators and
network administrators, this tool is very necessary and very beneficial for monitoring and
troubleshooting their network-related problems and evaluating network traffic efficiency.

UDP

The UDP is an internet-wide communication protocol for extremely time-sensitive


transmissions including such video replay or DNS lookups. It enables faster connections by
not officially creating a connection before transmitting data. This makes it possible to pass
information very fast, but it can also affect packets to get lost in transport. The UDP is
quicker than TCP but less secure.

3
TCP

 The TCP is a communication protocol that transmits data across the network between
systems. The TCP is a protocol based on connections. TCP includes support for error
checking and also ensures data transfer to the destination router, which makes it more secure
than UDP. The TCP data can be broadcast in a specific sequence, that means the packets
arrive at the receiver in order. In comparison with UDP, the TCP is slower and less effective
in performance than UDP. In TCP, retransmit of data packets is available if the packet is
missing or has to be resended.

4
Flowchart of Domain Name Server (DNS)

5
6
Implement the DNS system in Linux

You will need to take the following steps to create a DNS server on Linux. First, create the
winminthu.com forward resolution.

Forward zone database

7
Reverse zone database

8
Implement the advanced function of DNS in Linux

The DNS forwarding is a DNS server that used outside network to forward DNS requests for
external DNS names to DNS servers.  If you can use the DNS Forwarding. You can
control name resolution for names outside your network with DNS forwarding. It can also
increase the effectiveness of computer names on the network when testing. If setting up your
internal network and conducting DNS queries, you also need DNS forwarding. Important
security problems can occur without DNS forwarding, and outside traffic can improve. When
the DNS forwarding is installed, it able to take responsibility for the outside data traffic. The
Forwarders build huge internal caches with the external DNS data fastly and use the caching
data to reduce the DNS traffic. DNS server was installed to be using the actions of relay.
When it is not able to fix the request into the local data, DNS server will forwarding the

9
request to the DNS server stated for forward. The advanced DNS  feature in Linux is
completed as shown in the picture.

10
References
https://www.tecmint.com/20-netstat-commands-for-linux-network-management/

https://www.cloudflare.com/en-gb/learning/ddos/glossary/user-datagram-protocol-udp/

https://support.f5.com/csp/article/K72735781

11

You might also like