[PHP] Re: need help parsing named.conf file

2005-02-13 Thread M. Sokolewicz
Torsten Rosenberger wrote: Hello is there a way to parse the named.conf file with preg_match_all to get back an array which looks like [options][directory] = '/var/lib/named' [options][forwoarder] = '192.168.0.2' [zone][mydomain.com][type] = 'master' [zone][mydomain.com][notify] = 'yes'

Re: [PHP] Re: need help parsing named.conf file

2005-02-13 Thread rosenberger
and the named.conf looks like.? options { # The directory statement defines the name server's working directory directory /var/lib/named; # Write dump and statistics file to the log subdirectory. The # pathenames are relative to the chroot jail. dump-file