subdomain / wildcard DNS

  • Sorry 4 my english!


    As of today, I treat my own domain, and immediately disappeared from my sub domain. If you have this problem, it can help:
    i-mscp 1.0.3.0
    open and edit the following files:


    /etc/imscp/bind/working/domain.tld.db and
    /var/cache/bind/domain.tld.db


    add the following entry, so
    *.domain.tld. IN A xx.xx.xxx.xxx


    Code
    1. $TTL 12H$ORIGIN domain.tld.@ IN SOA ns1.domain.tld. postmaster.domain.tld. (; dmn [domain.tld] timestamp entry BEGIN. 2012080225 ; Serial; dmn [domain.tld] timestamp entry END. 8H ; Refresh 2H ; Retry 7D ; Expire 1D ; Minimum TTL) IN NS ns1.domain.tld. IN NS ns2.domain.tld. IN MX 10 mail.domain.tld.domain.tld. IN A xx.xx.xxx.xxx*.domain.tld. IN A xx.xx.xxx.xxx. . .


    the serial numbers do not forget to increase
    e.g.: 2012080225 ; Serial to 2012080226 ; Serial


    that in future it should be automatic, modify this template to two:


    /etc/imscp/bind/parts/db_e.tpl


    this:

    Code
    1. . . .{DMN_NAME}. IN {IP_TYPE} {DMN_IP}www IN {IP_TYPE} {DMN_IP}. . .


    to this:

    Code
    1. . . .{DMN_NAME}. IN {IP_TYPE} {DMN_IP}*.{DMN_NAME}. IN {IP_TYPE} {DMN_IP}www IN {IP_TYPE} {DMN_IP}. . .


    and:
    /etc/imscp/bind/parts/db_master_e.tpl


    this:

    Code
    1. . . .{DMN_NAME}. IN A {DMN_IP}www IN A {DMN_IP}. . .


    to this:

    Code
    1. . . .
    2. {DMN_NAME}. IN A {DMN_IP}
    3. *.{DMN_NAME}. IN A {DMN_IP}
    4. www IN A {DMN_IP}
    5. . . .


    that's it, done

    ubuntu 12.04 | i-MSCP 1.1.0-rc4.7

    Edited once, last by Lazarevics ().


  • What is disabled in GUI. These instrctions are only valid, when you host your Domain *NOT* extern


    Well, there seems to be a condition in the dns manager that actively rejects * or @ in the value field.


    Plus, I noticed c0urier's issue/request in the git repo.


    - Swyped from my Galaxy Note 2

    Edited once, last by dzchimp ().


  • Plus, I noticed c0urier's issue/request in the git repo.


    - Swyped from my Galaxy Note 2


    Hello ;


    What is that issue ?


    Thank

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hello ;


    Sure. Will be done ASAP. ;)


    Thank you for using i-MSCP

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

    Edited once, last by Nuxwin ().