9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ezequiel Aragon <aragonezequiel@gmail.com>
To: 9fans@9fans.net
Subject: Re: [9fans] my plan9 server isn't responding
Date: Tue,  3 Apr 2012 08:38:09 +0000	[thread overview]
Message-ID: <2d26dfd7-76bc-439d-b584-a6a97b59d7dc@l7g2000vbw.googlegroups.com> (raw)
In-Reply-To: <1e2cdb7b6c2947f814365d7430d521db@hamnavoe.com>

On Apr 2, 10:35 am, 9f...@hamnavoe.com (Richard Miller) wrote:
> > See? It seems everything is well configured, but still no short name
> > resolution.
> > What puzzles me more is, the same dnsquery used at the server give
> > identical good results for both the short and large names:
>
> Do you have in /lib/ndb/local on the terminal as I suggested:
>
> ipnet=localnet ip=10.0.0.0 ipmask=255.255.255.0
>         dnsdomain=amarna.net
>
> You can also try
>
> echo '  dnsdomain=amarna.net' >>/net/ndb

this is what my terminal /net/ndb looks like:

ip=10.0.0.1 ipmask=255.255.255.0 ipgw=10.0.0.1
    sys=nefertiti
    dom=nefertiti.amarna.net
    fs=10.0.0.2
    auth=10.0.0.2
    dns=10.0.0.2

So far so good but still, no dnsdomain info, I do have it defined as
part of my subnet info in the server ndb file.
This is my server ndb file:

database=
   file=/lib/ndb/local
   file=/lib/ndb/common
   file=/lib/ndb/auth

ipnet=mynet ip=10.0.0.0 ipmask=255.255.255.0
    ipgw=10.0.0.1
    dns=10.0.0.2
    dnsdomain=amarna.net
    auth=akenaton.amarna.net authdomain=amarna.net
    cpu=akenaton.amarna.net
    fs=akenaton.amarna.net

sys=localhost
    dom=localhost
    ip=127.0.0.1

sys=akenaton
    dom=akenaton.amarna.net
    ip=10.0.0.2 ether=525400a4f5a7

sys=nefertiti
    dom=nefertiti.amarna.net
    ip=10.0.0.3 ether=525400f727b1

Why isn't dnsdomain fetched with the rest of the info to the terminal?

I tried with echo '    dnsdomain=amarna.net' >> /net/ndb as you sugest
and it adds dnsdomain info
to my terminal /net/ndb, ok.

I then try:

ndb/csquery
> akenaton
akenaton.amarna.net ip 10.0.0.2

it works!! but then, I try again:

9fs akenaton

and it fails, and this time, debug info shows:

auth/debug
p9sk1 key: proto=p9sk1 dom=amarna.net user=ezequiel !passwod?
   cannot dial auth server: no auth server found for amarna.net
   csquery authdom=amarna.net auth=* failed
   csquery dom=amarna.net auth=*
   dia net!$auth!ticket succeeded



  reply	other threads:[~2012-04-03  8:38 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-30  8:51 Ezequiel Aragon
2012-03-30  9:35 ` Richard Miller
2012-03-30 13:27 ` Ezequiel Aragon
2012-03-30 13:38   ` erik quanstrom
2012-03-30 16:19     ` Richard Miller
2012-04-02  9:28       ` Ezequiel Aragon
2012-04-02  9:28       ` Ezequiel Aragon
2012-04-02 10:58         ` Richard Miller
2012-04-02 13:15           ` Ezequiel Aragon
     [not found]           ` <75e042ae-ab8a-4655-9a2d-e2a2568eadf3@do6g2000vbb.googlegroups.co>
2012-04-02 13:30             ` erik quanstrom
2012-04-02 14:22         ` Ezequiel Aragon
2012-04-02 14:33           ` erik quanstrom
2012-04-02 14:35           ` Richard Miller
2012-04-03  8:38             ` Ezequiel Aragon [this message]
2012-04-03  8:45               ` Charles Forsyth
2012-04-03 10:47               ` Lucio De Re
2012-04-03 12:53                 ` erik quanstrom
2012-04-03 17:24               ` Anthony Sorace
2012-04-04  4:19                 ` Lucio De Re
2012-04-03  8:38         ` Ezequiel Aragon
2012-03-30 13:56   ` Lucio De Re
2012-03-30 14:45     ` Lyndon Nerenberg
2012-03-30 13:30 ` Ezequiel Aragon
2012-03-30 16:09   ` Richard Miller
2012-04-02  9:27 ` Ezequiel Aragon
2012-04-02  9:44   ` Richard Miller
2012-04-02  9:55     ` Lucio De Re
2012-04-02 11:04       ` Richard Miller

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=2d26dfd7-76bc-439d-b584-a6a97b59d7dc@l7g2000vbw.googlegroups.com \
    --to=aragonezequiel@gmail.com \
    --cc=9fans@9fans.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).