Reverse DNS Ispconfig3

Discussion in 'General' started by majstor, May 9, 2013.

  1. majstor

    majstor New Member

    Hi.
    We are an ISP and have our own IP addresses. I am using Ispconfig3 server as DNS server.

    I want to create a PTR records for all of my IP addresses.
    For example instead of:
    "192.168.1.1"
    I want to have "client-192.168.1.1.example.com"

    If I do this manually it will take forever because I have around 15000 addresses.
    Is there any easy way to do this in Ispconfig3?

    In Ispconfig2 there was a possibility to make manual changes in the records and with $GENERATE command it was easy to do this.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can add the dns records with a script. See remota api docs and examples in remote_client directory in ispconfig tar.gz file.
     
  3. majstor

    majstor New Member

    Is there any syntax in the Ispconfig3 for that?
    For example in the PTR field to enter something like 0-255 instead to make 255 PTR records in that Zone?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    If you want to mass import records you eill have to write a script like i described above.
     

Share This Page