<br><br><div class="gmail_quote">On Fri, Nov 26, 2010 at 5:45 PM, W. Scott Lockwood III <span dir="ltr"><<a href="mailto:scott@guppylog.com">scott@guppylog.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">/etc/resolvconf/resolv.conf.d/head<br>
<br>
</div>You really should 'man resolvconf' before asking such basic questions.<br>
<div><div></div><div class="h5"><br>
On Fri, 2010-11-26 at 11:23 +0530, Kaushal Shriyan wrote:<br>
<br>
<br>
</div></div></blockquote></div><br><div>Hi Again</div><div><br></div><div>Let me explain in details the issue as i am facing now</div><div><br></div><div>I have three Internet Service Provider to connect to internet from my laptop running Ubuntu Desktop Linux OS 10.04 </div>

<div><br></div><div>For example ISP A, ISP B ISP C</div><div><br></div><div>ISP A  --> is the Office Network (when i am in office )</div><div>ISP B -->  is the Mobile Broadband Network (when i am moving )</div><div>

ISP C --> is the Home Network (when i am at home)</div><div><br></div><div>Also in addition to the above details :- </div><div><br></div><div>I have local DNS Server at office, DNS server of Data Center 1 and DNS Server of Data Center 2. so whenever i am in office, by default i need to connect to these </div>

<div>three DNS Servers in order to access the servers.</div><div><br></div><div>The steps i have followed after using resolvconf</div><div><br></div><div>sudo apt-get install resolvconf</div><div>sudo rm /etc/resolv.conf</div>

<div>sudo ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.conf</div><div>sudo vim /etc/openvpn/update-resolv-conf</div><div> </div><div>Add the following lines in the beginning.</div><div> </div><div>foreign_option_1='dhcp-option DOMAIN <a href="http://off.example.com">off.example.com</a> <a href="http://dc1.example.com">dc1.example.com</a> <a href="http://dc2.example.com">dc2.example.com</a>'</div>

<div>foreign_option_2='dhcp-option DNS 172.26.0.1'</div><div>foreign_option_3='dhcp-option DNS 10.20.0.1'</div><div>foreign_option_4='dhcp-option DNS 10.20.0.2'</div><div>foreign_option_5='dhcp-option DNS 10.30.0.1'</div>

<div><br></div><div>save and exit</div><div><br></div><div>Add the below two lines at the bottom of the file openvpn client DC1.conf</div><div> </div><div>up /etc/openvpn/update-resolv-conf</div><div>down /etc/openvpn/update-resolv-conf</div>

<div><br></div><div>The issue which i am facing is that I am unable to resolve the local DNS Servers at office. I need the local DNS Server in order to access Network printers </div><div>and other devices.</div><div><br>
</div>
<div>Office DNS Server is <a href="http://off.example.com">off.example.com</a> and DNS Server IP is 172.26.0.1</div><div><br></div><div>How do i go about in fixing this issue.</div><div><br></div><div>Please suggest/guide</div>

<div><br></div><div>Thanks and Regards</div><div><br></div><div>Kaushal</div><div><br></div><div><br></div><div><br></div>