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.

create "A' entry for subdomains

Discussion in 'General Discussion' started by crazyaboutlinux, Jan 23, 2010.

  1. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    we requires to add an A record for 450+ subdomains in dns zone (cpanel). An example record will look like this.

    best-buy IN A xxx.xx.xx.xxx

    can you someone provide script to add A entry for all subdomains at one go ?
     
  2. milind

    milind Well-Known Member

    Joined:
    Jan 15, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Nasik (Maharashtra), India
    cPanel Access Level:
    Root Administrator
    Is all the sub domains are going to point single IP?
     
  3. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    yes all the sub domains are pointed to single IP
     
  4. dorikut

    dorikut Registered

    Joined:
    Feb 8, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    In this case, you can use a wildcard A entry like:
    *.domail.tld IN A 1440 IP.IP.IP.IP

    Regards,
    dorikut
     
  5. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
  6. crazyaboutlinux

    crazyaboutlinux Well-Known Member

    Joined:
    Nov 3, 2007
    Messages:
    938
    Likes Received:
    0
    Trophy Points:
    16
    Yes, I have posted on the cPanel & WHT forum


    And it works

    Thanks madaboutlinux
     
Loading...

Share This Page