<?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[DNS Forwarder; entering &quot;host overrides&quot; from outside the GUI]]></title><description><![CDATA[<p dir="auto">I'm entering DNS Forwarder host overrides to propogate to DNSMasq host overrides in the unbound.conf file.  Propogation is alive and well.  Will take a number of hours if the GUI is the only avenue to set a large number of overrides.</p>
<p dir="auto">Does anyone know a way to drop a few hundred IP/hostnames other than through the Forwarder GUI?</p>
<p dir="auto">Any help appreciated…</p>
]]></description><link>https://forum.netgate.com/topic/63042/dns-forwarder-entering-host-overrides-from-outside-the-gui</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 12:27:52 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/63042.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 21 Nov 2013 17:25:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DNS Forwarder; entering &quot;host overrides&quot; from outside the GUI on Sat, 04 Jan 2014 00:14:41 GMT]]></title><description><![CDATA[<p dir="auto">Albra,<br />
Wasn't that comfortable editing the xml but maybe I need to warm up to it on the test box.  Prefer your option "C" the best if it works.  I saw the paste window you describe and hoped it may be a method of bulk entry but the note below states that additional options are to be entered.  I thought "options' meant custom forwarder settings rather than hostname/ip entries similar to the paste window in the unbound package.  So is the syntax hostname/ip&lt;space&gt;hostname/ip&lt;space&gt;hostname/ip?</p>
<p dir="auto">I'm doing many IP's because my network has 10 gateways with distributed DHCP on each subnet.  And I want Kiwi syslog server to resolve private IP's without relying on if the client device had a hostname entered into it's GUI.  If/when PfSense adds multiple DHCP pools such that leases can be served by PfSense to all gateway subnets then I can abandon this method.</p>
<p dir="auto">I use the unbound package so the forwarder is disabled.&lt;/space&gt;&lt;/space&gt;</p>
]]></description><link>https://forum.netgate.com/post/437209</link><guid isPermaLink="true">https://forum.netgate.com/post/437209</guid><dc:creator><![CDATA[markn62]]></dc:creator><pubDate>Sat, 04 Jan 2014 00:14:41 GMT</pubDate></item><item><title><![CDATA[Reply to DNS Forwarder; entering &quot;host overrides&quot; from outside the GUI on Fri, 03 Jan 2014 00:36:39 GMT]]></title><description><![CDATA[<p dir="auto">if you haven't already done this, I have a couple of questions …</p>
<p dir="auto">a) Why are you doing so many IP's?<br />
b) Why not the whole domain? (and use the forwarder?)</p>
<p dir="auto">As to <em>how</em> to do it ... There are several options ... (all work on 2.0.1)</p>
<p dir="auto">A) Add config file to dnsmasq ...</p>
<ul>
<li>SSH to pfsense</li>
<li>remount your filesystem in read-write mode ( /etc/rc.conf_mount_rw )</li>
<li>upload your "unbound.conf" to /usr/local/etc/dnsmasq.conf</li>
<li>remount your filesystem in read-only mode ( /etc/rc.conf_mount_rw )</li>
<li>restart dnsmasq server under " Status | System " in the GUI</li>
</ul>
<p dir="auto">B) Edit the config file for pfsense</p>
<ul>
<li>SSH to pfsense</li>
<li>remount your filesystem in read-write mode ( /etc/rc.conf_mount_rw )</li>
<li>edit the config file (/cf/conf/config.xml) and place the contents of your unbound.conf under "&lt;pfsense&gt;&lt;dnsmasq&gt;&lt;custom_options&gt;"</li>
<li>remount your filesystem in read-only mode ( /etc/rc.conf_mount_rw )</li>
<li>restart dnsmasq server under " Status | System " in the GUI</li>
</ul>
<p dir="auto">C) Using the GUI</p>
<ul>
<li>go to "Services | DNS Forwarder | Advanced"</li>
<li>cut-n-paste the contents of your unbound.conf file into the Advanced box</li>
</ul>
<p dir="auto">D) Pure XML:</p>
<ul>
<li>SSH to pfsense</li>
<li>remount your filesystem in read-write mode ( /etc/rc.conf_mount_rw )</li>
<li>add "&lt;hosts&gt;&lt;host&gt;hostname&lt;/host&gt;&lt;domain&gt;domain.name&lt;/domain&gt;&lt;ip&gt;ip.add.re.ss&lt;/ip&gt;&lt;/hosts&gt;" for each host under "&lt;pfsense&gt;&lt;dnsmasq&gt;"</li>
<li>add "&lt;domains&gt;&lt;domain&gt;domain&lt;/domain&gt;&lt;ip&gt;ip.add.re.ss1&lt;/ip&gt;&lt;/domains&gt;" for each domain under "&lt;pfsense&gt;&lt;dnsmasq&gt;"</li>
<li>remount your filesystem in read-only mode ( /etc/rc.conf_mount_rw )</li>
<li>restart dnsmasq server under " Status | System " in the GUI</li>
</ul>
<p dir="auto">Personally, I use (C) as it's easy to manipulate in excel/notepad/etc, and just cut-n-paste ...</p>
<p dir="auto">For "Host Overrides" (using method A,B,C):<br />
address=/hostname.domain.name/ip</p>
<p dir="auto">For "Domain Overrides" (using method A,B,C):<br />
server=/domain/ip.add.re.ss1<br />
rebind-domain-ok=/domain/<br />
If you don't do the rebind-domain-ok then it will get ignored.</p>
<p dir="auto">@&lt;/dnsmasq&gt;&lt;/pfsense&gt;&lt;/dnsmasq&gt;&lt;/pfsense&gt;&lt;/custom_options&gt;&lt;/dnsmasq&gt;&lt;/pfsense&gt;</p>
]]></description><link>https://forum.netgate.com/post/437078</link><guid isPermaLink="true">https://forum.netgate.com/post/437078</guid><dc:creator><![CDATA[albrandwood]]></dc:creator><pubDate>Fri, 03 Jan 2014 00:36:39 GMT</pubDate></item><item><title><![CDATA[Reply to DNS Forwarder; entering &quot;host overrides&quot; from outside the GUI on Fri, 22 Nov 2013 14:22:35 GMT]]></title><description><![CDATA[<p dir="auto">They are in the config.xml file (/cf/conf/conf.xml) under pfsense/dnsmasq/hosts element. Believe it will work fine to edit the config.xml and then do a reboot…</p>
]]></description><link>https://forum.netgate.com/post/431018</link><guid isPermaLink="true">https://forum.netgate.com/post/431018</guid><dc:creator><![CDATA[rjcrowder]]></dc:creator><pubDate>Fri, 22 Nov 2013 14:22:35 GMT</pubDate></item></channel></rss>