Bulk Domain Pointers Adding Script

AsanRayan

New member
Joined
Jul 18, 2018
Messages
2
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
 
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
 
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. ;)
 
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:
Yes, sure you will need to create those missing 582 files and feed named.conf with instructions to include them.
 
Back
Top