Re: Newbie: in-addr.arpa file for a C Class

This is a discussion on Re: Newbie: in-addr.arpa file for a C Class within the Bind Users forums, part of the DNS and Related Forums category; In article <ca2o7q$2l9o$1@sf1.isc.org>, bela@webnet-x.com (belacyrf) wrote: > Can anyone point ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-07-2004
Barry Margolin
 
Posts: n/a
Default Re: Newbie: in-addr.arpa file for a C Class

In article <ca2o7q$2l9o$1@sf1.isc.org>, bela@webnet-x.com (belacyrf)
wrote:

> Can anyone point me in the right direction. We have a couple reverse
> files 3.2.1.rev for a few of our c classes. In these files we specify
> the individual reverse entries for each IP.
>
> How do I set up a single in-addr.arpa entry for a full C Class.
>
> For example. I just want to set up an "in-addr.arpa" file for the
> 3.2.1 c class... I dont want to do it by IP. If I'm not making sense,
> I'm sorry, I'm pretty new. thanks


Do you want the reverse entry for all the addresses in that network to
map to the same name? You can do that with a wildcard:

* IN PTR generic.yourcompany.com.

However, I don't recommend doing this. Many applications that perform
reverse lookups try to verify them by doing a forward lookup of the name
that they get back, to see if it matches the original address. But when
they look up generic.yourcompany.com, they probably won't get back the
original address, unless you give it 256 A records.

A better solution may be to use $GENERATE:

$GENERATE 0-255 $ IN PTR host-$.yourcompany.com.

will automatically create:

0 IN PTR host-0.yourcompany.com.
1 IN PTR host-1.yourcompany.com.
.....
255 IN PTR host-255.yourcompany.com.

You can use a similar construct in the forward zone to create the
corresponding A records.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:36 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0