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

Describe the specific ip-qos schemes, State how the different IP-QoS needs ...

State how the different IP-QoS needs for controling traffic, data and voice applications can be supported in your technology choice from Q7. Describe the specific IP-QoS schemes -

Reliable data transfer over a perfectly reliable channel r, Reliable  dat...

Reliable  data transfer  over a perfectly reliable channel rdt 1.0 First  all consider  the simplest  care in  which  the underlying  channel  perfectly reliable.  The protoco

How to connect remote lans, Q. How to connect Remote LANs? - Remote br...

Q. How to connect Remote LANs? - Remote bridges acting as connecting devices to connect LANs and point-to-point networks such as leased telephone lines or ADSL lines

Give the structure of an atm uni cell header, a) Consider a hypothetical a...

a) Consider a hypothetical arrangement of ‘self-learning' bridges shown in the figure below. Assuming all are initially empty, give the forwarding tables for each of the bridges B

Determine the task which should intranet require, Determine the task which ...

Determine the task which should intranet require Intranet to work smoothly, the following tasks should be properly synchronised: All computers connected together in a n

The cut-through switching technique work, How does the cut-through switchin...

How does the cut-through switching technique work? Ans) Cut-Through switching copies only the destination address which is the first 6 bytes after the =frame preamble into its b

State in brief about the local area network, State in brief about the Local...

State in brief about the Local Area Network (LAN) LAN is an interconnection of computers and associated peripherals as well as to the communications system as shown in Figure

What is wan, What is WAN? A wide area network is defines a LAN o...

What is WAN? A wide area network is defines a LAN of LANs. WANs connect LANs that might be on opposite sides of a building, across the country or around the world.  WANS

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