Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Assigning DNS based on DHCP



Hello Robert

Robert Everson wrote:
want them to get an internal DNS name, like 10-1-100-3.solon.k12.ia.us. Is this possible with OS X Server? Or do I just need to add each valid DHCP address into the DNS records manually?

If you have the IP range 10.1.100.3 - 10.1.100.50 for DHCP then you can add static entries to the forward and reverse zone in the DNS.


In the solon.k12.ia.us subzone add the entries like this:

10-1-100-3	IN A	10.1.100.3
10-1-100-4	IN A	10.1.100.4
...
10-1-100-50	IN A	10.1.100.50

And in the reverse zone 100.1.10.in-addr.arpa add the following:

3	IN PTR	10-1-100-3.solon.k12.ia.us.
4	IN PTR	10-1-100-4.solon.k12.ia.us.
...
50	IN PTR	10-1-100-50.solon.k12.ia.us.

For easier setup with large amounts of IPs you can use the $GENERATE system of ISC bind, in the solon.k12.ia.us zone like this:

$GENERATE 3-50 10-1-100-$    IN A   10.1.100.$

And in the 100.1.10.in-addr.arpa zone like this:

$GENERATE 3-50 $       PTR     10-1-100-$.solon.k12.ia.us.


bye Fabian _______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >Assigning DNS based on DHCP (From: Robert Everson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.