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.

Set up dns for multiple domains from text file

Discussion in 'Bind / DNS / Nameserver Issues' started by alareach, Jun 11, 2003.

  1. alareach

    alareach Well-Known Member

    Aug 12, 2001
    Likes Received:
    Trophy Points:
    I have moved my dns server and have all of my dns entries in a text file. I tried to create a file which will run the following in the scripts directory...

    ./adddns $IP $domain
    ./adddns $nextIP $nextdomain

    .. and so on. The problem is that there must be a carraige return after the IP and domain in order to properly have this run by itself.. and I cannot recall if there is a symbol which will do this. Any one know? Support Ticket Number:

Share This Page