LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 10: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, 12:05 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,158
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
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, 05: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 03:30 AM
Proper way to add secondary DNS to public zone? reverendryan Linux - Networking 1 10-01-2009 12:24 PM
Slow SSH, how do I set up a proper DNS config? billy3 Linux - General 3 05-03-2007 03:57 PM
Compaq Organize webwolf70 Linux - Software 6 05-22-2005 04:20 PM
Proper DNS setup tarballedtux Linux - Networking 2 03-21-2002 09:29 PM

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

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