From owner-freebsd-questions@FreeBSD.ORG Wed Oct 26 02:34:18 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 6F2CB16A41F for ; Wed, 26 Oct 2005 02:34:18 +0000 (GMT) (envelope-from mohansingh68@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BC6043D45 for ; Wed, 26 Oct 2005 02:34:17 +0000 (GMT) (envelope-from mohansingh68@gmail.com) Received: by zproxy.gmail.com with SMTP id m22so43421nzf for ; Tue, 25 Oct 2005 19:34:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=agCYngfg9nJbDSUITPSHdvs9DQ8qp1yNIxC3tHTz6y3SK3HKZMWZy/9pPPcYMAS+zxxSLuAXjvryfsWTQ+yaVT9NSDE3fcHZ3WvSW7knI8r1J4bpsxSJnTYuJ3VWeFTfDjo/ZE3DiW0B0O/wmRs9yRyXaDmBl3aUm25cZinr3G4= Received: by 10.37.2.32 with SMTP id e32mr414113nzi; Tue, 25 Oct 2005 19:34:17 -0700 (PDT) Received: by 10.36.251.7 with HTTP; Tue, 25 Oct 2005 19:34:16 -0700 (PDT) Message-ID: <48d803190510251934g1d04bbe6sdcdac8b0c3591062@mail.gmail.com> Date: Tue, 25 Oct 2005 22:34:16 -0400 From: Mohan Singh To: freebsd-questions@freebsd.org 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> 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: Wed, 26 Oct 2005 02:34:18 -0000 On 10/25/05, 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. Thanks to all who replied. The best answer I got came from someone who emailed me offline and told me that even if I connected sucessfully to the nameserver, I couldn't get back anything readable because the DNS protocol is binary. I guess host/nslookup/dig is the proper way to do this.