<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<div class="moz-cite-prefix">On 21/10/2020 13:02, jurgen Isaacs via
Pdns-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:15e4a01d6a7a2$17a57bf0$46f073d0$@tw.na">
<p class="MsoNormal"><span lang="EN-ZA">Our contractor setup two
DNS servers each with internal and external ip . We would like
to bind all requests to the private ip and VIP the public ip
on the firewall to the internal private ip basically running
all request from outside via the firewall .<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-ZA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-ZA">Please can I get
information on how to do it if possible and what commands to
use. </span></p>
</blockquote>
<p>The comprehensive documentation is a good place to start:
<a class="moz-txt-link-freetext" href="https://docs.powerdns.com/">https://docs.powerdns.com/</a></p>
<p>Your question isn't clear though, and I don't think you've really
thought it through.<br>
</p>
<p>1. Are you talking about <a moz-do-not-send="true"
href="https://docs.powerdns.com/recursor/settings.html">PowerDNS
Recursor</a> or <a moz-do-not-send="true"
href="https://docs.powerdns.com/authoritative/settings.html">PowerDNS
Authoritative</a>? Which version?</p>
<p>2. On the one hand you say that the DNS servers have both an
internal and external IP, which suggests there are two
interfaces. But then you talk about a firewall, and the subject
line says "NAT".</p>
<p>For binding interfaces, see options "local-address" (for
listening for queries) and "query-local-address" (for packets sent
outbound to other nameservers).<br>
</p>
<p>However, it sounds to me like this is actually a networking
problem, i.e. how to configure NAT on your firewall to forward
traffic to and/or from PowerDNS. If so, I don't think it's
relevant to the PowerDNS community. You would be better off
talking to your local network administrator instead.<br>
</p>
<p>Regards,</p>
<p>Brian.<br>
</p>
</body>
</html>