<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DNS Forwarding only for specific domain in Spark Firewall (SMB)</title>
    <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/DNS-Forwarding-only-for-specific-domain/m-p/275796#M13896</link>
    <description>&lt;P&gt;That looks about right.&lt;BR /&gt;Not sure if dnsmasq.conf is preserved with firmware upgrades or not (or even a reboot).&lt;/P&gt;</description>
    <pubDate>Mon, 20 Apr 2026 17:41:35 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2026-04-20T17:41:35Z</dc:date>
    <item>
      <title>DNS Forwarding only for specific domain</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/DNS-Forwarding-only-for-specific-domain/m-p/275664#M13892</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;Hardware: Spark 1535&lt;BR /&gt;Version: R82&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I plan to use this firewall as the DNS server for the entire managed network.&lt;BR /&gt;I need to configure DNS forwarding only for one specific domain: file.core.windows.net.&lt;/P&gt;&lt;P&gt;google.com -&amp;gt; resolved by the DNS servers configured on the firewall&lt;BR /&gt;a.file.core.windows.net → forwarded for resolution to a different DNS server&lt;/P&gt;&lt;P&gt;For this type of appliance I have seen that there isn't way to configure DNS forwarding.&lt;/P&gt;&lt;P&gt;Is there another way to do that?&lt;/P&gt;&lt;P&gt;I tried to follow the article below, but it didn’t work in my case.&amp;nbsp;Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/Spark-Firewall-SMB/DNS-forwarding-for-internal-domain/m-p/69380" target="_blank"&gt;Solved: DNS forwarding for internal domain - Check Point CheckMates&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alessandro&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2026 08:01:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/DNS-Forwarding-only-for-specific-domain/m-p/275664#M13892</guid>
      <dc:creator>Ale_G</dc:creator>
      <dc:date>2026-04-17T08:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Forwarding only for specific domain</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/DNS-Forwarding-only-for-specific-domain/m-p/275702#M13893</link>
      <description>&lt;P&gt;Considering the platform includes dnsmasq, which can absolutely perform this task, it should be possible.&lt;BR /&gt;That said I don't have access to an R82-based unit to confirm if the process in that thread will work.&lt;BR /&gt;It might be possible with some manual configuration applied to /pfrm2.0/etc/dnsmasq.conf.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2026 18:44:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/DNS-Forwarding-only-for-specific-domain/m-p/275702#M13893</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2026-04-17T18:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Forwarding only for specific domain</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/DNS-Forwarding-only-for-specific-domain/m-p/275750#M13894</link>
      <description>&lt;P&gt;I tried using the script from the article, but it didn’t work.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;#!/bin/sh
kill -9 $(cat /var/run/dnsmasq.pid)
DOMAIN=$(cat /etc/resolv.conf | grep search | awk {'print $2'})
if [ -z "$DOMAIN" ]; then
/pfrm2.0/bin/dnsmasq -y -x /var/run/dnsmasq.pid -h -H /var/hosts -c 0\
 --server=/file.core.windows.net/172.10.11.12
else
/pfrm2.0/bin/dnsmasq -y -x /var/run/dnsmasq.pid -h -H /var/hosts -c 0 -E --domain=#\
 --server=/file.core.windows.net/172.10.11.12
fi
unset DOMAIN&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Regarding the dnsmasq.conf file, could we try adding the following line?&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;server=/file.core.windows.net/172.10.11.12&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 20 Apr 2026 08:55:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/DNS-Forwarding-only-for-specific-domain/m-p/275750#M13894</guid>
      <dc:creator>Ale_G</dc:creator>
      <dc:date>2026-04-20T08:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Forwarding only for specific domain</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/DNS-Forwarding-only-for-specific-domain/m-p/275796#M13896</link>
      <description>&lt;P&gt;That looks about right.&lt;BR /&gt;Not sure if dnsmasq.conf is preserved with firmware upgrades or not (or even a reboot).&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2026 17:41:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/DNS-Forwarding-only-for-specific-domain/m-p/275796#M13896</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2026-04-20T17:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: DNS Forwarding only for specific domain</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/DNS-Forwarding-only-for-specific-domain/m-p/275846#M13899</link>
      <description>&lt;P&gt;From what I understand, the userScript file is executed at every appliance boot, so even if the dnsmasq.conf file is not preserved, the script should take care of fixing it. However, it still doesn’t work. I tried both from a client and from the tool integrated in the Gaia GUI, and it keeps going to the DNS servers configured on the appliance instead of the one configured in the configuration file&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="2026-04-21_083209.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/34072i22702A9E2AAEB33F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2026-04-21_083209.png" alt="2026-04-21_083209.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="2026-04-21_083734.png" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/34073iF04C4D3CEE95CD52/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2026-04-21_083734.png" alt="2026-04-21_083734.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When executing the script manually, no errors are reported, which suggests that the root cause is likely elsewhere. I will continue with further testing and analysis.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 06:45:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/DNS-Forwarding-only-for-specific-domain/m-p/275846#M13899</guid>
      <dc:creator>Ale_G</dc:creator>
      <dc:date>2026-04-21T06:45:53Z</dc:date>
    </item>
  </channel>
</rss>

