I need to write a script that adds some A records to DNS server dynamically to mimic a real DNS zone. My questions are what DNS server to choose, bind9 dnsmasq and how to add A records to those servers?
Happy bind9 on Debian user here.
To drag this closer to on-topic if you want to update/manage DNS for a single domain just using the zone files is fine. If you will end up managing several and you aren't a real *nix admin then I'd look at setting up a management interface. As far as those go, ISPConfig is good and the how-tos on setup/configuration/etc. that are on howtoforge (all written by the same team) go very well wtih it.