9fans archive / 2007 / 04 / 510 /    prev next

From: "Steve Simon" <steve@qui...>
Subject: Re: [9fans] dns suddenly not working
Date: Thu, 26 Apr 2007 01:23:20 +0100

not sure I really understand the problem but it looks as though
you didn't get a dns= record in /net/ndb (with the new ipconfig).
If this is all it is then you should be able to just do:

	echo '	dns=1.2.3.4' >> /net/ndb

where 1.2.3.4 is your DNS server's address.
I am pretty sure this will work, though I haven't
tried it since the days I used ppp and dialup...

you will also need to get dns to reread its config:

	echo refresh > /net/dns

----------

You could also check that ip/cs is able to
find a dns server for your machine:

	ndb/ipquery sys $sysname dns

and try repeating this using

	ndb/ipquery ip 1.2.3.4 dns

where 1.2.3.4 is your IP address

-Steve