The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ask about : DNS Zone for *.com

Discussion in 'Bind / DNS / Nameserver Issues' started by kuwaitnt, Jul 9, 2005.

  1. kuwaitnt

    kuwaitnt Well-Known Member

    Joined:
    Oct 13, 2003
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    hello

    please can i ask your help to know how can i make zone file for this domain *.com

    whay i want to use this rule ?

    i will provide park domain service

    for example i have 7 domains :

    2ex.net
    3zazy.com
    a7aa7a.com
    al-host.net
    all-spaces.com
    arabreg.net
    atemplates.com
    b4-u-die.com
    etherdata.com
    kuwaitnt.net
    mrtasjeel.com
    q8koot.com
    sharedns.com
    sharedns.net


    all of theme use this dns

    dns4.etherdata.net
    dns5.etherdata.net
    dns6.etherdata.net

    i try to use this way to let all this domain work without add thim to parking domain on cpanel service


    i have edit pico /etc/named.conf and add this line for *.com

    PHP:
    zone "*.com" {
            
    type master;
            
    file "/var/named/all.com.db";
    };

    then i have add this file /var/named/all.com.db and edit it

    PHP:
    Modified by Web Host Manager
    Zone File for .com
    $TTL 14400
    @       14440   IN      SOA     planet.etherdata.net.   info.etherdata.net.     (
                                            
    2007070972
                                            14400
                                            7200
                                            3600000
                                            86400
                                            
    )

    *.
    com.  14400   IN      NS      dns4.etherdata.net.
    *.
    com.  14400   IN      NS      dns5.etherdata.net.
    *.
    com.  14400   IN      NS      dns6.etherdata.net.

    *.
    com.  14400   IN      A       72.36.174.212


    *.com.  14400   IN      MX      0       etherdata.net.

    mail    14400   IN      CNAME   etherdata.net.
    www     14400   IN      CNAME   etherdata.net.
    ftp     14400   IN      CNAME   etherdata.net.

    and restart bind "bind work ok so there are no error"

    but when i try to go any one of this domain it doesn't work

    i try to check it and i didn't know whay it does not work

    for more example this is report for etherdata.net domian
    http://dnsreport.com/tools/dnsreport.ch?domain=etherdata.net

    and the other one "where it was failed"
    http://dnsreport.com/tools/dnsreport.ch?domain=etherdata.com


    please can you let me know whay the *.com zone doesn't work :( ?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You cannot do that. Your server is not authoratitive for the .com domain. You have to setup a separate zone for each domain whether it is parked or a full account.
     
  3. kuwaitnt

    kuwaitnt Well-Known Member

    Joined:
    Oct 13, 2003
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    :) but how kuwaitnet.net company do it ?

    can i do it on djbdns ?



    i mean i have over 400 domain name use my dns

    i can't add 400 domain on cpanel i will lose time

    are there any way i can let my domains parked by useing my dns ?
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You cannot do it, that is not how DNS works. To offer DNS resolution for a domain you have to provide a zone file with at least an SOA, NS and an A record. You cannot wildcard a domain that you do not own, i.e. com you can only wildcard one that you do own, i.e. *.yourdomain.com

    You will simply have to park each one yourself. If you want to script it, have a look at /scripts/park
     
  5. richy

    richy Well-Known Member

    Joined:
    Jun 30, 2003
    Messages:
    276
    Likes Received:
    1
    Trophy Points:
    16
    I think the postee is asking how to setup DNS so that requests for example.com , blarg.com , thingy.com etc - which all have nameservers pointing towards his server - all receive the same DNS zone file results without having to create unique zone files for each domain "by hand"... Whether it's actually possible, I'm not sure (in theory, it should be a *.com wildcard - but I've never tried it myself).
     
Loading...

Share This Page