From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 28 Mar 2008 20:21:04 +0100 From: John Soros To: 9fans@9fans.net Message-ID: <20080328202104.1a7a35bb@h4x> In-Reply-To: <77fd5e377ae81371867d47b51a754b17@mteege.de> References: <4190410afe96973a22dd0d94d0caf3ca@quanstro.net> <77fd5e377ae81371867d47b51a754b17@mteege.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [9fans] DNS server domain Topicbox-Message-UUID: 852a5056-ead3-11e9-9d60-3106f5b1d025 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 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 > >