[Pdns-users] Forward address to IP

Daniel Lopes de Carvalho dlcarvalho at gmail.com
Fri Jun 13 14:35:31 UTC 2014

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.)?



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

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

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20140613/169d0042/attachment-0001.html>

More information about the Pdns-users mailing list