diff options
author | Warren Baker <warren@decoy.co.za> | 2010-11-16 22:13:42 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2010-11-16 22:13:42 +0200 |
commit | 6abd1181c88bcae7524203a8fd5fdb95f58173a3 (patch) | |
tree | 8e27d2f737e9222fb3fde365f855612c89d7f0cc /config/unbound/unbound.xml | |
parent | 117b7641cbaa8540368e1a0f2c8b5ac519681d90 (diff) | |
download | pfsense-packages-6abd1181c88bcae7524203a8fd5fdb95f58173a3.tar.gz pfsense-packages-6abd1181c88bcae7524203a8fd5fdb95f58173a3.tar.bz2 pfsense-packages-6abd1181c88bcae7524203a8fd5fdb95f58173a3.zip |
Initial commit of the Unbound package (that 1 day will replace dnsmasq). It is currently limited in configuration options but it does what DNSMasq does excluding the DNS rebind check. Need to investigate that.
Diffstat (limited to 'config/unbound/unbound.xml')
-rw-r--r-- | config/unbound/unbound.xml | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/config/unbound/unbound.xml b/config/unbound/unbound.xml new file mode 100644 index 00000000..8b895f9f --- /dev/null +++ b/config/unbound/unbound.xml @@ -0,0 +1,125 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd"> +<?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?> +<packagegui> + <copyright> + <![CDATA[ + /* + unbound.xml + part of pfSense (http://www.pfSense.com) + Copyright (C) 2010 to whom it may belong + All rights reserved. + */ + /* ========================================================================== */ + /* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + */ + /* ========================================================================== */ + ]]> + </copyright> + <description>Unbound is a validating, recursive, and caching DNS resolver.</description> + <requirements/> + <faq/> + <name>unbound</name> + <version>1.4.6</version> + <title>Services: Unbound DNS Forwarder</title> + <include_file>/usr/local/pkg/unbound.inc</include_file> + <menu> + <name>Unbound DNS</name> + <tooltiptext>Setup Unbound specific settings</tooltiptext> + <section>Services</section> + <url>pkg_edit.php?xml=unbound.xml&id=0</url> + </menu> + <service> + <name>unbound</name> + <rcfile>unbound.sh</rcfile> + <executable>unbound</executable> + <description>Unbound is a validating, recursive, and caching DNS resolver.</description> + </service> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0644</chmod> + <item>http://pkg.percol8.co.za/packages/config/unbound/unbound.inc</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0644</chmod> + <item>http://pkg.percol8.co.za/packages/config/unbound/unbound.xml</item> + </additional_files_needed> + <tabs> + <tab> + <text>Unbound DNS Settings</text> + <url>/pkg_edit.php?xml=unbound.xml&id=0</url> + <active/> + </tab> + </tabs> + <fields> + <field> + <name>Unbound DNS Settings</name> + <type>listtopic</type> + </field> + <field> + <fieldname>unbound_status</fieldname> + <fielddescr>Enable Unbound</fielddescr> + <description>Enable the use of Unbound as your DNS forwarder.</description> + <type>checkbox</type> + </field> + <field> + <fielddescr>Network interface</fielddescr> + <fieldname>active_interface</fieldname> + <description>The network interface(s) the Unbound DNS server will queries from.</description> + <type>interfaces_selection</type> + <required/> + <default_value>wan</default_value> + <multiple/> + </field> + <field> + <fieldname>dnssec_status</fieldname> + <fielddescr>Enable DNSSEC</fielddescr> + <description>Enable the use of DNSSEC. <br/> + <b>Note:</b> It is recommended that when enabling DNSSEC you disable the use of forwarding mode and allow Unbound to do the resolving. This is to ensure that DNS replies are valid and authentic.</description> + <type>checkbox</type> + <default_value>on</default_value> + </field> + <field> + <fieldname>forwarding_mode</fieldname> + <fielddescr>Enable forwarding mode</fielddescr> + <description>Configure the server to make use of the DNS servers configured in <a href="system.php">System: General setup</a>. <br/> + <b>Note:</b> Disabling this will cause Unbound to perform DNS queries without + using the upstream configured DNS servers.</description> + <type>checkbox</type> + <default_value>on</default_value> + </field> + </fields> + <custom_add_php_command> + </custom_add_php_command> + <custom_php_command_before_form/> + <custom_php_resync_config_command> + unbound_reconfigure(); + </custom_php_resync_config_command> + <custom_php_install_command> + unbound_install(); + </custom_php_install_command> + <custom_php_deinstall_command> + unbound_uninstall(); + </custom_php_deinstall_command> +</packagegui> |