9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: John Soros <sorosj@gmail.com>
To: 9fans@9fans.net
Subject: Re: [9fans] DNS server domain
Date: Fri, 28 Mar 2008 20:21:04 +0100	[thread overview]
Message-ID: <20080328202104.1a7a35bb@h4x> (raw)
In-Reply-To: <77fd5e377ae81371867d47b51a754b17@mteege.de>

When I used my plan9 server as dns server, it was also my dhcp server, which is quite handy. it communicates some info to the dhcp clents, for example the default search domain, which, in my understanding does just what you want. It firsq querys the dns server for the domain, then tries to prefix it to the default search domain, and query that.
worked for me :-)
Cheers
Johnny


On Fri, 28 Mar 2008 15:54:55 +0100
Matthias Teege <matthias-9fs@mteege.de> wrote:

> > the dnsdomain attribute is well-documented.  what i didn't see
> > is the convention for where to hang it in the database.
> > generally, i do this by setting ipnet in /lib/ndb/local.  e.g.
>
> I put it in my ndb/local and it works for the Plan 9 server
>
> % ndb/dnsquery
> > cab
> cab.mteege.de ip	10.8.47.11
>
> But if I query the server from other clients on the same network I've
> got empty results. Is dnsdomain only usefull for "internal" querys?
>
> Matthias
>
>


  reply	other threads:[~2008-03-28 19:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-28  8:24 Matthias Teege
2008-03-28 12:38 ` erik quanstrom
2008-03-28 14:54   ` Matthias Teege
2008-03-28 19:21     ` John Soros [this message]
2008-03-29  8:21       ` Matthias Teege
2008-03-29  9:34         ` John Soros
2008-03-29 14:10           ` erik quanstrom
     [not found] <mailman.1.1206705601.1211.9fans@9fans.net>
2008-03-28 12:29 ` Josh Wood
2008-03-28 15:03 erik quanstrom
     [not found] <bf4bf30847a6f4b87df2b584b28687ed@quanstro.net>
2008-03-28 15:32 ` Matthias Teege

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=20080328202104.1a7a35bb@h4x \
    --to=sorosj@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).