<?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[DHCP Server outbound interface for DDNS updates?]]></title><description><![CDATA[<p dir="auto">Hello,<br />
our SG-3100 in a remote office is running DHCP Server on LAN (192.168.52.0/24) and at the same time acting as a OpenVPN Client to connect to HQ. OpenVPN uses 10.3.101.0/30 as the Tunnel Network for peer-to-peer functionality to be enabled. DHCP Server is configured with the address in HQ for Dynamic DNS registration.</p>
<p dir="auto">When checking the logs at the DNS in HQ (bind 9) I see that the DDNS updates are originating from the OpenVPN interface 10.3.101.2 instead of the LAN IP 192.168.52.4.</p>
<p dir="auto">Is there a way to fix this? (Comparing to DNS Resolver where I set the outbound interface to LAN and all works).</p>
]]></description><link>https://forum.netgate.com/topic/182835/dhcp-server-outbound-interface-for-ddns-updates</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 00:35:53 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/182835.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 Sep 2023 08:34:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DHCP Server outbound interface for DDNS updates? on Thu, 14 Sep 2023 11:27:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matsan">@<bdi>matsan</bdi></a> said in <a href="/post/1125463">DHCP Server outbound interface for DDNS updates?</a>:</p>
<blockquote>
<p dir="auto">Actually yes I am surprised since the DHCP Server is configured for the LAN interface.</p>
</blockquote>
<p dir="auto">The DHCP server 'serves' leases on the LAN.<br />
That's one part of the job.</p>
<p dir="auto">You are also using :</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matsan">@<bdi>matsan</bdi></a> said in <a href="/post/1125460">DHCP Server outbound interface for DDNS updates?</a>:</p>
<blockquote>
<p dir="auto">DHCP Server is configured with the address in HQ for Dynamic DNS registration.</p>
</blockquote>
<p dir="auto">and that's another job, using the interface that lead to the upstream ( ? ) DDNS service, your HQ.<br />
That traffic won't go over LAN .... HQ isn't on LAN.</p>
]]></description><link>https://forum.netgate.com/post/1125469</link><guid isPermaLink="true">https://forum.netgate.com/post/1125469</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Thu, 14 Sep 2023 11:27:38 GMT</pubDate></item><item><title><![CDATA[Reply to DHCP Server outbound interface for DDNS updates? on Thu, 14 Sep 2023 09:14:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gertjan">@<bdi>Gertjan</bdi></a> Default gateway for the SG-3100 is itself, not the OpenVPN connection to HQ. Local clients go out through 192.168.52.4.</p>
<p dir="auto">"And why are you surprised that, when you use a "OpenVPN to connect to HQ", connections to HQ are using this connection (OpenVPN). Isn't this what you actually want ?"</p>
<p dir="auto">Actually yes I am surprised since the DHCP Server is configured for the LAN interface.</p>
<p dir="auto">Setting DNS Resolver to use LAN as Outbound port makes the SG-3100 in remote office look like a remote office client (i.e. in 192.168.52.0/24 network, not the OpenVPN peer-to-peer network).</p>
]]></description><link>https://forum.netgate.com/post/1125463</link><guid isPermaLink="true">https://forum.netgate.com/post/1125463</guid><dc:creator><![CDATA[matsan]]></dc:creator><pubDate>Thu, 14 Sep 2023 09:14:13 GMT</pubDate></item><item><title><![CDATA[Reply to DHCP Server outbound interface for DDNS updates? on Thu, 14 Sep 2023 09:05:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matsan">@<bdi>matsan</bdi></a></p>
<p dir="auto">Fix ? Probably not broken.<br />
The DHCP uses the default gateway : your OpenVPN connection (?)</p>
<p dir="auto">Btw : Why would a process (dhcp) running 'in' pfSense = behind every pfSense interfaces, go out to the LAN, go back into the LAN, go trough pfSense, out over the default "WAN", to reach your 'HQ' ?</p>
<p dir="auto">I'm using OpenVPN as a server, I've no OpenVPN client experinece, but Policy Routing should be your solution - something like that.</p>
<p dir="auto">And why are you surprised that, when you use a "OpenVPN to connect to HQ", connections to HQ are using this connection (OpenVPN). Isn't this what you actually want ?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matsan">@<bdi>matsan</bdi></a> said in <a href="/post/1125460">DHCP Server outbound interface for DDNS updates?</a>:</p>
<blockquote>
<p dir="auto">(Comparing to DNS Resolver where I set the outbound interface to LAN and all works).</p>
</blockquote>
<p dir="auto">Yeah, I know. Totally absurd.<br />
99,999999999 % change that it won't find "DNS root servers", TLD servers, and domain name servers on any LAN type interface.<br />
On the other hand : who cares. Routing will take care of things just nicely.<br />
So : If I set LAN as the "outbound", and then unbound goes out over WAN anyway ...<br />
( this starts to look like I didn't understood something here )</p>
<p dir="auto">Btw : I know : I've could have set up a rasberry pi with some resolver solution on my LAN , and have unbound forward to it.</p>
]]></description><link>https://forum.netgate.com/post/1125462</link><guid isPermaLink="true">https://forum.netgate.com/post/1125462</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Thu, 14 Sep 2023 09:05:58 GMT</pubDate></item></channel></rss>