Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2005 09:37:03 -0500
From:      Tim Erlin <listmail@filn.net>
To:        Mohan Singh <mohansingh68@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: telnetting/netcatting into a DNS server?
Message-ID:  <435E430F.2030103@filn.net>
In-Reply-To: <48d803190510250633k93e3934n7f1dd2bca493e21e@mail.gmail.com>
References:  <48d803190510250633k93e3934n7f1dd2bca493e21e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mohan Singh wrote:
> How would I connect to a nameserver and talk to it so I can know it is
> working? I get as far as connecting to the port, but I don't know how to
> make it send back anything meaningful.

You could use the 'dig' command:

dig @<ip> a yahoo.com

Or you could use 'nmap' with a -sV option, limiting it to port 53/udp or
53/tcp, to actually scan for an application response.

--Tim




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?435E430F.2030103>