> Brian's dnsImport.pl is a very good start. It has two minor shortcommings,
> though. For one it doesn't create or import 2ndary DNS records. Secondly it
> doesn't delete or update existing records - if there are any. So run
> dnsImport.pl twice (by accident or intend) and you get double records for DNS
> which will make BIND9 barf pretty badly. It also may import the 127.0.0.1
> Zone, although it's already present by default.
I have found exactly the same thing, the big change would be to look for a
record and update it if it is already there.
> To compensate for this shortcommings and while working on customer servers I
> once wrote two quick and dirty scripts which provide that extra features.
>
> They still need a bit of cleaning, optimization and additional error checks,
> but eventually I want to extend dnsImport.pl with that functionality.
>
> You might find them useful to gather additional ideas and methods for your
> project:
Brilliant, thank you, this certainly all looks possible, now I just need some
free evenings to sit down and pull it all together :-)
Dan