| 
    NetSim 1.0.0
    
   An educational network simulation software for students 
   | 
 
Provides utility methods to initialize DNS request and response data in packages. More...
#include <dns.h>
Static Public Member Functions | |
| static void | initDNSRequest (Package &data, const QList< DNSEntry > queries) | 
| Initializes a DNS request package with the given queries.   | |
| static void | initDNSResponse (Package &data, const QList< DNSEntry > queries, const QList< DNSEntry > answers, bool nxDomain) | 
| Initializes a DNS response package with the given queries and answers.   | |
Provides utility methods to initialize DNS request and response data in packages.
      
  | 
  static | 
Initializes a DNS response package with the given queries and answers.
| data | The package to which the DNS response data will be added. | 
| queries | A list of original DNS queries. | 
| answers | A list of DNS answers for the corresponding queries. | 
| nxDomain | A flag to indicate if the domain in query does not exist. | 

