From owner-freebsd-questions@FreeBSD.ORG Sat Apr 10 16:14:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 138FE1065670 for ; Sat, 10 Apr 2010 16:14:32 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id C0D238FC08 for ; Sat, 10 Apr 2010 16:14:31 +0000 (UTC) Received: by qyk11 with SMTP id 11so3603590qyk.13 for ; Sat, 10 Apr 2010 09:14:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=93IxpuQ08jrdB4r1NXBtaTo9f75Sl0xrz7X6TYLbPK0=; b=t5VgJOeVKL11Ngj/lpbx1apWWXboE/8lS+KzBTm81u78ieV3usD3dSIEkfUhLm5Bes eIKW6G1i1lmlMVizWkA2jrO4NwiDZAiVS8O9lLxb+0GHxujj4ZhBV/GvSi4z6JN3WLEn CFpD1AjeIpJLwb2Tw8Pn4aDsPsyWoUaspIlz8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bOK2aOY1qzoL21GxC48wSEzmYzt5Pn7QV3EMtYNx5/UXDJRXsFN8gdc4r/uT7D82fR 7t6vSXVMy/+9U3s30iwytOIy5wZFHWo+blLz9s1CRAVvsqrAfwvEv6VJOzH3hWi6awKa nhdWu6r78HxrTfPIhjNzxdWBClDoy+/9T/vIY= MIME-Version: 1.0 Received: by 10.229.85.147 with HTTP; Sat, 10 Apr 2010 09:14:30 -0700 (PDT) In-Reply-To: <4BC0911E.2090703@earthlink.net> References: <4BC0911E.2090703@earthlink.net> Date: Sat, 10 Apr 2010 11:14:30 -0500 Received: by 10.229.190.133 with SMTP id di5mr1649474qcb.23.1270916070096; Sat, 10 Apr 2010 09:14:30 -0700 (PDT) Message-ID: From: Adam Vande More To: Walter Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Questions Subject: Re: host & dig 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: Sat, 10 Apr 2010 16:14:32 -0000 On Sat, Apr 10, 2010 at 9:54 AM, Walter wrote: > A previous question to the List on how to get an IP > address from a host speicific URL yielded the helpful > responses of "host" and "dig." These (seemed to) work > fine. Well, just now I got a chance to try it out on a tiny > server I have at someone else's house, and on another > network. > > I used telnet to connect to 68.204.xxx.xxx > it tells me I've connected to xxx.xxx.204.68.cfl.res.rr.com. > (backwards, right?), then I log in. > No, you have to a connection before you login. You want to *strongly* consider using ssh instead of telnet. You may also be referring the format of the DNS query result which known as http://en.wikipedia.org/wiki/Reverse_DNS_lookup > > After user/pass entry, it says connected from "user-yyyyyyy.cab" > (replaced seemingly random name with "yyyyyyy" in case > it's not transient) > > My external IP here is 24.110.nnn.nnn > > The issue: > > When I use either "host" or "dig" to give me the IP address > from "user-yyyyyyy.cab", they tell me: 208.68.zzz.zzz > (Ping gives the same.) > > So, I'm still at a loss, I think, to know the originating IP. > Should a firewall rule blocking 208.68.zzz.zzz actually > operate against 24.110.nnn.nnn? I don't understand the question, what is the rule? > I'd STILL like to know the true source IP to be able to connect back to > it. > man sockstat man netstat -- Adam Vande More