Skip to content

amp dns

Brendon Jones edited this page Sep 21, 2016 · 3 revisions

AMP-DNS

NAME

amp-dns - AMP standalone DNS lookup test

SYNOPSIS

amp-dns [-hnrsx] [-p milliseconds] [-c class] [-t type] [-z size] [-I iface] [-4 address] [-6 address] [-Q codepoint] [-Z microseconds] -q query -- destination1 [destination2 ...]

DESCRIPTION

amp-dns is the standalone version of the amplet2(8) DNS lookup test. It is very similar in function to dig(1), except that it can test to multiple destinations simultaneously. All destinations listed on the command line will be tested to. Any destinations that are hostnames will be resolved, and every address that they resolve to will be tested.

OPTIONS

-c, --class class Specifies the class of record that should be queried. Accepts the decimal value of any valid class, or IN for Internet. The default is IN.

-h, --help Show summary of options.

-I, --interface iface Specifies the interface (device) that tests should use when sending packets. By default the interface will be selected according to the routing table.

-n, --nsid Include an EDNS name server ID request when sending the query. Off by default.

-p, --perturbate milliseconds Delay the test by a random number of milliseconds, up to a maximum of milliseconds. The default is to not perturbate tests (no delay).

-Q, --dscp codepoint IP differentiated services codepoint to set. This should be a string representing a 6-bit value in binary, octal, decimal or hexadecimal, or the short name of a predefined, commonly used codepoint. The default is 0.

-q, --query query The query name to ask the server about.

-r, --recurse Enable recursion for this query. Off by default.

-s, --dnssec Request that DNSSEC records be sent. Off by default.

-t, --type type Specifies the type of record that should be queried. Accepts the decimal value of any valid type, or one of A, NS, AAAA, PTR, MX, SOA, ANY. The default is A.

-v, --version Show version of program.

-x, --debug Enable extra debugging output.

-Z, --interpacketgap microseconds Minimum number of microseconds between sending probe/query packets.

-z, --payload size Specifies the UDP payload buffer size for DNSSEC or NSID messages. The default is 4096.

-4, --ipv4 a.b.c.d Specifies the source IPv4 address that tests should use when sending packets to IPv4 targets. This address must belong to one of the interfaces. By default the IPv4 address of the outgoing interface will be used.

-6, --ipv6 a:b:c:d:e:f:g:h Specifies the source IPv6 address that tests should use when sending packets to IPv6 targets. This address must belong to one of the interfaces. By default the IPv6 address of the outgoing interface will be used.

SEE ALSO

amplet2(8), amplet2-remote(8), amp-icmp(8), amp-trace(8), amp-throughput(8), amp-http(8), amp-tcpping(8), amp-udpstream(8).

AUTHOR

amp-dns was written by Brendon Jones <brendonj@waikato.ac.nz>.

This manual page was written by Brendon Jones <brendonj@waikato.ac.nz>.

Clone this wiki locally