Where is list of domains on DA stored?

simonb

Verified User
Joined
Feb 15, 2006
Messages
7
I find that if I add .db files manually to /var/named the domains don't show up in the DA control panel. So DA must be keeping a record of the domains somewhere else when they are created using the control panel.

I've tried a text search and file name search in /usr/local/directadmin but can't find anything there.

Does anyone know where DA keeps this information?

Thanks & regards...
 
You mean like a domains.list? Its in each users directory in /usr/local/directadmin/data/users
 
Thanks but if I create a new DNS entry as admin it doesn't show up in any of the domains.list files.

I have found the file it does show up in however, and that's /etc/named.conf.

If I insert an entry there and also create the .db file in /var/named then it does indeed show up in the DA DNS control panel.

Thanks for the tip though since it got me to search a little harder and find it :-)

Regards...
 
Thanks but if I create a new DNS entry as admin it doesn't show up in any of the domains.list files.

That is true but that is not what you asked.

So DA must be keeping a record of the domains somewhere else when they are created using the control panel.

There are many places that DA places the domain when it adds one. What I gave you is what will make it show up in the control panel as one of the users domains.

If I insert an entry there and also create the .db file in /var/named then it does indeed show up in the DA DNS control panel.

That is interesting. What user does it show up under? I thought the only way for it to show up is to add it to one of the domains.list. Otherwise it would not know which user has control over that domain.

I have found the file it does show up in however, and that's /etc/named.conf.

It was assumed that you knew about that file since you have to add the domain there for any db entries in /var/named to do any good. I thought since you knew how to write the db files in /var/named then surely you know you have to have an entry in named.conf for the domain to work.
 
Back
Top