h2n issue..

Barry Margolin barmar at genuity.net
Wed Jun 21 23:39:04 UTC 2000


In article <39513977.6E4B976C at cosinecom.com>,
Wency Arzadon  <wency at cosinecom.com> wrote:
>I'm using H2N in my Makefile, but unfortunately I don't 
>know if there is a special option for h2n to do subnet. 
>I have a class C address which I own a portion of, and when 
>I run my make, it doesn't allow me to do subnetting. It basically 
>doesn't write my tables correctly. My network I own is 
>basically something like 208.208.208.128 

I don't think h2n has been significantly updated in years, so it doesn't
know about RFC 2317-style reverse domains.

>I need to do something like -n 208.208.208.128. 
>Is there a workaround besides doing manual edits to my db.files, and 
>having to HUP the named. 

Use -n 208.208.208, and then have the Makefile run the file through a sed
command that removes any domain suffixes from the reverse file:

sed -e 's/\.208\.208\.in-addr\.arpa\.//' -e 's/^208\.208\.208\.in-addr\.arpa\./@/'

When the file contains unqualified names, it's the same whether its for the
whole class C or just one subnet (RFC 2317's "magic" is mainly in the
parent zone, which your ISP manages).

-- 
Barry Margolin, barmar at genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list