21.3.1. Reverse Lookup Settings for Global IP Address Used on Enterprise Cloud 2.0¶
21.3.1.1. [Example] Reverse lookup settings¶
With the items given below, the example here shows how to make the reverse lookup settings for a Virtual Server.
IP address of an instance
192.0.2.5
Default IP address reverse lookup record of an instance
192-0-2-5.compute.jp-e1.cloudn-service.com.
Host name to be set to an instance
reverslookup.example.com.
21.3.1.2. Creating a host zone¶
Create the host zone of the host name to be set to the instance of a virtual server. This procedure can be skipped if the host zone has already been created.
Refer to Creating Zone and create the host zone with the value below.
Domain Name: Enter your domain name.
In this scenario, enter “example.com” to create the host zone.
21.3.1.3. Creating a recordset for Address record (A record).¶
Register an A record in the virtual server of Compue.
If the relevant A record has been created or an A record can be resolved by another DNS service, this step can be skipped.
Note
For reverse lookup settings, an A record which allows name solution for the host name set to the instance must be registered. For example, if reverselookup.example.com. is to be set to 192.0.2.5 like this scenario, the A record of 192.0.2.5 must be returned when name solution of reverselookup.example.com. is executed. Whereas this A record does not necessarily need to be registered in the DNS of this service, the procedure using the DNS of this service is presented below.
The procedure using the A record creation function of DNS of this service is described below.
Refer to Creating Zone and register the A record with the value below.
Name: Enter the record name.
In this scenario, enter “reverselookup.example.com”.
Type: A record
To register the A record first, select “A record”.
Value: Enter the Virtual Server’s IP address.
In this scenario, enter “192.0.2.5”.
Check that the registration above has been performed properly. In the example below, the “dig” command is used to check A record registration of “reverselookup.example.com”.
*Command example
Note
“When the IP address expected above is not returned or when no record responses are made, check the following. - * Checking that the linked procedure has been completed properly - dig Using reverselookup.example.com a +trace, check that the zone has been assigned properly.”
21.3.1.4. Creating a recordset for reverse lookup¶
Refer to ./setting/create-recordset
, open the record set creation screen with the target host zone, and enter the following information.
Value: Enter the Virtual Server’s IP address.
In this scenario, enter “reverselookup.example.com”.
Type: PTR record
To set a reverse lookup record, select PTR record.
Value: Enter the Virtual Server’s IP address.
In this scenario, enter “192.0.2.5”.
Reverse lookup of the IP address of the instance is set by setting the IP address currently used.
After a few minutes, verify the reverse lookup settings has been made clearly with the command below.
$ dig 192.0.2.5 -x
;; QUESTION SECTION:
;5.2.0.192.in-addr.arpa. IN PTR
;; ANSWER SECTION:
5.2.0.192.in-addr.arpa. 60 IN PTR reverselookup.example.com.
All tasks for the settings are completed by now.
Note