From owner-freebsd-questions@FreeBSD.ORG Tue Oct 25 17:50:26 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 B1C7916A41F for ; Tue, 25 Oct 2005 17:50:26 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25F2C43D55 for ; Tue, 25 Oct 2005 17:50:26 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by zproxy.gmail.com with SMTP id i28so918092nzi for ; Tue, 25 Oct 2005 10:50:25 -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=tTSSZ/+baBJFZxXQeR91Hs9Lae20ggFQ1DeqJhF2FgQkzAw76OriVrhv+vWkOEAro7DSsuQoe4OIDa3yn0fbihVKdqEaCxbK/ObWSHk001MRnGWncwk/ldFLZG1omMWw7vnwpSblweUYCTbC69+4DH8JYtgYI1BHOOCAx8qUw/4= Received: by 10.37.20.35 with SMTP id x35mr7365339nzi; Tue, 25 Oct 2005 10:50:25 -0700 (PDT) Received: by 10.37.20.34 with HTTP; Tue, 25 Oct 2005 10:50:25 -0700 (PDT) Message-ID: Date: Tue, 25 Oct 2005 21:50:25 +0400 From: "Andrew P." To: Mohan Singh In-Reply-To: <48d803190510250633k93e3934n7f1dd2bca493e21e@mail.gmail.com> 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:50:26 -0000 On 10/25/05, Mohan Singh wrote: > Whenever I need to test a mail/ssh/web server, I usually just telnet or n= c > 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 to > 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.o= rg" > Why don't you read the netcat manpage for starters?