how to change default DNS settings?

Discussion in 'Tips/Tricks/Mods' started by radim_h, Apr 15, 2007.

  1. radim_h

    radim_h Member HowtoForge Supporter

    Hello guys !
    first, thank you all for all advices you gave me, Falko especially. ISPC is great!

    And now i have a question again .)

    where could i change default DNS settings for newly created domain?
    now ISPC creates:
    A Record
    IP-Adresse Hostname mydomain.tld (not visible in DNS admin) www
    Hostname Target (empty)
    Mailserver Hostname

    Let's say i'd like to have:
    A record mydomain.tld
    * mydomain.tld
    mail mail2.myhosting.tld

  2. falko

    falko Super Moderator ISPConfig Developer

    You can do this in ISPConfig's DNS Manager.
  3. radim_h

    radim_h Member HowtoForge Supporter


    Well, not exactly what i meant .)
    I know i can edit records in DNS manager, just wanted to have different values when Master record is created
    (Want migrate 50 webs.. )
    And also DNS configuration will be always the same on this server, so i wanted have initial values correct, that it
    Last edited: Apr 16, 2007
  4. falko

    falko Super Moderator ISPConfig Developer

    You'd have to modify the ISPConfig sources then. I think it's in /home/admispconfig/ispconfig/lib/classes/ispconfig_isp_web.lib.php.
  5. jonwatson

    jonwatson New Member


    Can you confirm that this is the right file? I can't fine any settings for default DNS in this file. I would like to set a different default TTL than the 86400 that BIND sets automatically.


  6. radim_h

    radim_h Member HowtoForge Supporter

    it should be also edited in form designer:
    Management-->Form Designer--> Edit Form -->dns - DNS Eintrag:-->Edit
  7. jonwatson

    jonwatson New Member

    Awesome, thanks.


Share This Page