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

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
m
 
Line 1: Line 1:
<includeonly>{{#vardefine:Next|{{#show:{{FULLPAGENAME}}|?Next in Series|link=none}}}}
{{Ebuild
{{#if:{{#var:Next|}}|
|Summary=BIND - Berkeley Internet Name Domain - Name Server
=== Next >>> ===
|CatPkg=net-dns/bind
'''Read the next article in this series: [[{{#var:Next}}]]'''
|Homepage=http://www.isc.org/software/bind
}}
 
BIND is a DNS server.
 
=== Installation ===
{{console|body=###i## emerge net-dns/bind}}
 
=== Local Caching Only Server ===
{{console|body=###i## echo "dns_servers="127.0.0.1" >> /etc/conf.d/net}}
 
{{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
};
}}
}}
{{Announce|{{SupportBlurb}}}}
 
</div><div class="col-xs-12 col-md-3">{{#vardefine:Summary|{{#show:{{FULLPAGENAME}}|?Summary}}}}{{#vardefine:Author|{{#show:{{FULLPAGENAME}}|?Author|link=none}}}}{{#vardefine:Icon|{{#show:{{FULLPAGENAME}}|?Icon}}}}{{#if:{{#var:Author|}}|{{#widget:ArticleBio|body={{#show: {{#var:Author}} | ?Bio }}|user={{#var:Author|}}|icon_url={{#if:{{#var:Icon|}}|{{filepath:{{#sub:{{#var:Icon}}|5}}|80}}|http://www.gravatar.com/avatar/{{#show: {{FULLPAGENAME}} | ?Gravatar MD5}}/?s=80&d=retro&r=g}}}}}}
{{file|name=/etc/resolv.conf|lang=|desc=set the local system to listen to BIND|body=
<div class="bs-head" style="text-decoration: underline; margin-bottom: 15px;">Got Funtoo?</div>
nameserver 127.0.0.1
Have you installed Funtoo Linux yet? Discover the power of a from-source meta-distribution optimized for your hardware! See our [[Funtoo Linux Installation|installation instructions]] and [[Subarches|browse our CPU-optimized builds]].
<div class="bs-head" style="text-decoration: underline; margin-bottom: 15px;">Funtoo News</div>
{{NewsList|3}}
[[News|View More News...]]
<div class="bs-head" style="text-decoration: underline; margin-bottom: 15px;">More Articles</div>
Browse all our Linux-related articles, below:
{{#ask:[[Category:Articles]]
|format=category
|link=all
|headers=show
|searchlabel=... further results
|columns=1
}}
}}
__NOEDITSECTION__
 
</div></div></div>
{{console|body=###i## rc-update add named default
[[Category:Articles]]</includeonly>
###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