Solved

BIND - restricting public access to a specific zone

Posted on 2007-03-27
5
254 Views
Last Modified: 2013-12-16
I have an internal zone that I've setup, however I'd like to restrict access to this zone file to only machines on our internal network with the IP addresses 10.9.3.x.  

I am running Fedora Core 3 with BIND.  How can I restrict all outside traffic and not allow them to resolve host entries just for that zone?  I can see where there is an allow-transfer within my named.conf file, however within the zone file itself - is this where I need to restrict it?

Thanks for your response.
0
Comment
Question by:JWeb Admin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 71

Accepted Solution

by:
Chris Dent earned 500 total points
ID: 18802923

Hi,

Add an allow-query statement to named.conf for the zone:

zone "name"
{
  ...
  allow-query { 10.9.3.0/24; }
}


HTH

Chris
0
 

Author Comment

by:JWeb Admin
ID: 18802950
OK - I don't have to do anything else as far as adding a statement to say "don't allow anyone else, but allow 10.9.3.0/24?"
0
 
LVL 71

Expert Comment

by:Chris Dent
ID: 18803023

Nope, it's implied by the allow-query statement.

Chris
0
 

Author Comment

by:JWeb Admin
ID: 18803097
Thanks!
0
 
LVL 71

Expert Comment

by:Chris Dent
ID: 18803184

You're welcome :)

Chris
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question