LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2013, 06:08 AM   #1
Waqas Khan
LQ Newbie
 
Registered: May 2013
Posts: 1

Rep: Reputation: Disabled
Need some help with Bind DNS views


I want to know how to allow only specific source IP addresses to be able to access a few websites and all other URL's should be blocked in Bind DNS 9.x.x I know this is possible through views but I dont know how to make it resolve only a few IP addresses and block the rest
 
Old 05-20-2013, 09:55 AM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
from my bind:
Code:
view "local" {
	match-clients { 0.0.0.0/8; 127.0.0.0/8; ::1; 192.168.0.0/16; };
	include "/etc/bind/named.conf.local";
	include "/etc/bind/named.conf.default-zones";
};

view "global" {
	match-clients { any; };
	include "/etc/bind/named.conf.default-zones";
};
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bind Views with Master and Slave fantasygoat Linux - Server 6 07-08-2014 01:47 AM
Cant make views in latest Bind 9.8.2 all zones must be in views [FAILED] rajshardel Linux - Newbie 3 08-05-2012 04:57 AM
[SOLVED] bind and views frater Linux - Server 5 12-29-2010 06:56 AM
Setting up Bind v9.6 'views' Solaris 9 not resolving? kayasaman Solaris / OpenSolaris 11 05-13-2009 05:50 PM
Bind 9.4 and views not recognized mago Linux - Server 1 03-12-2008 04:03 AM


All times are GMT -5. The time now is 01:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration