Internal and External on One Server ( ?? SplitDNS ?? )

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Tue May 14 15:40:02 UTC 2002


Adam Retter <adam at cosmic.org.uk> wrote:
> Okay,

> So what I am thinking of doing is this:

> I add an Extra Server to my internal network running Bind 9. I then setup
> this extra server so that every 30 minutes cron runs a script which FTP's
> the zone files and named.conf from our public NameServers, the script them
> replaces the public IP addresses in the zone files with our Private IP
> addresses and writes them to disk and reloads Bind.

> Does this sound reasonable? Any ideas, comments appreciated?
No. 

All you need to do is an extra zonefile in your ordinary bind-9
server and enabling views. Did you actually read the doscumentation ?



> Thanks


> --
> Adam Retter
> Network and Systems Administrator
> Project COSMIC
> adam at cosmic.org.uk
> www.cosmic.org.uk

> <dbotham at edeltacom.com> wrote in message news:abr5cc$1eqk$1 at isrv4.isc.org...
>>
>>
>> Adam,
>>
>> Use Views to set up a Split DNS.  The ARM outlines this procedure.
>>
>> Thanks,
>>
>> Dave...
>>
>>
>> |---------+---------------------------->
>> |         |           "Adam Retter"    |
>> |         |           <adam at cosmic.org.|
>> |         |           uk>              |
>> |         |           Sent by:         |
>> |         |           bind-users-bounce|
>> |         |           @isc.org         |
>> |         |                            |
>> |         |                            |
>> |         |           05/14/2002 09:51 |
>> |         |           AM               |
>> |         |                            |
>> |---------+---------------------------->
>>
>>---------------------------------------------------------------------------
> ---------------------------------------------------|
>>   |
> |
>>   |       To:       comp-protocols-dns-bind at uunet.uu.net
> |
>>   |       cc:
> |
>>   |       Subject:  Internal and External on One Server ( ?? SplitDNS ?? )
> |
>>
>>---------------------------------------------------------------------------
> ---------------------------------------------------|
>>
>>
>>
>>
>> Hey Guys,
>>
>> Im sure Bind can proberbly deal with this but I need some tips.
>>
>> I have BIND 9.1.3 running on two FreeBSD 4.3 Servers one Primary and one
>> Secondary in a DMZ behind our Firewall. We are hosting about 200 zones or
>> so
>> as we are a Small WebHosting/Design company.
>>
>> What I want is this - When a Public IP address of a User from the Internet
>> does a hostname dns lookup I want to return an IP address, say
>> 212.104.137.2
>> BUT when a lookup is done from a specific IP address, say 192.168.0.254 (A
>> user on our Private LAN via. Gateway to our LAN) I want to return a
>> different IP address say 10.0.0.2.
>>
>>
>> Is this possible with BIND - i.e. Returning different results to queries
>> depending on the IP address or Network address of the Client.
>>
>>
>> Thanks
>>
>>
>> --
>> Adam Retter
>> Network and Systems Administrator
>> Project COSMIC
>> adam at cosmic.org.uk
>> www.cosmic.org.uk
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>



-- 
Peter Håkanson         
        IPSec  Sverige      ( At Gothenburg Riverside )
           Sorry about my e-mail address, but i'm trying to keep spam out,
	   remove "icke-reklam" if you feel for mailing me. Thanx.


More information about the bind-users mailing list