From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Date: Thu, 28 Mar 2013 10:06:38 +0000 From: c117152@rmqkr.net Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Subject: [9fans] [9pi] standardize \ normalize setting dns in Topicbox-Message-UUID: 37f315c0-ead8-11e9-9d60-3106f5b1d025 In 9pi, the cmdline.txt allows defining an env var that is evaluated and used by /bin/termrc.local as line arguments for ip/ipconfig. e.g. term% dossrv -f/dev/sdM0/dos term% mount -c /srv/dos /mnt term% cat /mnt/cmdline.txt readparts=1 nobootprompt=local user=glenda ipconfig='-g 10.0.0.138 ether /net/ether0 10.0.0.13 255.255.255.0' term% This however is only sufficient in establishing an ip. For dns resolution it's necessary to add a dns ip to the ndb. e.g. term% ehco ' dns=8.8.8.8'>>/net/ndb What I'd like to ask is for termrc.local to have a dns option so something like dns='8.8.8.8 8.8.4.4' will add the entries properly. R.K. p.s. Manually adding "ehco ' dns=8.8.8.8'>>/net/ndb" works but I'd like a more "official" solution...