[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pdns-users
Subject:    Re: [Pdns-users] Forward address to IP
From:       Daniel Lopes de Carvalho <dlcarvalho () gmail ! com>
Date:       2014-06-13 14:35:31
Message-ID: CA+zXk8C8DR+WZwwytQ1pvp9pLK+pS=3Lk_cZZ7sO43FmpOzFGA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello Bert.

Thanks for your reply and sorry for the bad explanation.

I have the address www.example.com that point to IP 200.X.X.X on the
internet, but in my local network, this same address www.example.com should
point to 192.168.X.X. In short, internally the address www.example.com
should point to the IP 192.168.X.X instead of 200.X.X.X.

Yes I want to overrule the recursor, but I don't know how to do it, can you
help me (I believe that it would be do through iptables, but unfortunately
I don't have access to the firewall.)?

Thanks

Daniel

--
Daniel Lopes de Carvalho
dlcarvalho@gmail.com
019 99357-5618



On Fri, Jun 13, 2014 at 11:15 AM, bert hubert <bert.hubert@netherlabs.nl>
wrote:

> On Fri, Jun 13, 2014 at 11:04:55AM -0300, Daniel Lopes de Carvalho wrote:
> > Hello,
> >
> > I have a PowerDNS 3 server and recursor running on a linux box and I'm
> > looking for a way to forward a query to an address to an IP.
> >
> > Example: I have a address www.example.com with IP 200.X.X.X, but I want
> to
> > forward this address to IP 192.168.X.X. Is it possible?
>
> Daniel, we don't understand your question. Can you elaborate more?
>
> If you want to overrule www.example.com, you can do this in the recursor,
> and point it anywhere you want.
>
> If you want to forward IP addresses, you could tell the recursor to change
> any answers containing 200.x.x.x so they contain 192.168.x.x.
>
> But please explain more.
>
>         Bert
>

[Attachment #5 (text/html)]

<div dir="ltr"><div>Hello Bert.  </div><div><br></div><div>Thanks for your reply and \
sorry for the bad explanation.  </div><div><br></div><div>I have the address <a \
href="http://www.example.com">www.example.com</a> that point to IP 200.X.X.X on the \
internet, but in my local network, this same address <a \
href="http://www.example.com">www.example.com</a> should point to 192.168.X.X. In \
short, internally the address <a href="http://www.example.com">www.example.com</a> \
should point to the IP 192.168.X.X instead of 200.X.X.X.  </div>

<div><br></div><div>Yes I want to overrule the recursor, but I don&#39;t know how to \
do it, can you help me (I believe that it would be do through iptables, but \
unfortunately I don&#39;t have access to the firewall.)?</div>

<div><br></div><div>Thanks</div><div><br></div><div>Daniel</div></div><div \
class="gmail_extra"><br clear="all"><div><div dir="ltr">--<br>Daniel Lopes de \
Carvalho<br><a href="mailto:dlcarvalho@gmail.com" \
target="_blank">dlcarvalho@gmail.com</a><br>

019 99357-5618<br><br></div></div>
<br><br><div class="gmail_quote">On Fri, Jun 13, 2014 at 11:15 AM, bert hubert <span \
dir="ltr">&lt;<a href="mailto:bert.hubert@netherlabs.nl" \
target="_blank">bert.hubert@netherlabs.nl</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5">On Fri, Jun 13, 2014 at 11:04:55AM -0300, Daniel \
Lopes de Carvalho wrote:<br> &gt; Hello,<br>
&gt;<br>
&gt; I have a PowerDNS 3 server and recursor running on a linux box and I&#39;m<br>
&gt; looking for a way to forward a query to an address to an IP.<br>
&gt;<br>
&gt; Example: I have a address <a href="http://www.example.com" \
target="_blank">www.example.com</a> with IP 200.X.X.X, but I want to<br> &gt; forward \
this address to IP 192.168.X.X. Is it possible?<br> <br>
</div></div>Daniel, we don&#39;t understand your question. Can you elaborate \
more?<br> <br>
If you want to overrule <a href="http://www.example.com" \
target="_blank">www.example.com</a>, you can do this in the recursor,<br> and point \
it anywhere you want.<br> <br>
If you want to forward IP addresses, you could tell the recursor to change<br>
any answers containing 200.x.x.x so they contain 192.168.x.x.<br>
<br>
But please explain more.<br>
<span class="HOEnZb"><font color="#888888"><br>
            Bert<br>
</font></span></blockquote></div><br></div>



_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic