Eric wrote (in response to my query about resolv.conf getting 
overwritten)

> If it gets overwritten by dhcp then it will be overwritten whatever
> you do to configdb. As it may well be overwritten any time during
> operation.
> 
> The following link
> http://www.cyberciti.biz/faq/dhclient-etcresolvconf-hooks/ may help
> to avoid this.

I read the link, thanks.

My objective is to use the opendns dns servers for all the boxes on 
my local network by listing their dns server as 192.168.1.254. What I 
did before was create a file 

/etc/my_resolv.conf

containing the opendns dns servers, and then having a line in 
dnsmasq.conf as follows:

# Change this line if you want dns to get its upstream servers from
# somewhere other that /etc/resolv.conf
resolv-file=/etc/my_resolv.conf

and then put my_resolv.conf in the etc.lrp package, which was awkward 
but seemed to work.

So far my Leaf box's /etc/resolv.conf has not been overwritten. But 
since it might be, I guess I will go back to my old method, except 
that configdb.lrp provides a much handier (and more appropriate) 
place to put /etc/my_resolv.conf than etc.lrp.

Thanks for your help. Please let me know if this doesn't make sense.

Tim

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to