DNS Entries

Discussion in 'General' started by whitlebitle, Feb 8, 2008.

  1. whitlebitle

    whitlebitle New Member

    When I create domain name in sites ispconfig creates just:
    IP-Adresse Hostname
    10.10.10.10 www

    Mailserver Hostname
    nameofserver.www.domainname.tld

    Hostname
    domainname.tld

    How to fix this? It creates nameofserver.www.domainname.tld and I want to create mail.domainname.tld instead?

    I also I want that ispconfig creates automaticly this entries:

    ftp.domainname.tld
    ns.domainname.tld

    Cname
    www.domainname.tld

    to point to server address 10.10.10.10 (in this case I used local address for easy understanding)

    My pri.domain.master looks like this:

    $TTL {DNS_TTL}
    @ IN SOA {DNS_NS1}. {DNS_ADMINMAIL}. (
    {SERIAL} ; serial, todays date + todays serial #
    {DNS_REFRESH} ; refresh, seconds
    {DNS_RETRY} ; retry, seconds
    {DNS_EXPIRE} ; expire, seconds
    {DNS_TTL} ) ; minimum, seconds
    ;
    NS {DNS_NS1}. ; Inet Address of name server 1
    NS {DNS_NS2}. ; Inet Address of name server 2
    ;

    <!-- BEGIN DYNAMIC BLOCK: mxrecords -->
    {MX_HOST} MX {MX_PRIORITAET} {MX_MAILSERVER}.
    <!-- END DYNAMIC BLOCK: mxrecords -->
    {DNS_SOA}. A {DNS_SOA_IP}
    <!-- BEGIN DYNAMIC BLOCK: arecords -->
    {A_HOST} A {A_IP}
    <!-- END DYNAMIC BLOCK: arecords -->
    <!-- BEGIN DYNAMIC BLOCK: cnamerecords -->
    {CNAME_HOST} CNAME {CNAME_ZIEL}.
    <!-- END DYNAMIC BLOCK: cnamerecords -->
    <!-- BEGIN DYNAMIC BLOCK: spfrecords -->
    {SPF_HOST}. TXT "v=spf1 {SPF}"
    <!-- END DYNAMIC BLOCK: spfrecords -->
    ;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;


    BUT I DO NOT KNOW HOW TO EDIT IT TO HAVE entries below.

    Can somebody help me with this?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Go to the dns manager and edit the record.

    You will have to code this in PHP in the file /home/admispconfig/ispconfig/lib/classes/ispconfig_isp_web.lib.php
     
  3. whitlebitle

    whitlebitle New Member

    Can somebody help me with this? I am not codder.
     

Share This Page