default dns settings

Discussion in 'Installation/Configuration' started by ddouma, Aug 15, 2008.

  1. ddouma

    ddouma New Member

    Hi all,

    Is their a default file for dns-setup if I add a new domain, so that I can add default dns settings when a new domain is added?

    So like a sort-of dns template
     
  2. till

    till Super Moderator

    There is no such function in ISPConfig 2
     
  3. ddouma

    ddouma New Member

    Damn,

    So I have to make manually dns entries after creating each domain.
    Where does ISPconfig store the DNS settings that are default?
     
  4. falko

    falko Super Moderator

    Some settings are under Management > Server > Settings > DNS.
     
  5. ddouma

    ddouma New Member

    Yeah I know...

    But that's not what I mean, I mean the standard DNS records that are made if you create a new domain, like the www and mailserver records...
     
  6. falko

    falko Super Moderator

    That's in the source code, probably in /root/ispconfig/scripts/lib/classes/ispconfig_bind.lib.php or in one of the /home/admispconfig/ispconfig/lib/classes/ispconfig_dns* files.
     
  7. ddouma

    ddouma New Member

    hmm didn't find it in there...
     
  8. djevolution

    djevolution New Member

    I think you're looking for the zone files? I am also searching for the ones that ISPConfig uses.
     
  9. falko

    falko Super Moderator

    The templates are in /root/ispconfig/isp/conf.
     
  10. ddouma

    ddouma New Member

    The 'reverse_zone...' could that be correct?
     
  11. till

    till Super Moderator

    The zone files from ISPConfig are correct.
     
  12. ddouma

    ddouma New Member

    That's not what I mean.

    I want to locate the file that apply's the default dns settings if you create a domein. So I can add some extra dns settings that are created by default if someone creates a new domain.
     
  13. till

    till Super Moderator

    Ah, ok :)

    The files are:

    /home/admispconfig/ispconfig/lib/classes/ispconfig_isp_web.lib.php

    this file is called when you add a website in isp-manager and enable the create dns checkbox.

    /home/admispconfig/ispconfig/lib/classes/ispconfig_isp_dns.lib.php

    this file is called when you add a dns record in the dns-manager.
     
  14. ddouma

    ddouma New Member

    Thanks, I will try that.

    Maybe a good functions for the next release to have this option in the Control Panel?
     

Share This Page