Results 1 to 5 of 5

Thread: Bulk Domain Pointers Adding Script

  1. #1
    Join Date
    Jul 2018
    Posts
    1

    Bulk Domain Pointers Adding Script

    Hello,

    I want to add about 1000 domain pointers to my customer domain.

    In other word I want to park : 1.com & 2.com & ..... 1000.com on the : mycustomerdomain.com

    Would you please guide me how can do this all together ? (with a script or linux command line or another way) ?

    Best Regards,
    Mahmood Vaezi

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,506
    Hello,

    Add you domains into

    - /usr/local/directadmin/data/users/userbob/domains/mycustomerdomain.com.pointers

    one domain per line in the following way:

    Code:
    1.com=pointer
    2.com=pointer
    ....
    1000.com=pointer
    and trigger:

    Code:
    /usr/local/directadmin/custombuild/build rewrite_confs

  3. #3
    Join Date
    Jul 2015
    Posts
    21
    I followed this to the letter and added 582 pointers.
    However when I go to domain pointers and I click on a domain pointer it says:

    Error Reading db file
    Details
    Can't open file /var/named/domain.com.db for reading


    Any idea? Or does it take time.

  4. #4
    Join Date
    Jul 2015
    Posts
    21
    Any idea...??
    Still not working and I doubt this is outdated, right?

    Nevermind; moved the pointers to a Plesk server instead. Easier to bulk add there.
    Last edited by MvdL; 10-17-2018 at 01:08 AM.

  5. #5
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,506
    Yes, sure you will need to create those missing 582 files and feed named.conf with instructions to include them.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •