Networking Forums

Networking Forums > Computer Networking > Linux Networking > hostcvt

Reply
 
 
George Bell
Guest
Posts: n/a

 
      12-16-2003, 05:07 PM
I'm having a lot of difficulty finding a working host.cvt - a utility for
bind8 that converts /etc/hosts.conf to a zone file. I tried to compile it
from source on " sources.isc.org/network/utils ". But it does not compile
due to what appears to be bugs in the program:

main.c:44: conflicting types for `sys_errlist'
/usr/include/stdio.h:552: previous declaration of `sys_errlist'
main.c: In function `rdsoa':
main.c:416: warning: extern declaration of `open' doesn't match global one
main.c:431: warning: assignment makes pointer from integer without a cast
main.c: In function `strsave':
main.c:453: warning: type mismatch with previous implicit declaration
main.c:431: warning: previous implicit declaration of `malloc'
make: *** [main.o] Error 1

Looking on google I can find only patches.
Rpmseek turned up zip also.

Anyone know where I could find a working version?

George

--
#
#...
 
Reply With Quote
 
 
 
 
George Bell
Guest
Posts: n/a

 
      12-16-2003, 09:40 PM
It likely doesn't compile because the source file is rather old and no
longer maintained. I have found an alternative though - a web interface
where a hosts file can be punched in and a zone file returned:

http://pgl.yoyo.org/adservers/hosts2zonefile.php

Also on this website is described a rather clever scheme for using the name
server to block pop-up ads.

Works quite well - they just need a utility for creating the reverse zone as
well.

George



George Bell wrote:

> I'm having a lot of difficulty finding a working host.cvt - a utility for
> bind8 that converts /etc/hosts.conf to a zone file. I tried to compile it
> from source on " sources.isc.org/network/utils ". But it does not compile
> due to what appears to be bugs in the program:
>
> main.c:44: conflicting types for `sys_errlist'
> /usr/include/stdio.h:552: previous declaration of `sys_errlist'
> main.c: In function `rdsoa':
> main.c:416: warning: extern declaration of `open' doesn't match global one
> main.c:431: warning: assignment makes pointer from integer without a cast
> main.c: In function `strsave':
> main.c:453: warning: type mismatch with previous implicit declaration
> main.c:431: warning: previous implicit declaration of `malloc'
> make: *** [main.o] Error 1
>
> Looking on google I can find only patches.
> Rpmseek turned up zip also.
>
> Anyone know where I could find a working version?
>
> George
>


--
#
#...
 
Reply With Quote
 
George Bell
Guest
Posts: n/a

 
      12-16-2003, 09:55 PM
George Bell wrote:

> It likely doesn't compile because the source file is rather old and no
> longer maintained. I have found an alternative though - a web interface
> where a hosts file can be punched in and a zone file returned:
>
> http://pgl.yoyo.org/adservers/hosts2zonefile.php
>
> Also on this website is described a rather clever scheme for using the
> name server to block pop-up ads.
>
> Works quite well - they just need a utility for creating the reverse zone
> as well.
>


But that's easily taken care of with this other utility:

http://www.mkrdns.org/

Linux is so cool!
George

--
#
#...
 
Reply With Quote
 
 
 
Reply

Thread Tools
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11