<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.E-MailFormatvorlage18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#44546A;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>I don’t think this should be fixed at all, because it violates the „official“ format of resolv.conf, see man page. A resolv.conf file modifies like this could not be read by libc’s resolver functions.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>Uwe<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>-----<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>Uwe Schindler<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>H.-H.-Meier-Allee 63, D-28213 Bremen<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'><a href="http://www.thetaphi.de/"><span style='color:#0563C1'>http://www.thetaphi.de</span></a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>eMail: uwe@thetaphi.de<o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> dnsmasq-discuss-bounces@lists.thekelleys.org.uk [mailto:dnsmasq-discuss-bounces@lists.thekelleys.org.uk] <b>On Behalf Of </b>Rance Hall<br><b>Sent:</b> Wednesday, August 28, 2013 11:47 PM<br><b>To:</b> dnsmasq-discuss@lists.thekelleys.org.uk<br><b>Subject:</b> Re: [Dnsmasq-discuss] Non-standard port and resolv.conf file<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>The standard fix for this is to create multiple resolv.conf files.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I use this:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>/etc/resolv.conf.dnsmasq<o:p></o:p></p></div><div><p class=MsoNormal>/etc/resolv.conf.local<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I also use a script to manage these in the event that my external ip is DHCP.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>If /etc/resolv.conf changes copy it to /etc/resolv.conf.dnsmasq<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>then copy /etc/resolv.conf.local to /etc/resolv.conf<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Configure dnsmasq to use the alternate /etc/resolv.conf.dnsmasq file instead of standard.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>This serves two purposes.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>1)  it makes the server use itself for dns.<o:p></o:p></p></div><div><p class=MsoNormal>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.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>If there is a limitation in dnsmasq proper about using alternate port Simon will fix it, he's good like that.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Wed, Aug 28, 2013 at 12:46 PM, Scott Bonar <<a href="mailto:sbonar@cradlepoint.com" target="_blank">sbonar@cradlepoint.com</a>> wrote:<o:p></o:p></p><div><p class=MsoNormal>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><span style='color:#888888'><o:p></o:p></span></span></p><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='color:#888888'>-- </span><o:p></o:p></p><div><p class=MsoNormal><i><span style='color:#888888'>Scott Bonar  |  Lead Software Engineer  |  <a href="tel:208.870.7851" target="_blank">208.870.7851</a></span></i><span style='color:#888888'><o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#888888'>    <a href="http://www.cradlepoint.com/about/blog" target="_blank"><span style='color:#888888;text-decoration:none'> <o:p></o:p></span></a></span></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><a href="http://www.cradlepoint.com/about/blog" target="_blank"><span style='color:windowtext;text-decoration:none'><br>_______________________________________________<br>Dnsmasq-discuss mailing list<br><u><span style='color:blue'>Dnsmasq-discuss@lists.thekelleys.org.uk</span></u><br><u><span style='color:blue'>http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</span></u><o:p></o:p></span></a></p></div><p class=MsoNormal><a href="http://www.cradlepoint.com/about/blog" target="_blank"><span style='color:windowtext;text-decoration:none'><o:p> </o:p></span></a></p></div></div></div></div></div></div></body></html>