Q. How can I add subdomains?
There are two methods as shown below. Select a method for your own convenience.
- Register DNS records of subdomains in the zone of the parent domain.
- Create a zone of subdomains separately from the zone of the parent domain.
To use the first method to add subdomains, register DNS records of subdomains in the zone of the parent domain.
Refer to "Registering, Updating, or Deleting DNS Records in/from a Zone of the IIJ Managed DNS Server" for more information on how to register records.
When you use this method, no additional cost is required.
To use the second method to add subdomains, create a zone of subdomains to add. Register DNS records of subdomains in the created zone to manage them.
With this method, additionally sign up for a zone of subdomains first. Then add NS records for transferring the DNS permission for subdomains to the zone of subdomains to the zone of the parent domain.
| Example of registration of NS records for transfer |
|---|
Suppose the subdomain is sub.example.jp. Register NS records under the zone of example.jp which is the parent domain. |
In the part of "ns-xxx.xxx.d-53.xxx.", specify three managed DNS server names assigned to the zone of subdomain. |
sub.example.jp. IN NS ns-xxx.xxx.d-53.xxx. |
sub.example.jp. IN NS ns-xxx.xxx.d-53.xxx. |
sub.example.jp. IN NS ns-xxx.xxx.d-53.xxx. |
When you use this method to add subdomains, additional cost for a zone is required. Refer to "https://www.iij.ad.jp/biz/dns-pfm/" (Japanese Only) for more information on the cost.
To apply for addition of a zone, contact your IIJ sales representative.
[ Reference ]
It is recommended that you separate the zone of the parent domain and that of subdomains to manage them in the following cases.
- There are many DNS records that are registered in the zone of the parent domain; therefore, management of the DNS records in a single zone is complex.
- You wish to separate the manager of the zone of the parent domain from that of the zone of subdomains.