LinuxQuestions.org
Help answer threads with 0 replies.
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 02-01-2011, 11:39 AM   #1
Evstrati
LQ Newbie
 
Registered: Jan 2009
Posts: 24

Rep: Reputation: 0
A proper way to organize a DNS


Hello,

I have a question of the type "best practices". My architecture is very common but given the fact that I don't have much experience I would like to ask for comments.

I am administering a domain with a couple of machines in the LAN, and a DMZ. Say the public IP is 123.123.123.1. The domain name that points to this IP is my.company.com. From the inside part I have my LAN which is at 192.168.1.0 and my DMZ that is at 192.168.10.0. In the DMZ I have a web server which is at 192.168.10.5 and a dns server at 192.168.10.6.

Actually the dns resolves the www.my.company.com as 123.123.123.1. Then I have a rule on my router that forwards this connection to 192.168.10.5.

From the inside I have an intern domain that is my.company, and my DNS points www.my.company to 192.168.10.5.

Besides the fact that I have some troubles with wordpress which has a site_url variable that should be unique (that is the url that we type to go to the wordpress site), I was wandering is it a common practice to have two domains - one internal and one external, and to point to the web server with two different URLs.

I had a suggestion to organize my DNS in a manner that from the inside network www.my.company.com to point to the internal address of the web server 192.168.10.5. It seems to me not very proper manner to address this issue.

Any comments please.

Best,
E
 
Old 02-01-2011, 01:05 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Quote:
I had a suggestion to organize my DNS in a manner that from the inside network www.my.company.com to point to the internal address of the web server 192.168.10.5. It seems to me not very proper manner to address this issue.
You should follow the suggestion. If you're running bind, this is exactly what views are for.

Regards
 
Old 02-01-2011, 06:36 PM   #3
Evstrati
LQ Newbie
 
Registered: Jan 2009
Posts: 24

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bathory View Post
You should follow the suggestion. If you're running bind, this is exactly what views are for.

Regards
Thank you for the link. That was the document I was looking for. Will give it a try tomorrow.

Best,
E
 
  


Reply

Tags
dmz, dns, lan


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
vhost with proper reverse DNS on an ADSL2 connection won't bind fatloser Linux - Networking 1 03-23-2010 04:30 AM
Proper way to add secondary DNS to public zone? reverendryan Linux - Networking 1 10-01-2009 01:24 PM
Slow SSH, how do I set up a proper DNS config? billy3 Linux - General 3 05-03-2007 04:57 PM
Compaq Organize webwolf70 Linux - Software 6 05-22-2005 05:20 PM
Proper DNS setup tarballedtux Linux - Networking 2 03-21-2002 10:29 PM


All times are GMT -5. The time now is 04:34 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration