Re: BIND9 and DLZ

2010-09-01 Thread Josh Miller

On 08/31/2010 12:10 PM, Scott Haneda wrote:


If anyone can point me to a simple tutorial, or explain how they managed to get 
this up and running on RHEL with a current version of BIND, I would appreciate 
any and all information that can be shared.  I will do my best to follow up 
with what I learn once this is all done so others can hopefully have an easier 
time.



Hi Scott,

I have just made a quick write-up of my use of Bind-DLZ on Centos 5.X. 
I would welcome any comments.


http://itsecureadmin.com/2010/09/bind-dlz-with-mysql/

Thanks,
--
Josh Miller, RHCE/VCP
Seattle, WA
Linux Solutions Provider
Website:  http://itsecureadmin.com/
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: BIND9 and DLZ

2010-09-01 Thread Josh Miller

On 09/01/2010 03:26 PM, Scott Haneda wrote:

You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
+ aclocal -I m4 --force
configure.in:2772: warning: underquoted definition of NOM_PATH_FILE
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
contrib/dlz/config.dlz.in:38: warning: underquoted definition of DLZ_ADD_DRIVER
+ autoconf -f
configure.in:287: error: possibly undefined macro: AC_C_FLEXIBLE_ARRAY_MEMBER
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.
error: Bad exit status from /var/tmp/rpm-tmp.45014 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.45014 (%build)


It looks like this version of Bind is expecting a newer version of 
autoconf and expects new macros defined, like 
AC_C_FLEXIBLE_ARRAY_MEMBER, which was introduced in autoconf 2.61.

(re:  http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS)

I was able to get past this error by commenting out this macro in the 
configure.in file within the archive.


ie:
1. pushd /usr/src/redhat/SOURCES/
2. tar xzvf bind-9.7.1-P2.tar.gz
3. vi bind-9.7.1-P2/configure.in
4. Comment out line 285 with a #
5. remove old archive:  rm -rf bind-9.7.1-P2.tar.gz
6. archive the new version:  tar czvf bind-9.7.1-P2.tar.gz bind-9.7.1-P2
7. re-run rpmbuild command

After this, I successfully created the RPMs.

Thanks,
--
Josh Miller, RHCE/VCP
Seattle, WA
Linux Solutions Provider
Website:  http://itsecureadmin.com/
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Doubts about BIND

2009-06-02 Thread Josh Miller

Christoph Weber-Fahr wrote:

How serious is bind-dlz these days?

I mean - that code hasn't been touched for half a decade now.
Does it even compile with current bind versions?


bind-dlz is very useful for dynamic provisioning of customer sites by 
inserting data into a database table.  I have a case where I support an 
application with hundreds of domains which all use the same DNS RR as 
they are hosted on the same set of servers (web, mail, ftp, etc..). 
This allows me to create a table with all of the DNS values and then 
create a view which combines the previous table with another table that 
has a simple list of all domains hosted.  This has worked out very well 
for this particular case.


A big thanks to the bind-dlz developers for this great piece of code.

--
Josh Miller, RHCE/VCP
Seattle, WA
Linux Solutions Provider
Website:  http://itsecureadmin.com/
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: named with DLZ

2009-03-03 Thread Josh Miller

Jeff Lightner wrote:
I have been talked with getting named with DLZ support on Red Hat 5.2  
Enterprise.  I have never worked on Red Hat or with RPM, can someone  
point me to the rpm I need?  Any other basic pointers?


I was thinking to just build it out myself, but if there is a  
confident stable rpm, I might as well learn that as well.



Try bind-sdb, although I don't believe it supports MySQL for Redhat 5.2 
-- I had to compile from source.


Josh
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users