From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Mon, 26 Dec 2005 22:20:59 -0500 From: Russ Cox To: erik quanstrom , Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] ndb and FQDNs. In-Reply-To: <20051226173259.3B5AC1B1D67@dexter-peak.quanstro.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051226173259.3B5AC1B1D67@dexter-peak.quanstro.net> Cc: Topicbox-Message-UUID: cb01ab86-ead0-11e9-9d60-3106f5b1d025 > on a unix machine: > ; host dexter-peak > ; host dexter-peak.quanstro.net > > both return a value. because both look up dexter-peak.quanstro.net, the first one only implicitly. > with this ndb entry > > ip=3D192.168.0.4 sys=3Ddexter-peak dom=3Dquanstro.net > smtp=3Ddexter-peak.quanstro.net > mx=3Ddexter-peak.quanstro.net > > ndbquery (plan9 ndb/query) returns > ; ndbquery sys dexter-peak > ip=3D192.168.0.4 sys=3Ddexter-peak dom=3Dquanstro.net smtp=3Ddext= er-peak.quanstro.net mx=3Ddexter-peak.quanstro.net > ; ndbquery sys dexter-peak.quanstro.net > > how do i enter things so the second query works? ndbquery dom dexter-peak.quanstro.net dom is for dns names. sys is for local system names (yes there is life without dns). > also, how do i enter a multi-homed machine? put in a second ip=3D attribute. why are you using ndb on unix? russ