<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 HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (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:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</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 bgcolor=white lang=PT link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Yap, DNSMasq is much
better, that’s why i’d like to have this feature on it.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><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 lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>
dnsmasq-discuss-bounces@lists.thekelleys.org.uk [mailto:dnsmasq-discuss-bounces@lists.thekelleys.org.uk]
<b>On Behalf Of </b>Paul Chambers<br>
<b>Sent:</b> segunda-feira, 15 de Setembro de 2008 16:52<br>
<b>To:</b> dnsmasq-discuss@lists.thekelleys.org.uk<br>
<b>Subject:</b> Re: [Dnsmasq-discuss] Feature Request?<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I'd like to do something vaguely similar, though in my case
it's sending requests in a particular domain to a given pair of servers, only
when a vpn is up (e.g. tun0). If the VPN isn't up, those servers are not
reachable anyhow.<br>
<br>
I noticed the 'server=/<domain>/<ipaddr>@<interface>' variant
in the docs, but haven't had the time to investigate how it behaves if the
interface in question is down.<br>
<br>
This is also something pdnsd can do, but dnsmasq is a much better tool for my
needs in just about every respect, and I'd really prefer not to have to run
both.<br>
<br>
Paul<br>
<br>
Jorge Bastos wrote: <o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>Hi,</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>Simon, i’d like to ask for a feature if not
implemented yet.</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>I’ve saw in other dns/dns proxy servers,
the ability to serve an IP when certain DNS host is down/doesn’t respond.</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>Is it possible for dnsmasq, to do this,
with two parameters, one for on/off the feature, and the 2<sup>nd</sup> to
specify the host/IP for the response.</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>With this I could for example, inside my
network, redirect all broken DNS’s to my webserver specifying a host and do a
webpage explaining what happened.</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>Is this possible?</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>Thanks in advanced,</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>Jorge</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>PS: I saw it here, and it’s something that
will be very handy for me, and I’m sure for other because of dns problems.</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>---</span><o:p></o:p></p>
<p class=MsoNormal><b><span lang=EN-US>About:</span></b><span lang=EN-US> pdnsd
is a Proxy DNS server for Linux and FreeBSD that is designed to cope with
unreacheable nameservers (e.g. because the dial-in link is not up) in a
graceful manner to prevent DNS-dependent applications like Netscape from
hanging. It has a permanent disk cache and supports parallel query and a wide
variety of link uptests. It also has the ability to serve some local records.</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>
</div>
</div>
</body>
</html>