DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 14th, 2003, 05:29 AM
ads ads is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Location: India
Posts: 192 ads User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 12 m 27 sec
Reputation Power: 8
DNS setting required for LAN?

I have got Linux 8.0 server running DNS, Apache.
With 3 ethernet cards
1) eth0 for Internet connection
2) eth1 for LAN : 192.168.0.1
3) eth2 for DNS

I have setup DNS for my domain. It works properly.

When external user access my website hosted on my apache web server It will consume my Internet bandwidth. But when LAN user access same web site on my server he should not use Internet bandwidth but should be using LAN connection.

I configured apache virtual host to 192.168.0.1 but it does not work.
Do I have to do something with DNS settings to achieve this.
Thanks

Reply With Quote
  #2  
Old December 14th, 2003, 06:02 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 35 m 27 sec
Reputation Power: 77
This is an apache related question and should've been posted in the apache forum. The only help I feel like giving is an example of NAME based virtual hosting below (scroll to bottom to see the various virtual hosts):

http://serialcoders.sytes.net/linked/httpd.conf

You are however able to use address based virtual hosts where only LAN or only INTERNET users can browse a particular website.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #3  
Old December 31st, 2003, 01:58 AM
avitar.net's Avatar
avitar.net avitar.net is offline
'seasoned' OR 'flavor' text?
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: USA::CA::LA
Posts: 154 avitar.net User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 25 m 30 sec
Reputation Power: 5
Send a message via AIM to avitar.net
Bandwidth consumption

Might be dumb statements however:

Are you sure you prioritized your LAN to first check internally for a name resolution, and then externally?

This can be done on a rounter level.

Resolving the IP information internally before checking external name servers is key. A cheap way to do it if you have a small shop is to modify the host file on each system to check that server ip.
__________________
Visit my site Avitar.net for great Atricles on Project Managment, Web Development, and System Administration.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > DNS setting required for LAN?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway