resolve problem, my domain dont resolve

Discussion in 'Installation/Configuration' started by acreph, Mar 2, 2008.

  1. acreph

    acreph New Member

    i am install Linux with Centos 5.1 Perfect Server and iam install ISPConfig. But my nameserver and domain dosnt work.

    www.mydomain.com - (main domain)
    ns1.mydomain.com -> 88.248.x.y
    ns2.mydomain.com -> 88.248.x.y

    www.herdomain.com
    ns1.mydomain.com
    ns2.mydomain.com


    i am register NS.
    (
    ns1.mydomain.com -> 88.248.x.y
    ns2.mydomain.com -> 88.248.x.y
    )

    iam both add use DNS Maneger to ISPConfig


    isp.mydomain.com
    -------------------------------------------------------
    $TTL 86400
    @ IN SOA ns1.mydomain.com. admin.mydomain.com. (
    2008030222 ; serial, todays date + todays serial #
    28800 ; refresh, seconds
    7200 ; retry, seconds
    604800 ; expire, seconds
    86400 ) ; minimum, seconds
    ;
    NS ns1.mydomain.com. ; Inet Address of name server 1
    NS ns2.mydomain.com. ; Inet Address of name server 2
    ;

    MX 10 ns1.mydomain.com.
    MX 10 mail.mydomain.com.

    mydomain.com. A 88.248.x.y
    mail A 88.248.x.y
    ns1 A 88.248.x.y
    www A 88.248.x.y

    pop3 CNAME mail.mydomain.com.
    webmail CNAME www.mydomain.com.
    sql CNAME www.mydomain.com.
    smtp CNAME mail.mydomain.com.

    mydomain.com. TXT "v=spf1 a mx ptr ~all"
    -------------------------------------------------------



    isp.herdomain.com
    -------------------------------------------------------------
    $TTL 86400
    @ IN SOA ns1.mydomain.com. admin.hotmail.com. (
    2008030213 ; serial, todays date + todays serial #
    28800 ; refresh, seconds
    7200 ; retry, seconds
    604800 ; expire, seconds
    86400 ) ; minimum, seconds
    ;
    NS ns1.mydomain.com. ; Inet Address of name server 1
    NS ns2.mydomain.com. ; Inet Address of name server 2
    ;

    MX 10 mail.herdomain.com.

    herdomain.com. A 88.248.x.y
    www A 88.248.x.y
    mail A 88.248.x.y

    pop3 CNAME mail.herdomain.com.
    webmail CNAME www.herdomain.com.
    sql CNAME www.herdomain.com.
    smtp CNAME mail.herdomain.com.

    herdomain.com. TXT "v=spf1 a mx ptr ~all"
    --------------------------------------------------------------

    resolv.conf
    ------------------------------------------
    search mydomain.com
    search localdomain
    nameserver 195.175.39.39 (my internet service provider dns)
    nameserver 195.175.39.40 (my internet service provider dns)
    -------------------------------------------


    named.conf
    -----------------------------------------------
    options {
    pid-file "/var/named/chroot/var/run/named/named.pid";
    directory "/var/named/chroot/var/named";
    auth-nxdomain no;
    /*
    * If there is a firewall between you and nameservers you want
    * to talk to, you might need to uncomment the query-source
    * directive below. Previous versions of BIND always asked
    * questions using port 53, but BIND 8.1 uses an unprivileged
    * port by default.
    */
    // query-source address * port 53;
    };

    //
    // a caching only nameserver config
    //
    zone "." {
    type hint;
    file "named.root";
    };
    zone "0.0.127.in-addr.arpa" {
    type master;
    file "named.local";
    };
    zone "x.248.88.in-addr.arpa" {
    type master;
    file "pri.x.248.88.in-addr.arpa";
    };
    zone "mydomain.com" {
    type master;
    file "pri.mydomain.com";
    };
    zone "herdomain.com" {
    type master;
    file "pri.herdomain.com";
    };
    --------------------------------------------------

    my global ip is = 88.248.x.y
    my local ip is = 192.168.2.200
    my open ports = 21,22,23,53,80,81,110,143,443


    /etc/hosts
    ------------------------------------------
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    192.168.2.200 ns1.mydomain.com ns1
    ::1 localhost6.localdomain6 localhost6
    ---------------------------------------------------

    Vhosts_ispconfig.conf
    -----------------------------------------------------------
    ###################################
    #
    # ISPConfig vHost Configuration File
    # Version 1.0
    #
    ###################################
    #
    NameVirtualHost 192.168.2.200:80
    <VirtualHost 192.168.2.200:80>
    ServerName localhost
    ServerAdmin root@localhost
    DocumentRoot /var/www/sharedip
    </VirtualHost>
    NameVirtualHost 192.168.2.201:80
    <VirtualHost 192.168.2.201:80>
    ServerName localhost
    ServerAdmin root@localhost
    DocumentRoot /var/www/sharedip
    </VirtualHost>
    #
    #
    ######################################
    # Vhost: www.herdomain.com:80
    ######################################
    #
    #
    <VirtualHost 192.168.2.200:80>
    ServerName www.herdomain.com:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web16/web
    ServerAlias herdomain.com
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
    ErrorLog /var/www/web16/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    <Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    <Files *.php3>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    <Files *.php4>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    <Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    php_admin_flag safe_mode Off
    Alias /error/ "/var/www/web16/web/error/"
    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html
    AliasMatch ^/~([^/]+)(/(.*))? /var/www/web16/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web16/user/$1/web/$3
    </VirtualHost>
    #
    #
    #
    ######################################
    # Vhost: www.mydomain.com:80
    ######################################
    #
    #
    <VirtualHost 192.168.2.200:80>
    ServerName www.mydomain.com:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web15/web
    ServerAlias mydomain.com
    DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
    ErrorLog /var/www/web15/log/error.log
    AddType application/x-httpd-php .php .php3 .php4 .php5
    <Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    <Files *.php3>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    <Files *.php4>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    <Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
    </Files>
    php_admin_flag safe_mode Off
    Alias /error/ "/var/www/web15/web/error/"
    ErrorDocument 400 /error/invalidSyntax.html
    ErrorDocument 401 /error/authorizationRequired.html
    ErrorDocument 403 /error/forbidden.html
    ErrorDocument 404 /error/fileNotFound.html
    ErrorDocument 405 /error/methodNotAllowed.html
    ErrorDocument 500 /error/internalServerError.html
    ErrorDocument 503 /error/overloaded.html
    AliasMatch ^/~([^/]+)(/(.*))? /var/www/web15/user/$1/web/$3
    AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web15/user/$1/web/$3
    </VirtualHost>
    #
    #
    #
    ----------------------------------
    thank you for help and sory for my english :eek:
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you create glue records for mydomain.com at your registry? If a domain shall be its own nameserver, you need glue records.
     
  3. acreph

    acreph New Member

    i dont know how i will create glue record. can you show me the way?
     
  4. falko

    falko Super Moderator ISPConfig Developer

    You can ask your registrar, he should be able to help you. :)
     

Share This Page