<div dir="ltr">The standard fix for this is to create multiple resolv.conf files.<div><br></div><div>I use this:</div><div><br></div><div>/etc/resolv.conf.dnsmasq</div><div>/etc/resolv.conf.local</div><div><br></div><div>I also use a script to manage these in the event that my external ip is DHCP.</div>
<div><br></div><div>If /etc/resolv.conf changes copy it to /etc/resolv.conf.dnsmasq</div><div><br></div><div>then copy /etc/resolv.conf.local to /etc/resolv.conf</div><div><br></div><div>Configure dnsmasq to use the alternate /etc/resolv.conf.dnsmasq file instead of standard.</div>
<div><br></div><div><br></div><div>This serves two purposes.</div><div><br></div><div>1) it makes the server use itself for dns.</div><div>2) it keeps nonstandard stuff like what you discuss on the outside of the network and the internal network functions in a standard way. Easier troubleshooting.</div>
<div><br></div><div>If there is a limitation in dnsmasq proper about using alternate port Simon will fix it, he's good like that.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Aug 28, 2013 at 12:46 PM, Scott Bonar <span dir="ltr"><<a href="mailto:sbonar@cradlepoint.com" target="_blank">sbonar@cradlepoint.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Is there anyway to have dnsmasq use the same server address parsing
when using the resolv.conf file as it does when using the 'server'
command line/config option?<br>
My issue is that I want to use the resolv.conf file so I don't have
to restart dnsmasq, but the nameserver I am using also uses a
non-standard port, i.e. not 53.<br>
On the command line I can do something like '111.222.333.444#5353',
but if I put this type of format in the resolv.conf file dnsmasq
does not like it.<br>
<br>
Thx<span class="HOEnZb"><font color="#888888"><br>
<div>-- <br>
<br>
<div>
<i>Scott Bonar | Lead Software Engineer | <a href="tel:208.870.7851" value="+12088707851" target="_blank">208.870.7851</a></i><br>
<div><i><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"></span></i>
<p class="MsoNormal"><img alt="Description:
cid:5604C698-D89A-4D27-B259-BAB5CFC37A24" height="39" width="136" border="0"> <a href="http://www.cradlepoint.com/about/blog" target="_blank"><span style="color:windowtext;text-decoration:none"><img alt="Description: Description: CP_blog" height="30" width="30" border="0"></span></a> <a href="https://twitter.com/cradlepoint" target="_blank"><span style="color:windowtext;text-decoration:none"><img alt="Description: Description: Icon_Twitter_Blue_2" height="27" width="27" border="0"></span></a><a href="https://plus.google.com/u/0/b/105092216039296278811/" target="_blank"><span style="color:windowtext;text-decoration:none"><img alt="Description: Description: Icon_Google+_2" height="30" width="30" border="0"></span></a><a href="http://www.linkedin.com/company/cradlepoint-inc." target="_blank"><span style="color:windowtext;text-decoration:none"><img alt="Description: Description: Icon_LinkedIn_Blue_2" height="30" width="30" border="0"></span></a><br>
<i><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></i></p>
<a href="http://www.linkedin.com/company/cradlepoint-inc." target="_blank"><span style="color:windowtext;text-decoration:none"></span></a><a href="http://www.linkedin.com/company/cradlepoint-inc." target="_blank"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d;text-decoration:none"></span></a>
</div>
</div>
</div>
</font></span></div>
<br>_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
<br></blockquote></div><br></div>