Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    75

    Default ask about : DNS Zone for *.com

    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 Code:
    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 Code:
    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...=etherdata.net

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


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

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    75

    Default

    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. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Jun 2003
    Posts
    280

    Default

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

Similar Threads & Tags
Similar threads

  1. DNS zone editor in DNS-ONLY
    By rainboy in forum Feature Requests for cPanel/WHM
    Replies: 2
    Last Post: 04-07-2010, 09:06 PM
  2. Replies: 3
    Last Post: 01-18-2010, 10:11 PM
  3. DNS Functons - No Edit DNS Zone
    By PhishShticks in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 04-09-2009, 01:24 PM
  4. Edit DNS Zone or DNS server (BIND)
    By blogipid in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-05-2006, 11:02 AM
  5. DNS Zone
    By softstor in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-20-2004, 01:04 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube