From owner-freebsd-questions@FreeBSD.ORG Tue Oct 25 17:55:33 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F26C416A41F for ; Tue, 25 Oct 2005 17:55:32 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A63043D48 for ; Tue, 25 Oct 2005 17:55:32 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by zproxy.gmail.com with SMTP id x3so463303nzd for ; Tue, 25 Oct 2005 10:55:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZKTBZ6G5Xvuqzl+jFmTB318pP7OqIcAhU6c6pPgpTKygUlw9a6A8KQVOzcKjMR7u1ljei0sOjlimHoiKNANGw45iARtx2CoiKjd9irB+za2et5jEsbUKva5lOx/GegtZQhOtc3DdEGyGRTmb2gE/9LMUMOA+kyr80Q5iC+5/nSE= Received: by 10.36.177.8 with SMTP id z8mr100557nze; Tue, 25 Oct 2005 10:55:31 -0700 (PDT) Received: by 10.37.20.34 with HTTP; Tue, 25 Oct 2005 10:55:31 -0700 (PDT) Message-ID: Date: Tue, 25 Oct 2005 21:55:31 +0400 From: "Andrew P." To: Mohan Singh In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <48d803190510250633k93e3934n7f1dd2bca493e21e@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: telnetting/netcatting into a DNS server? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2005 17:55:33 -0000 On 10/25/05, Andrew P. wrote: > On 10/25/05, Mohan Singh wrote: > > Whenever I need to test a mail/ssh/web server, I usually just telnet or= nc > > into the appropriate port, i.e.: > > > > $ echo "GET / " |nc -v yahoo.com 80 > > > > $ nc -v localhost 22 > > Connection to localhost 22 port [tcp/ssh] succeeded! > > SSH-1.99-OpenSSH_4.2 > > > > 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 t= o > > make it send back anything meaningful. > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= .org" > > > > Why don't you read the netcat manpage for starters? > Oh, I'm mighty sorry. I was sure the exact example was there, but I reread now - and there is none. I will post a link here as soon as I find it.