LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-02-2006, 08:02 PM   #1
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Rep: Reputation: 30
named configuration question


Howdy all,

This may not be an intelligent question, but here we go. My firewall (Linux machine with three interfaces running iptables) does my DNS and DHCP. The three interfaces are as follows:

1) External - connects to my cable modem
2) Internal - connects to the private network
3) DMZ - connects to an untrusted wireless network

The DMZ interface is basically treated just like the internet. It cannot directly connect to any internal IP address. Therefore, it has to connect to the DMZ interface IP address, which will then NAT to the appropriate internal interface. Because of this, I need completely different DNS resolution on the DMZ than on the internal network.

So, to make a long story short (too late), is there a way to have named reference different zone files when the requests originate from a particular interface? If not, can I run two instances of named, one listening on the internal interface and one listening on the DMZ interface?


Thanks in advance!
 
Old 04-02-2006, 10:51 PM   #2
centauricw
Member
 
Registered: Dec 2005
Location: Lawrenceville GA
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216

Rep: Reputation: 31
Yes, this known as a split-view DNS configuration. Using the access lists of BIND9, you can setup different views, one internal and one external, which will pull information from different zone files and return answers based on the source address for the query. I use this on my own Linux firewalls.
 
  


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
DHCP static ip and NAMED (DNS) question Yaniv-Fer Linux - Networking 4 03-29-2006 06:55 AM
DNS(named) question LordNimrod Linux - Networking 11 02-23-2006 04:35 AM
Problems with the named.conf-file configuration dmarkic Linux - Networking 3 07-07-2005 10:07 AM
Virtual Host type, named or IP via SSL? Named VH is not possible? piratebiter Linux - Security 3 08-20-2003 05:27 PM
named default configuration file computerguy121 Linux - Networking 2 01-03-2003 08:09 AM

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

All times are GMT -5. The time now is 12:28 PM.

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