9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: erik quanstrom <quanstro@speakeasy.net>,
	Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] ndb and FQDNs.
Date: Mon, 26 Dec 2005 22:20:59 -0500	[thread overview]
Message-ID: <ee9e417a0512261920q4bf9d2b6p664ac6c031892c07@mail.gmail.com> (raw)
In-Reply-To: <20051226173259.3B5AC1B1D67@dexter-peak.quanstro.net>

> 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=192.168.0.4 sys=dexter-peak dom=quanstro.net
>         smtp=dexter-peak.quanstro.net
>         mx=dexter-peak.quanstro.net
>
> ndbquery (plan9 ndb/query) returns
>         ; ndbquery sys dexter-peak
>         ip=192.168.0.4 sys=dexter-peak dom=quanstro.net smtp=dexter-peak.quanstro.net mx=dexter-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= attribute.
why are you using ndb on unix?

russ


  parent reply	other threads:[~2005-12-27  3:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-26 17:32 erik, quanstrom <quanstro
2005-12-26 18:43 ` lucio
2005-12-26 19:31   ` erik quanstrom
2005-12-27  3:20 ` Russ Cox [this message]
2005-12-27  3:51   ` lucio
2005-12-27  4:02     ` erik quanstrom
2005-12-27  4:07       ` Russ Cox
2005-12-27  3:57   ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee9e417a0512261920q4bf9d2b6p664ac6c031892c07@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@cse.psu.edu \
    --cc=quanstro@speakeasy.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).