<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Force bind dns server to use ipsec tunnel to forward queries]]></title><description><![CDATA[<p dir="auto">Hello,<br />
as I have to configure the DNS server as a resolver, forwader and slave at same time. I needed to install bind server.<br />
The netgate device has connected an ipsec tunnel ikev1. I don't have VTI interfaces and for this reason I had to create static routes to itself to reach the LAN2 servers from netgate device.<br />
This way, I am able to ping LAN2 devices from Netgate without specifying the source interface. Otherwise, from netgate I had to ping LAN2 devicies specifying the source interface LAN1.</p>
<pre><code class="language-ipsec">    Netgate ============================== ASA
       |                                    |
      LAN1                                 LAN2
(192.168.8.8/22)                    (10.2.255.11/16)
</code></pre>
<p dir="auto">However, bind dns server is not able to resolve addresses that has to be forwarded through the ipsec tunnel. Instead, bind dns server sends the request through the internet. I do not know how to tell to bind dns server to use ipsec tunnel to reach 10.2.255.11. As I mentioned, I already have static routes for this purpose configured in Netgate side:</p>
<pre><code class="language-$">Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
default            192.168.144.1      UGS      pppoe0
10.2.255.11/32     192.168.8.7        UGS       ix0.8
10.2.255.12/32     192.168.8.7        UGS       ix0.8
</code></pre>
<p dir="auto">How can I force bind dns server to reach 10.2.255.11 via tunnel ipsec instead internet?</p>
]]></description><link>https://forum.netgate.com/topic/176511/force-bind-dns-server-to-use-ipsec-tunnel-to-forward-queries</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 02:45:30 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/176511.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 Dec 2022 12:06:16 GMT</pubDate><ttl>60</ttl></channel></rss>