[Dnsmasq-discuss] How to handle NXDOMAIN replies?

A. Weber | root eSolutions aweber@root.lu
Fri, 24 Dec 2004 02:41:31 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_032A_01C4E962.1356F7F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

Just one short question: Is it possible to translate a NXDOMAIN reply =
from the upstream server into another fixed IP rather than forwarding =
the NXDOMAIN as an answer to the requesting client?

Or otherwise asked: Is there a possibility to use the =
--address=3D/<IP>/<The other IP> directive in a manner that it only =
converts NXDOMAIN replies? I tried with --address=3D/#/<The other IP> =
but as expected from the manpage this simply translates everything, but =
I only want to translate non existing domains to another fixed IP.

I would be thankful for any help you might provide... Merry X-Mas =
however ;)

      A. Weber
      root eSolutions s.=E0 r.l. =20

-------------------------------------------------------------------------=
-
    =20

------=_NextPart_000_032A_01C4E962.1356F7F0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1479" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Just one short question: Is it possible =

to&nbsp;translate a NXDOMAIN reply from the upstream server into another =
fixed=20
IP rather than forwarding the NXDOMAIN as an answer to the requesting=20
client?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Or otherwise asked: Is there a =
possibility to use=20
the --address=3D/&lt;IP&gt;/&lt;The other IP&gt; directive in a manner =
that it=20
only converts NXDOMAIN replies? I tried with --address=3D/#/&lt;The=20
other&nbsp;IP&gt; but as expected from the manpage this =
simply&nbsp;translates=20
everything, but I only want to translate non existing domains to=20
another&nbsp;fixed&nbsp;IP.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I would be thankful for any help you =
might=20
provide... Merry X-Mas however ;)</FONT><BR></DIV>
<DIV>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" border=3D0>
  <TBODY>
  <TR height=3D50><!-- <td width=3D"50" align=3D"left" =
valign=3D"middle">
      <a href=3D"http://www.myHost.lu" target=3D"_blank"><img =
src=3D"http://www.myhost.lu/images/signature.jpg" height=3D"26" =
width=3D"40" border=3D"0"></a>
    </td> -->
    <TD vAlign=3Dcenter align=3Dleft><A=20
      style=3D"FONT-SIZE: 10pt; COLOR: #555555; FONT-FAMILY: Verdana; =
TEXT-DECORATION: none"=20
      href=3D"mailto:aweber@myhost.lu">A. Weber</A><BR><B><A=20
      style=3D"FONT-SIZE: 10pt; COLOR: #555555; FONT-FAMILY: Verdana; =
TEXT-DECORATION: none"=20
      href=3D"http://www.root.lu" target=3D_blank>root eSolutions s.=E0 =
r.l.</A></B>=20
    </TD></TR>
  <TR>
    <TD colSpan=3D2>
      <HR color=3D#111166 SIZE=3D1>
    </TD></TR></TBODY></TABLE></DIV></BODY></HTML>

------=_NextPart_000_032A_01C4E962.1356F7F0--