Define a domains addresses sole in terms of another
John Steel
john.steel at phonewebcam.com
Mon Jul 9 20:49:48 UTC 2007
Thanks for your help. Do you mean like this? What do I do with the IP
addresses?
Why are there 3 NS recs now? Why is there no ref to example1 - thats the
link I was trying to build.
I guess I misunderstood :-(
$TTL 86400
@ IN SOA ns.example2.com. system.admin.example2.com. (
1132657947 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ) ; Minimum
@ IN NS example2
@ IN NS example2
@ IN NS example2
example2 IN A 1.2.3.4
@ IN A 1.2.3.4
www IN CNAME @
webmail IN CNAME www
ftp IN CNAME www
mail IN CNAME www
@ IN MX 10 example2
Stephane Bortzmeyer wrote:
> On Mon, Jul 09, 2007 at 01:08:04PM +0100,
> John Steel <john.steel at phonewebcam.com> wrote
> a message of 42 lines which said:
>
>
>> example1.com. IN NS ns.example1.com.
>> example1.com. IN NS ns0.example1.com.
>> example1.com. IN NS ns0.example1.net.
>>
>> ns.example1.com. IN A 1.2.3.4
>> example1.com. IN A 1.2.3.4
>>
>
> Replace every occurrence of example1.com with @ and every occurrence
> of something.example1.com by something and you are almost done.
>
>
>> The point is during server moves etc I would only need to update the
>> 1 record, rather than all the individual ones as at present.
>>
>
> Two solutions:
>
> 1) Fast and hacky: use only one zone file for every domain. If the
> contents of the zone file are relative (see my first advice), it will
> work.
>
> 2) Clean and modern: do not produce zone files by hand, have them
> created by a program which reads the database of managed domains.
>
>
>
>
--
--------------------------
http://www.phonewebcam.com
john.steel at phonewebcam.com
More information about the bind-users
mailing list