LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-09-2002, 03:07 AM   #1
archangel
LQ Newbie
 
Registered: Jun 2001
Location: Malaysia
Distribution: Red Hat
Posts: 25

Rep: Reputation: 15
Unhappy setting up DNS behind a firewall.....


I 've setup a DNS on Redhat 7.3 and i 've properly configure all those settings to point to the private ip 10.X.X.X. Tested the DNS, and it resolve all the queries i sent using tools like "nslookup" or "dig". I got few zone file within that DNS and they are working well. The /etc/hosts file is configure to point to the internal IP namely:

127.0.0.1 localhost.localhostdomain.com localhost
10.X.X.X nameserver.abc.com nameserver

The problem is that when i put the new DNS behind a firewall, after opening port 53(DNS port), i did a testing to the DNS, it refuses to resolve my nslookup query or dig query even after I 've NAT the private IP 10.X.X.X to a public IP 192.X.X.X.

Not sure what else am i missing. All i want to do is have the DNS sitting behind a firewall and not having a split DNS.

Please help...........
 
Old 08-10-2002, 05:09 PM   #2
JamesF1
Member
 
Registered: Nov 2001
Location: Spain
Distribution: Mandrake 9.1
Posts: 48

Rep: Reputation: 15
I'm no expert on this but I think you need to make sure that the NAT translation is static. No doubt there's a thread somewhere (try looking in networking forum).
 
Old 08-10-2002, 10:41 PM   #3
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
Nat is of 2 kinds. If you did snat 10.* to 192.*, it is not enough. On the other end dnat 192.* to 10.* . And on m/c connected to that end use 192.* as the nameserver address.
--Sarin
 
Old 08-10-2002, 10:43 PM   #4
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
You may have to add route to 192.* m/c through your firewall if you are not able to ping 192.* from clients on the other end.
--Sarin
 
  


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
iptables firewall and DNS? guitarman85281 Linux - Software 2 09-20-2004 08:37 PM
DNS and Firewall dexter_modem Linux - Security 8 11-13-2003 10:41 PM
DNS and firewall merlin371 Linux - Networking 2 07-31-2003 05:36 AM
DNS and firewall help please mpalladi Linux - Networking 2 05-26-2003 09:35 AM
DNS problems through firewall vertices Linux - Networking 7 04-04-2002 02:07 PM

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

All times are GMT -5. The time now is 01:38 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