Domain Pointer List

tonanbarbarian

New member
Joined
Feb 20, 2006
Messages
4
Been using DirectAdmin for a couple of years now and very happy with the product.

Have a feature I would like to see.

Would it be possible to include a list of the Pointed Domains. Currently the only way to see if a Domain is Pointed on the server is to check each user individually, or view the apache configuration manually.

What I think I would like is the following
From Admin Level > Show All User, to have the Domain Pointers listed in the Domains column, preferably with some sort of indicator showing they are a pointer domain.
Show the same from the Reseller Level > List Users

From either the Admin Level or Reseller Level when you view a user and it gives you the option to Login, Modify or Delete there is then a summary of all of the Users information. The list of Domain Pointers should be included here somewhere as well, probably in the Domain list.

Then in the User level when you go to the Home for a User that has multiple domains it shows each domain. This list should also include Domain Pointers.

I feel this would enable all DirectAdmin users, be they Admin, Reseller or User, to quickly tell at a glance how many domains are actually being hosted.

I guess the only question that comes out of this then is do you display the Pointer and its destination or just the Pointer?
Maybe a little tooltip or similar could be used to indicate which Domain the Pointer is going to.

Keep up the good work
Tony
 
I am also searching for something like this. So I would like to sign up to get this new functionality in.
 
search for domain pointer

I second this request. One should also be able to search for an account by parked/pointer domain names. Some customers when calling for support refer to their account by a domain name that is setup as a pointer and its a pain to track down.
 
Hello,

I've added it to the versions system.
http://www.directadmin.com/features.php?id=841

I'm still not sure on how it will be implemented though..
The cleanest way might be to have a seperate page for it, accessible from admin level (all domain pointers) and reseller level for his users.

John

I think, personally, that this feature is only really useful if the pointers are shown in the List users-page.

And isn't it easy enough to implement it something like:

Code:
open(%RESELLER_HOME%/users.list)
foreach (user as $u) {
 open(/usr/local/directadmin/data/users/$u/domains.list)
 foreach (domain as $d) {
  print "Domain: " . $d
  open(/usr/local/directadmin/data/users/$u/domains/$d/$d.pointers)
  foreach (pointer as $p) {
   print "-> " . $p
  }
 }
}
 
I'll look into it, but it's no longer that simple. We now use a large cache because a realtime lookup of all the data is too slow when you have 1000+ users. I'll see about including the pointers in the cache, and also finding a home on the "show all users" and "list users" pages, but failing that, it would have it's own page. The cache part just requires some careful coding, but finding a good spot for them on the interface would be key.

John
 
Just a thought, but what about listing them out along with the other domains that are listed for each user with some sort of indicator that it's a domain pointer, rather than a full domain?
 
I'm going to try putting it into the same cache as the show_all_users.cache file. I'm thnking of having each domain displayed as they currently are, then having tabbed in space, then the list of pointers. This will keep it all on one page, same column. The default for this will be "on", but I'm including an option in the directadmin.conf to shut it off, should everything hit the fan ;)

John
 
I have created a shell script to generate a list of domains names.

script file name: /usr/local/directadmin/data/users/[USER]/all_domains.sh
Code:
#!/usr/bin/env bash

  /bin/cat /usr/local/directadmin/data/users/[USER]/domains.list

  while read LINE; do
    u=$(echo "$LINE")
    /bin/cat /usr/local/directadmin/data/users/$u/domains.list
  done < /usr/local/directadmin/data/users/[USER]/users.list

Instructions:
1. Create the all_domains.sh files in [USER] folder.
2. Replace [USER] with your user's account name.
3. chmod a+x /usr/local/directadmin/data/users/[USER]/all_domains.sh
4. Execute this script and output to text file:
/usr/local/directadmin/data/users/[USER]/all_domains.sh > /usr/local/directadmin/data/users/[USER]/all_domains.txt
 
I have created a shell script to generate a list of domains names.

script file name: /usr/local/directadmin/data/users/[USER]/all_domains.sh
Code:
#!/usr/bin/env bash

  /bin/cat /usr/local/directadmin/data/users/[USER]/domains.list

  while read LINE; do
    u=$(echo "$LINE")
    /bin/cat /usr/local/directadmin/data/users/$u/domains.list
  done < /usr/local/directadmin/data/users/[USER]/users.list

Instructions:
1. Create the all_domains.sh files in [USER] folder.
2. Replace [USER] with your user's account name.
3. chmod a+x /usr/local/directadmin/data/users/[USER]/all_domains.sh
4. Execute this script and output to text file:
/usr/local/directadmin/data/users/[USER]/all_domains.sh > /usr/local/directadmin/data/users/[USER]/all_domains.txt

this doesn't really do the trick I guess; you should at least replace the "/bin/cat /usr/local/directadmin/data/users/$u/domains.list" line with a "/bin/cat /usr/local/directadmin/data/users/[USER]/domains/$u/$u.pointers" and then still, it would only output the pointers and it doesn't really differ that much from my original pseudo-code script.

Next to that: DA already contains this feature since version 1.312 ;)
 
Back
Top