Dns message - application layer, Computer Networking

Assignment Help:

DNS Message

There are  the only  two kinds  of DNS message DNS query and reply messages. Further mote both query  and reply message have  the same  format  as shown in figure. The  semantics of the  various fields in a DNS message  are as follows.

 

1764_NDS Message.PNG

                                                            Figure  DNS message  format

The first 12 bytes is the header section which  has a number of fields. The first  field is a 16 bit numbers  that identifies the query. This identifier is copied into the reply message to a query allowing the client  to match received replies with sent  queries. There are a  number of flags in the flag field. A 1 bit query reply flag indicates whether the message  is a query or a reply a 1 bit  authoritative flag is set in a reply message  when  a DNS server is  an authoritative server for a queried name. A 1 bit  recursion desired flag  is set  when  a client  host  or DNS  server desired that the DNs  server perform recursion  when it doesn't have  the records. A 1 bit  recursion available field  is set in a reply  if the  DNS  server  supports  recursion. In  the header there are also   four number of fields. These fields  indicate  the number  of occurrences of the four  type  of the  data section that  follow the header.

a.The question  section  carries  one or more  question that is  queries for information  being  sent to a DNS  name  server. This  section  includes a name field  that containing the name  that is  being queried and a type field that indicates the type  of question being  asked  about  the name  for example   a host  address  associated with  a name  or the mail server for a name .

b.Answer carries  one or more  resources records  that answer  the questions  indicated in the question  section above.

c.Recall that  in each  resource  records there is  the type  ( for example A , NS, MNAME, and MX), the  value  and the TTL. A reply can return multiple RRS in  the answer since  a hostname   can have multiple  IP address.

d.The authority  contains  one  more  resource  records that paid  to authoritative name  servers  that can  be used  to continue the resolution process.

e.The additional  section  conveys one or more  resource records that contain additional information  related to the query that is not  strictly necessary to answer  the queries.

 

 


Related Discussions:- Dns message - application layer

What do mean by tunnel mode, What do mean by tunnel mode? This is a mod...

What do mean by tunnel mode? This is a mode of data exchange wherein two communicating computers do not use IPSec themselves. Instead, the gateway that is linking their LANs to

What are the compression protocols for ppp, The compression protocols for P...

The compression protocols for PPP are:- A. Stac   B. Predictor

Path layer - sonet sdh , Path Layer The path  layer maps services  such...

Path Layer The path  layer maps services  such as DS3, FDDI, and ATM into the SONET  payload formal. This layer  provides  end to end  communications  signals  labelling path m

What are the categories of traditional ethernet, Categories of traditional ...

Categories of traditional Ethernet a)  Baseband - digital signals using Manchester encoding b) 10Base2, 10-Base-T, 10Base5, 10Base-FL c)  First number signifies data rate

Requests types in distributed enrollment protocol , Control Commands: The ...

Control Commands: The STAT command is used as a way for the client to confirm that the server is still responding properly. The server must simply send a positive command res

Calculate link utilisation - exchanging packets, a)  Assume that the time r...

a)  Assume that the time required to transmit one packet (i.e. the packet length divided by link data rate) is 10ms and the Round Trip Time (from Source to Destination and back) is

Give the types of firewalls, Give the types of firewalls Conceptually,...

Give the types of firewalls Conceptually, there are two types of firewalls: 1.  Network Level 2.  Application Level Network Level Firewall/Packet Filters The Net

Packet takes through an internetwork, What utility can you use to see the p...

What utility can you use to see the path a packet takes through an internetwork? Ans) Trace - Uses Time-To-Live (TTL) values to make messages from each router used along the pat

Determine the concept of placing antenna on hieght, Determine the concept o...

Determine the concept of placing antenna on hieght First, starting deployment simply placed cells in regions where there was high density of vehicle or human population. Once t

What are the features of star and ring topology, What are the features of s...

What are the features of star and ring topology The three networks have following features: star: best case is = 2, average case is = 2, worst case is = 2 ring: best case

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd