From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <584ff5f337473765a285df6a3862edb0@coraid.com> From: erik quanstrom Date: Wed, 18 Oct 2006 15:59:15 -0400 To: 9fans@cse.psu.edu Subject: Re: [9fans] csipinfo In-Reply-To: <7a0c239b4855c0dcf4dc40e67bf4236a@terzarima.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: ccff2a34-ead1-11e9-9d60-3106f5b1d025 why should a program in general care what the difference between a domain and an ip address is? it's pretty easy to tell if you really need to know, which isn't often. - erik On Wed Oct 18 15:57:11 EDT 2006, forsyth@terzarima.net wrote: > >if one knew more about DNS, maybe the .in-addr.arpa thing > >would be obvious... > > that's what's the subject of DNS lookups to do a `reverse lookup'. > it's really an ordinary lookup of specially-constructed names in > a domain reserved for them. that's the DNS itself, nothing to do with Plan 9. > dnsquery is mainly used interactively. i'm not sure you really want to do it > inside ndb/dns itself, because it catches cases where client programs > are confused (or have been confused) between domain names and IP addresses.