restrict duplicate domains

prashantbhushan

Verified User
Joined
Jul 21, 2006
Messages
199
Location
Pune, India.
hello,
Directadmin only restricts creating of duplicate users. However there duplicate domains can be created. How to restrict that also.



Thanks,
Prashant.
 
I've never been able to create a duplicate domain.

Exactly what are you doing that results in a duplicate domain?

Jeff
 
hello,
Actually i was trying to create domain setup in control panel. The domain setup created successfully. Afterwards i found that domain already exist (2 domain setups are there but with different users). How's that happened ?.
Is it happened because there was no DNS entry for that domain.


thanks,
Prashant.
 
Based on a previous post by DA support that DA looks at DNS files to see if the domain exists or not? At least that is what I understoodd
 
Hello,

If you create a domain, then delete the dns entery, you'll be able to create it again. So the solution: don't delete the dns entry ;)

The named.conf file is what's used to determine if a domain exists on your system or not. If you want to check, go to:
Admin Level -> DNS Administration
The domains listed there are what DA can see.

Just a side note, likely won't affect much.. that if the /path to the db file in the named.conf is not a full /path but only a relative path, eg, if it doesn't start with a /, then DA won't see it. Only /full/path/domain.db files will be seen.

eg, this will be seen:
Code:
zone "domain.com" { type master; file "/var/named/domain.com.db"; };
but this will not be seen
Code:
zone "domain.com" { type master; file "domain.com.db"; };
John
 
Back
Top