November 01, 2024, 01:33:23 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Bind internal IP to www  (Read 4114 times)

Offline tryangle

  • New Member
  • Posts: 2
Bind internal IP to www
« on: October 24, 2005, 03:03:06 PM »
Is there a way to route an internal IP to a separate zone file (without setting up a separate incidence of bind on eth0:1)... in order to resolve www internally?

This is a wild guess that kinda illustrates my point...
if(listen-on:192.*){ include "internal.zone";}
else{include "external.zone";}

Thanks in advance for any help on this...

Offline tryangle

  • New Member
  • Posts: 2
Bind internal IP to www
« Reply #1 on: November 03, 2005, 04:03:44 AM »
named -v returned 9.3.0

Anyhow... basically I'm trying to get computers in the internal subnet to get different answers than the rest of the world when they are resolved.

192.168.1.27 query looks up www.domain.com and gets 192.168.1.1
207.65.181.23 query looks up www.domain.com and gets 200.22.216.125

Any ideas?