dns/namedb

questions

Verified User
Joined
Oct 24, 2009
Messages
137
some questions:

1) is there a different between the main server's name server (one
that admin uses) and the name server that a hosting domain might use?

2) how do you setup two sets of ns1/ns2 name servers to be the MAIN
name servers that all the domains can use?

3) how is DA administering my IP's if my rc.conf file doesn't list them?

4) when i manually create a domain.com.db file in /etc/namedb so that
the DNS works without using the DA interface does this break anything
in DA?

5) can i still add the domain after manually creating the
domain.com.db file by hand via shell in /etc/namedb
 
1) is there a different between the main server's name server (one that admin uses) and the name server that a hosting domain might use?
There could be. Though some administrators name their servers such as ns1.example.com and ns2.example.com, there's no reason why this is required. You nameservers can have completely separate names than your server hostname.
2) how do you setup two sets of ns1/ns2 name servers to be the MAIN
name servers that all the domains can use?
In DirectAdmin you'd generally define them on a reseller level, either using dedicated IP#s or other IP#s already used by, or destined to be used by, other services, including, but not limited to, webhosting.
3) how is DA administering my IP's if my rc.conf file doesn't list them?
DirectAdmin directly manages IP#s, defining the scripts in it's own files and managing them using it's startips script.

You can put them into your startup files if you want to do that; DirectAdmin will see they're already defined, and move on. But there's no reason to do so.

One important issue may come up: if you ever restart your network from the command line, then you'll need to run the startips script manually or the services using those IP#s won't run properly.
4) when i manually create a domain.com.db file in /etc/namedb so that
the DNS works without using the DA interface does this break anything
in DA?
It could; see below:
5) can i still add the domain after manually creating the
domain.com.db file by hand via shell in /etc/namedb
Presumably you know, but have just left out, that you also need to add a record to the named.conf file to point to your zone file. But the answer is No; DirectAdmin uses the presence of the zone as a determination if the domain exists in DirectAdmin; DirectAdmin will refuse to add a domain that already exists in DNS, telling you the domain is already on the system.

Jeff
 
Back
Top