---
name: "ptknslookup"
section: "1"
platform: "linux"
package: "ptknettools"
version: "0.2.3"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/ptknslookup"
---

# ptknslookup(1)

Perl/Tk Host Lookup Client for X

## NAME

ptknslookup - Perl/Tk Host Lookup Client for X

## SYNOPSIS

**ptknslookup** \[*host*\]

## DESCRIPTION

*ptknslookup* is a DNS lookup client, written in Perl/Tk.

It will look up the IP addresses of a given host, or the hostname of a given IP address. If you also have the Net::DNS module for perl (available from CPAN), it can also do MX record lookups on the host.

### OPTIONS

- **host**

  The host to look up.

## REQUIREMENTS

ptknslookup requires a fairly up-to-date version of Perl (version 5.002 or better). It also (obviously) requires Perl/Tk. Perl/Tk is available in the Nick-Ing Simmons author directory at CPAN. It is also available as a Debian package. For the extra functionality (MX record lookups), the Net::DNS module is required. This is also available from CPAN (in /by\_modules/net/), and it is also available as a Debian package (libnet-dns-perl).

## AUTHOR and BUG REPORTING

ptknslookup was written by Alan Ford \<alan@whirlnet.co.uk\> Please report bugs to that address.

## SEE ALSO

[host(1)](/host/1.md), [nslookup(1)](/nslookup/1.md), [dig(1)](/dig/1.md), [telnet(1)](/telnet/1.md), perl-tk documentation.
