DNSPing
Ping with DNS requesting.
Version
- Windows: v0.1 Beta(2014-08-26)
- Linux: v0.1 Beta(2014-08-26)
ReadMe
Usage
DNSPing [-h] [-t] [-a] [-n Count] [-f] [-i HopLimit/TTL] [-w Timeout] [-id DNS_ID] [-qr] [-opcode OPCode] [-aa] [-tc] [-rd] [-ra] [-ad] [-cd] [-rcode RCode] [-qn Count] [-ann Count] [-aun Count] [-adn Count] [-ti Time] [-edns0] [-payload Length] [-dnssec] [-qt Type] [-qc Classes] [-p ServiceName] [-rawdata RAW_Data] [-raw ServiceName] [-buf Size] [-of FileName] Test_DomainName Target
[-f]
is only available in Windows.
Options
- N/A
- Description.
- Description.
?
- Description.
- Description.
-h
- Description.
- Description.
-t
- Pings the specified host until stopped.
- To see statistics and continue type
Control-Break
. - To stop type
Control-C
.
- Pings the specified host until stopped.
-a
- Resolve addresses to host names.
- Resolve addresses to host names.
-n Count
- Set number of echo requests to send.
Count
must between 1 - 0xFFFF/65535.
- Set number of echo requests to send.
-f
(Windows)- Set the
Don't Fragment
flag in outgoing packets(IPv4).
- Set the
-i HopLimit/TTL
- Specifie a
Time To Live
for outgoing packets. HopLimit/TTL
must between 1 - 255.
- Specifie a
-w Timeout
- Set a long wait periods (in milliseconds) for a response.
Timeout
must between 500 - 0xFFFF/65535.
- Set a long wait periods (in milliseconds) for a response.
-id DNS_ID
- Specifie DNS header ID.
DNS ID
must between 0x0001 - 0xFFFF/65535.
- Specifie DNS header ID.
-qr
- Set DNS header
QR
flag.
- Set DNS header
-opcode OPCode
- Specifie DNS header
OPCode
. OPCode
must between 0x0000 - 0x00FF/255.
- Specifie DNS header
-aa
- Set DNS header
AA
flag.
- Set DNS header
-tc
- Set DNS header
TC
flag.
- Set DNS header
-rd
- Set DNS header
RD
flag.
- Set DNS header
-ra
- Set DNS header
RA
flag.
- Set DNS header
-ad
- Set DNS header
AD
flag.
- Set DNS header
-cd
- Set DNS header
CD
flag.
- Set DNS header
-rcode RCode
- Specifie DNS header
RCode
. RCode
must between 0x0000 - 0x00FF/255
- Specifie DNS header
-qn Count
- Specifie DNS header
Question count
. Question count
must between 0x0001 - 0xFFFF/65535.
- Specifie DNS header
-ann Count
- Specifie DNS header
Answer count
. Answer count
must between 0x0001 - 0xFFFF/65535.
- Specifie DNS header
-aun Count
- Specifie DNS header
Authority count
. Authority count
must between 0x0001 - 0xFFFF/65535.
- Specifie DNS header
-adn Count
- Specifie DNS header
Additional count
. Additional count
must between 0x0001 - 0xFFFF/65535.
- Specifie DNS header
-ti IntervalTime
- Specifie transmission interval time(in milliseconds).
- Specifie transmission interval time(in milliseconds).
-edns0
- Send with
EDNS0 Label
.
- Send with
-payload Length
- Specifie EDNS0 Label
UDP Payload length
. Payload length
must between 512 - 0xFFFF/65535.
- Specifie EDNS0 Label
-dnssec
- Send with
DNSSEC
requesting. EDNS0 Label
will enable whenDNSSEC
is enable
- Send with
-qt Type
- Specifie
Query type
. Type: A|NS|CNAME|SOA|PTR|MX|TXT|RP|SIG|KEY|AAAA|LOC|SRV|
NAPTR|KX|CERT|DNAME|EDNS0|APL|DS|SSHFP|IPSECKEY|
RRSIG|NSEC|DNSKEY|DHCID|NSEC3|NSEC3PARAM|HIP|SPF|
TKEY|TSIG|IXFR|AXFR|ANY|TA|DLV
- Specifie
-qc Classes
- Specifie
Query classes
. Classes: IN|CSNET|CHAOS|HESIOD|NONE|ALL|ANY
- Specifie
-p ServiceName
- Specifie UDP port/protocol(Sevice names).
- UDP port must between 0x0001 - 0xFFFF/65535.
Protocol: TCPMUX|ECHO|DISCARD|SYSTAT|DAYTIME|NETSTAT|
QOTD|MSP|CHARGEN|FTP|SSH|TELNET|SMTP|
TIME|RAP|RLP|NAME|WHOIS|TACACS|XNSAUTH|MTP|
BOOTPS|BOOTPC|TFTP|RJE|FINGER|TTYLINK|SUPDUP|
SUNRPC|SQL|NTP|EPMAP|NETBIOSNS|NETBIOSDGM|
NETBIOSSSN|IMAP|BFTP|SGMP|SQLSRV|DMSP|SNMP|
SNMPTRAP|ATRTMP|ATHBP|QMTP|IPX|IMAP|IMAP3|
BGMP|TSP|IMMP|ODMR|RPC2PORTMAP|CLEARCASE|
HPALARMMGR|ARNS|AURP|LDAP|UPS|SLP|SNPP|
MICROSOFTDS|KPASSWD|TCPNETHASPSRV|RETROSPECT|
ISAKMP|BIFFUDP|WHOSERVER|SYSLOG|ROUTERSERVER|
NCP|COURIER|COMMERCE|RTSP|NNTP|HTTPRPCEPMAP|
IPP|LDAPS|MSDP|AODV|FTPSDATA|FTPS|NAS|TELNETS
- Specifie UDP port/protocol(Sevice names).
-rawdata RAW_Data
- Specifie Raw data to send.
RAW_Data
is hex, but do not add0x
before hex.- Length of
RAW_Data
must between 64 - 1512 bytes.
- Specifie Raw data to send.
-raw ServiceName
- Specifie Raw socket type.
Service Name: HOPOPTS|ICMP|IGMP|GGP|IPV4|ST|TCP|CBT|EGP|
IGP|PUP|IDP|IPV6|ROUTING|ESP|FRAGMENT|AH|
ICMPV6|NONE|DSTOPTS|ND|ICLFXBM|PIM|PGM|L2TP|
SCTP|RAW
- Specifie Raw socket type.
-buf Size
- Specifie receive buffer size.
Buffer size
must between 512 - 4096 bytes.
- Specifie receive buffer size.
-of FileName
- Output result to file.
- FileName must less than 260 bytes.
- Output result to file.
-6
- Using IPv6.
- Using IPv6.
-4
- Using IPv4.
- Using IPv4.
Test_DomainName
- A domain name which will make requesting to send to DNS server.
- A domain name which will make requesting to send to DNS server.
Target
- Target of DNSPing, support IPv4/IPv6 address and domain.
- Target of DNSPing, support IPv4/IPv6 address and domain.
License
GNU General Public License/GNU GPL v2