Docker - adding DNS by editing "docker" file

Hello,

I am trying to edit file /etc/init.d/docker in Boot2Docker. After editing it, saving using wq command and reboot command its state is not saved. What I am doing wrong? What I want to achieve is to add configurations with DNS like in attached screen (–bip and --dns):

Is this right place to do this configuration?