Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Domain Name Service/ Getting Started/ Translating an IP Address to a Domain Name

Translating an IP Address to a Domain Name

Updated on 2024-11-04 GMT+08:00

Scenarios

PTR records are used to prove credibility of IP addresses and domain names of email servers. To avoid being tracked, most spam senders use email servers whose IP addresses are dynamically allocated or not mapped to registered domain names. If you want to keep the spam out of your recipients' inbox, add a PTR record to map the email server IP address to a domain name. In this way, the email recipients can obtain the domain name by IP address and will know that the email server is trustworthy.

If you use an ECS as an email server, configure a PTR record to map the EIP of the ECS to the domain name.

This following are operations for you to add a PTR record for a cloud resource, such as ECS.

Preparations

Before configuring PTR records, you need to sign up for a HUAWEI ID and enable Huawei Cloud services, complete real-name authentication, top up your account, register a domain name with Huawei Cloud or a third-party domain name registrar, deploy an ECS, and bind an EIP to it.

  1. Sign up for a HUAWEI ID.

    For details, see Sign up for a HUAWEI ID and enable Huawei Cloud services.

  2. Complete real-name authentication.

    For details, see Real-Name Authentication.

    If you have enabled Huawei Cloud services and completed real-name authentication, skip this step.

  1. Top up your account.

    For details, see Topping up an Account.

Constraints

  • You can only create PTR records for IP addresses with a 32-bit subnet mask.
  • Only one PTR record can be created for an EIP.
  • An EIP can be mapped to no more than 10 domain names.

Procedure

  1. Go to the PTR Records page.
  2. Click on the upper left and select the desired region and project.
  3. Click Create PTR Record and configure the following parameters.

    Retain the default values for other parameters. For details, see Creating a PTR Record.

    Table 1 Parameters for creating a PTR record

    Parameter

    Example Value

    Description

    EIP

    XX.XX.XX.XX

    EIP of another cloud resource, for example, an ECS.

    You can select an EIP from the drop-down list.

    Domain Name

    example.com

    Domain name mapped to the EIP.

    TTL (s)

    300

    Cache duration of the PTR record, in seconds

    Default value: 300

    Tag

    example_key1

    example_value1

    Tag that will be added to classify and identify the PTR record.

    Description

    The description of the PTR Record.

    Supplementary information about the PTR record.

  4. Click OK.

    You can view the created PTR record on the PTR Records page.

    NOTE:

    If a domain name is mapped to multiple EIPs, you must create a PTR record for each EIP.

  5. In the DOS window of your local PC that has been connected to the Internet, check whether the PTR record takes effect.
    1. Press Win+R to open the Run dialog box, enter cmd, and press Enter.

    1. Run the following command in the DOS window:
      nslookup -qt=ptr [IP address]

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback