Difference between pages "Template:DisplayBuilds" and "Package:Bind"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
m
 
Line 1: Line 1:
<includeonly>
{{Ebuild
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=build=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@build,variant=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@variant,latest=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@latest,path=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@path,download=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@download}}{{#vardefine:latest|{{#external_value:latest}}}}{{#ifeq:{{#var:latest}}|None||
|Summary=BIND - Berkeley Internet Name Domain - Name Server
<tr>
|CatPkg=net-dns/bind
<td>{{#external_value:build}}</td>
|Homepage=http://www.isc.org/software/bind
<td>{{#vardefine:v|{{#external_value:variant}}}}{{#if:{{#var:v}}|{{#var:v}}|<span style="color: #666;">standard</span>}}</td>
}}
<td>{{#var:latest}}</td>
 
<td>
BIND is a DNS server.
* from '''[http://ftp.osuosl.org/pub/funtoo{{#external_value:download}} osuosl.org]'''
 
* from '''[http://build.funtoo.org{{#external_value:download}} funtoo.org]'''</td>
=== Installation ===
<td>
{{console|body=###i## emerge net-dns/bind}}
* [http://ftp.osuosl.org/pub/funtoo{{#external_value:path}} osuosl.org]
 
* [http://build.funtoo.org{{#external_value:path}} funtoo.org]</td>
=== Local Caching Only Server ===
</tr>}}
{{console|body=###i## echo "dns_servers="127.0.0.1" >> /etc/conf.d/net}}
</includeonly>
 
{{file|name=/etc/bind/named.conf|lang=|desc=ensure local listening|body=
listen-on-v6 { ::1; };
listen-on { 127.0.0.1; };
}}
 
{{file|name=/etc/bind/named.conf|lang=|desc=remove /* comments */ disabling this block, optionally add your upstream DNS servers|body=
forward first;
forwarders {
// 123.123.123.123; // Your ISP NS
// 124.124.124.124; // Your ISP NS
// 4.2.2.1; // Level3 Public DNS
// 4.2.2.2; // Level3 Public DNS
8.8.8.8; // Google Open DNS
8.8.4.4; // Google Open DNS
};
}}
 
{{file|name=/etc/resolv.conf|lang=|desc=set the local system to listen to BIND|body=
nameserver 127.0.0.1
}}
 
{{console|body=###i## rc-update add named default
###i## rc
}}
 
{{PageNeedsUpdates}}
{{EbuildFooter}}

Revision as of 13:42, February 5, 2015

Bind

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


BIND is a DNS server.

Installation

root # emerge net-dns/bind

Local Caching Only Server

root # echo "dns_servers="127.0.0.1" >> /etc/conf.d/net
   /etc/bind/named.conf - ensure local listening
listen-on-v6 { ::1; };
	listen-on { 127.0.0.1; };
   /etc/bind/named.conf - remove /* comments */ disabling this block, optionally add your upstream DNS servers
forward first;
	forwarders {
	//	123.123.123.123;	// Your ISP NS
	//	124.124.124.124;	// Your ISP NS
	//	4.2.2.1;		// Level3 Public DNS
	//	4.2.2.2;		// Level3 Public DNS
		8.8.8.8;		// Google Open DNS
		8.8.4.4;		// Google Open DNS
	};
   /etc/resolv.conf - set the local system to listen to BIND
nameserver 127.0.0.1
root # rc-update add named default
root # rc