LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 11-22-2005, 09:29 AM   #1
kemplej
Member
 
Registered: Dec 2003
Posts: 235

Rep: Reputation: 30
Limiting Bind9 Access


I want to limit use of my nameserver running on Slackware 10.0 to my local users. It seems I cant use hosts.allow. Is there another way?

Thanks!

Justyn
 
Old 11-22-2005, 09:44 AM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
You could use iptables to limit access or make the configuration in the named.conf file.
 
Old 11-22-2005, 01:36 PM   #3
zhizaki
Member
 
Registered: Sep 2005
Location: Austin, TX
Distribution: Slackware
Posts: 31

Rep: Reputation: 15
When you say "local users", are you referring to users on the server itself, or local users on the network?

Like various clients computers connecting to the DNS server or just users who are logged in on the server?
 
Old 11-23-2005, 07:34 AM   #4
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
By default named/bind will listen on all available interfaces. If you only want it to respond to local clients can't you just set it to listen on the local interface? If so, set it in your named.conf file. Then as long as outside DNS traffic is not being routed to your DNS server's local interface/address you shouldn't have to worry about other people using it. If that is not a option then look into using iptables.

Last edited by fur; 11-23-2005 at 07:35 AM.
 
Old 11-25-2005, 11:52 AM   #5
kemplej
Member
 
Registered: Dec 2003
Posts: 235

Original Poster
Rep: Reputation: 30
When I said local users I meant users on the same subnet.
 
Old 11-25-2005, 12:52 PM   #6
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Perhaps a combination of allow-query in the named.conf and/or iptables rules.
 
  


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
Access control limiting antidelldude Fedora 0 08-21-2005 11:34 AM
A strange question: Limiting root access sibtay Linux - Security 4 10-18-2004 07:30 AM
Limiting Desktop access mysticpain Linux - Software 1 05-29-2004 05:13 PM
Limiting SSH access stevealarsen Linux - General 2 09-28-2002 08:18 PM
limiting users access iquadri1 Linux - Networking 1 09-04-2001 01:23 PM


All times are GMT -5. The time now is 11:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration