Script to import 600 DNS Zone files to ispconfig ?

Discussion in 'General' started by christoph123, Feb 26, 2019.

  1. christoph123

    christoph123 New Member

    Hi there,
    i need to import 600 dns zone files to ispconfig and i wonder how i should do it.
    I can import the files 1 by 1 via web-interfaces but for this there are too many files.
    I found out that a good basis code to import 1 dns zone is in /usr/local/ispconfig/interface/web/dns/dns_import.php but i am not a good enough programmer o call this import 600 times.
    Also one could write a script using the dns_aaaa_add.php from examples of remoting client.
    But I cannot believe that nobody did this already in the last years ? Do I rellay have to reinvent the wheel for importing a few 100 DNS Zones to ISP Config ?
    Can someone point me to a link or a script that can help ?


Share This Page