On Apr 2, 10:35 am, [email protected] (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 via email to