From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Russ Cox" To: 9fans@cse.psu.edu Subject: Re: [9fans] dns not running MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20001203011634.2C821199EA@mail.cse.psu.edu> Date: Sat, 2 Dec 2000 20:16:16 -0500 Topicbox-Message-UUID: 34a26bfa-eac9-11e9-9e20-41e7f4b1d025 Your problem is not that you're not running ip/ipconfig. It is, as you point out, that dns does not start at boot. This is by design -- no ip address, no dns. After using ip/ppp to dial your ISP, you should start dns with ndb/dns -r (perhaps set DNSSERVER too). When you're done, kill it off. One other thing: in order for this to work you need to make the following change to /sys/src/libndb/dnsquery.c diff dnsquery.c odnsquery.c 44c44 < if(mount(fd, net, MBEFORE, "") < 0) --- > if(mount(fd, net, MAFTER, "") < 0) That's line 44, change MAFTER to MBEFORE. Then cd /sys/src/libndb mk install mk clean cd /sys/src/cmd/ndb mk install mk clean That will get you a new ndb/cs that will notice the new dns once you start it. (That fix will be in the next release.) Russ