Re: [9fans] dnsquery or search
  Home FAQ Contact Sign in
comp.os.plan9 only
 
Advanced search
POPULAR GROUPS

more...

comp.os.plan9 Profile…
 Up
Re: [9fans] dnsquery or search         


Author: erik quanstrom
Date: Sep 18, 2008 04:52

> I see that ndb/dnsquery returns correct information on my system, but
> I noticed that there is not a default domainname, like on linux, in /
> etc/resolv.conf we set the "search domainname" ... is there a similar
> setting in plan9

plan 9 dns tries to look up unrooted (no ".") names in the local databases.
first success wins.

here's the algorithm from /sys/src/cmd/ndb/dnresolve.c
Show full article (0.95Kb)
no comments