|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
||||
|
||||
|
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.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > DNS setting required for LAN? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|