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
    xxx.xxx.xxx.xxx mydomain.tld (not visible in DNS admin)
    xxx.xxx.xxx.xxx www
    CNAME
    Hostname Target (empty)
    MX
    Mailserver Hostname
    admin.myhosting.tld


    Let's say i'd like to have:
    A record
    xxx.xxx.xxx.xxx mydomain.tld
    CNAME
    * mydomain.tld
    mail mail2.myhosting.tld
    MX
    10 mail2.myhosting.com
    100 mailbackup.myhosting.com

    instead
    ?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    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 Howtoforge Staff

    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

    Hi

    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.

    Thanks,

    Jon
     
  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.

    Jon
     

Share This Page