From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] I don't understand ndb/dns From: "Federico G. Benavento" Date: Thu, 6 Dec 2007 01:56:18 -0300 In-Reply-To: <13426df10712052023p58cec10bkd8cb13b4cf34229d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 12bb932c-ead3-11e9-9d60-3106f5b1d025 shouldn't the dns entry be in your inside of your net, something like ipnet=mynet ip=192.168.19.0 ipmask=255.255.255.0 dns=10.10.10.1 then if your machine's ip is between 192.168.19.0 and 255.255.255.0, it will use that dns. if it's dhcp, then ndb/dns -r should just work. > OK, we did some more work here on THNX today. wireless on the x60 is > up and working with wpa. > > But we can't make heads nor tails of how to get dns to work. NAT is > fine: I can ping the dns server from the plan 9 OS running under > lguest. > > here is one example. The guest is at 192.168.19.1, the tap0 device on > linux is at 192.168.192. Wireless IP is 10.10.10.144. The dns is at > 10.10.10.1. > > I can do the following: ndb/dnsdebug @10.10.10.1 cnn.com and get a good answer. > > I can cat /net/ndb, and one entry I get is this: > dns=10.10.10.1 > > Also, there is no dns entry in /lib/ndb/local. > > I have also restarted dns, as in ndb/dns -r. > > No good. What should I look for? > > thanks > > ron