From owner-freebsd-questions@FreeBSD.ORG Mon Dec 4 20:11:46 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 33F6816A4CA for ; Mon, 4 Dec 2006 20:11:46 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 768DD43CA7 for ; Mon, 4 Dec 2006 20:11:10 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin05-en2 [10.13.10.150]) by smtpout.mac.com (Xserve/8.12.11/smtpout01/MantshX 4.0) with ESMTP id kB4KBgkQ012539; Mon, 4 Dec 2006 12:11:42 -0800 (PST) Received: from [17.214.13.96] (a17-214-13-96.apple.com [17.214.13.96]) (authenticated bits=0) by mac.com (Xserve/smtpin05/MantshX 4.0) with ESMTP id kB4KBY9V024562; Mon, 4 Dec 2006 12:11:35 -0800 (PST) In-Reply-To: <20061204195429.GA920@host.my.domain> References: <20061204195429.GA920@host.my.domain> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <50AF69DE-3887-4919-8D2E-4ED3CBB81D61@mac.com> Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Mon, 4 Dec 2006 12:11:34 -0800 To: a@zeos.net X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Cc: freebsd-questions@freebsd.org Subject: Re: What is the difference between "No address associated with name" and "Unknown host" 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: Mon, 04 Dec 2006 20:11:46 -0000 On Dec 4, 2006, at 11:54 AM, a@zeos.net wrote: > What is the difference between "No address associated with name" > and "Unknown host": The former means there is no A record in the DNS for the hostname, but there is a DNS record for the domain and that it answered the question as such. The latter indicates that the domain itself was invalid, and you got an NXDOMAIN response rather than NOERROR. > $ ping accounts.eirtrade.ie > ping: cannot resolve accounts.eirtrade.ie: No address associated > with name > > and > > $ ping accounts.eirtrade.i > ping: cannot resolve accounts.eirtrade.i: Unknown host % dig accounts.eirtrade.ie ; <<>> DiG 9.3.2 <<>> accounts.eirtrade.ie ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53319 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;accounts.eirtrade.ie. IN A ;; AUTHORITY SECTION: eirtrade.ie. 10703 IN SOA auth01.ns.eircom.net. hostmaster.eircom.net. 2001031301 28800 7200 604800 86400 ;; Query time: 1 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Mon Dec 4 15:09:19 2006 ;; MSG SIZE rcvd: 105 % dig accounts.eirtrade.i ; <<>> DiG 9.3.2 <<>> accounts.eirtrade.i ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 18893 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;accounts.eirtrade.i. IN A ;; AUTHORITY SECTION: . 10718 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2006120400 1800 900 604800 86400 ;; Query time: 1 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Mon Dec 4 15:10:35 2006 ;; MSG SIZE rcvd: 112 -- -Chuck