are you handing out IP configuration via dhcp? i have a mixed plan9, linux, mac os x, windows environment. my /lib/ndb/local is based on /n/sources/plan9/lib/ndb/local.complicated. there are at least two cpu's that serve as dns and dhcp servers. some non-plan9 systems have entires in ndb (i.e. by MAC address); the rest get their IP's assigned from a pool. dhcp correctly hands out dom, smtp, dns, auth, etc. as configured in the ndb.
> Hello, > > how to make DNS server that serves for computers on my home network? > I tried: > ndb/dns -rs > > 192.168.0.3 is my server’s IP. > the name is “maia” and registered /lib/ndb/local as > sys=maia dom=maia.local > > -bash$ nslookup >> www.google.com > Server: 192.168.0.3 > Address: 192.168.0.3#53 > > Non-authoritative answer: > Name: www.google.com > Address: 216.58.220.228 >> maia > Server: 192.168.0.3 > Address: 192.168.0.3#53 > > ** server can't find maia: NXDOMAIN >> maia.local > Server: 192.168.0.3 > Address: 192.168.0.3#53 > > ** server can't find maia.local: NXDOMAIN >> > > how to enable locally assigned name resolution such as maia? > I have many computers on my home network. currently I am registering them to > /etc/hosts. > but that is a pain. > > Kenji Arisawa
