Enable DNS Administration for resellers!

Richard G

Verified User
Joined
Jul 6, 2008
Messages
13,529
Location
Maastricht
As an admin, under Admin tools, I can use DNS administration which is great.

However, as a reseller, on which account DNS Control is activated, the reseller can not modify his clients DNS.

It happens often that an company (let's say a reseller) is asked to adjust DNS settings for their clients, because they are not allowed to do that themselves (because some make a mess of it and the reseller decided to disabled this in his packages for the users).
In order to do that, he first has to enable DNS Control for the users, login to their account, make the change, and then disable DNS Control for the users again.
This is a time consuming workaround.

Option 2 is that the reseller has to ask his admin, wich also takes unnecessary time.

This is stupid.
Especially because it's possible anyway by using the workaround I described.

Isn't it way better to have a DNS Administration for resellers? So in his reseller tab he can adjust the DNS settings for his clients and in his user tab his own DNS administration? Can this be made this way?
 
Last edited:
In the mean time, please enable the TTL field for DNS Administration on the admin page (and reseller page then).

regards,
Stijn
 
Maybe you could copy code from admin and then limit it somehow to only reseller clients.
But I'm no coder so I immediately believe you that it will take some serious changes anyhow.

I don't mind if it won't make it in 1.41.1, that case maybe it will be in the next one. I'm already thankfull that you added it to the todo list.:)

Thanks John!
 
The problem, of course, is knowing at the reseller level which zone files to allow to be shown/changed. Unless I'm mistaken this wold require lookups into which users are under which reseller, and then which domains are under each such user.

Jeff
 
Hi all,

it is an old feature request but it does not seem to have been implemented yet. I also would like to see this feature because currently the admin has to make changes or the user him/herself.

Harro
 
Or the reseller can but then he has to login to the users account, which is unnecessary extra action in fact. And sometimes you don't want the user to have DNS administration, so you have to enable it, login in user's account, make changes and disable it again.
 
Indeed! I would prefer not to give the users DNS control (unless they have a specific type of hosting package) but the Resellers should ideally be able to control their users' DNS directly from their login / authorization level.
 
the problem of course is that there's no simple way to tie the domain names to a specific reseller. It would be necessary to first check to see which users were 'owned' by which reseller, and then get the name sof the domains hosted by each of those users.

Perhaps John from DirectAdmin could look at the requests vs the work involved and make a decision as to whether it's a good use of development resources to get it done.

Jeff
 
Yep, I thought of that way too. You can see which users belong to a reseller, maybe there is a way to check the same way for the domains. But I don't know if this is a lot of work. Might be good if John would have a look at it like you say.
 
Hi Jeff and all,

Thank you for supporting (in principle) the feature request. In terms of how to implement it, I would expect all the required information to already be present so that it would mainly be a matter of parsing config files (identifying eligible domains for a specific reseller) and adding a double-check that that reseller is indeed properly logged in/authorized.


1. Parse the user.conf files for the "creator=" value, which should be either the reseller or an another admin. In terms of security, an admin already has access to the domain anyway. In terms of ensuring that a reseller adds his/her own users instead of another admin, that is a matter of applying a proper procedure (I would not consider a good practice for an admin to add another reseller's user).

There is a link "List users" in the reseller page, so there is already a system / filter in place that identifies which users are linked to the reseller.

2. The next step would be to list the user's domains list config file when a reseller selects "DNS admin" in the user's data overview page.

3. Before making changes in DNS, double-check that this domain is really in the user/reseller authorization space.

I hope this is sufficiently easy to implement to warrant the time investment of the team at DA!

Kind regards,
Harro
 
It might be a bit more difficult since you also have to take in effect changes when moving domains between users or resellers/admins. In those cases checks and changes also have to be made.
 
Back
Top