DNS Server Tasks

Version 1.2

This document describes the DNS Server Tasks, provided as custom tasks that must be installed with PureLoad/PureTest on each machine using these tasks.

The DNS Server Tasks may be used simulate a simple master DNS server. Operations supported are:

  • Query of A records (name -> IPv4 address(es)
  • Query of AAAA records (name -> IPv6 address(es)
  • Reverse lookups (IP address -> name)
  • Query of NS records (name -> domain name)
  • Query of NAPTR records (name -> NAPTR)

Before you use the tasks, read more about installing and how to load and use custom tasks.

Provided tasks



DnsServerInitTask

Task used to to initiate and start DNS Server, used by DNS Server tasks following this task.

DNS records that can be specified is provided using parameter DNS Records or in a file specified by parameter DNS Records File. The format of the specified DNS records are specified in the format:

  name [type] result

where type is A, AAAA, NS or NAPTR. Default i A/AAAA.

Example:

    pureload.com 74.125.143.99
    google.com 173.194.70.100
    google.com 173.194.70.102
    www.anaddress.org 192.168.1.42
    naptr.org NAPTR 10 100 "S" "SIP+D2U" "" _sip._udp.example.com.
    pureload.com NS ns1.pureload.com
    pureload.com NS ns2.pureload.com

Parameters

Address Used to bind the server to a specified local host IP address. If not specified the default local IP address is used.
Port Used to bind the server to a specified local port. If not specified the system will pick up an ephemeral port. The variable “dns.server.port” is assigned to the port used.
TTL TTL (Time To Live) in seconds
DNS Records File Optional properties file of DNS records (name and IP address)
DNS Records DNS records (A, AAAA, PTR, NS and NAPTR supported)


DnsServerCloseTask

Task used to to stop DNS Server.

About Emblasoft

From innovation, to validation and smooth operation, our solutions help operators and equipment vendors deliver outstanding services and performance to their customers.

Emblasoft Test & Measurement AB
Hammarby allé 29
120 32 Stockholm, Sweden

Send us an email: contact@emblasoft.com

  • Linkedin
  • Twitter
Ready to talk to us?