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.

Bulk utility to Add "A" Entry

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
    I want to create "A" entry for 450 subdomains is there any utility/script to create "A" entry for all subdomains at one go, server is same only subdomains will be different ?

     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Copy sub-domain names in a single file (one name per line) for example, create a file /root/subdomain and add sub-domains

    abc
    xyz
    qaz
    wsx

    Save the file and execute the following script

    where,
    xx.xx.xx.xx is the IP you want to point the sub-domains to.
    yourdomain.tld is the domain on which you want to set the sub-domains.

    Don't forget to restart the 'named' service.
     
Loading...
Similar Threads - Bulk utility Add
  1. lakis
    Replies:
    1
    Views:
    144

Share This Page