LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-15-2005, 08:42 PM   #1
kevinm2
Member
 
Registered: Aug 2004
Distribution: Redhat 7.2
Posts: 73

Rep: Reputation: 15
DNS and bind


Any one knows of a simple to follow guide to setup a DNS and BIND behind a firewall on a Redhat 7.2?
 
Old 06-15-2005, 10:18 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
If you Google for DNS and BIND, you will find many howto documents. The only difference when running a firewall is that you have to open port 53 on the firewall.

If you're using IPTABLES, for example:

Code:
#
# DNS - allow local queries on subnet 123.45.67.0
#
-A INPUT -p tcp -m tcp --dport 53                        --syn -j ACCEPT
-A INPUT -p udp -m udp --dport 53                              -j ACCEPT
-A INPUT -p udp -m udp -s 123.45.67.0/24 --sport 53 -d 0/0       -j ACCEPT
-A INPUT -p tcp -m tcp -s 123.45.67.0/24 --sport 53 -d 0/0 --syn -j ACCEPT
 
  


Reply



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
DNS Bind TKS Linux - Networking 6 05-03-2004 12:30 AM
bind and dns? Digital_Err0r Linux - Newbie 5 03-18-2004 05:23 PM
DNS and Bind pharpe Linux - Networking 3 01-15-2003 02:54 PM
DNS and BIND buttnutt Linux - Networking 5 06-08-2002 06:02 PM
DNS and BIND dilberim82 Linux - General 10 07-13-2001 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:48 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
Open Source Consulting | Domain Registration