how/where to add a rDNS entry for an IP address in centos box. i am going to use my secondary IP address in postfix.
如何/在何处为centos框中的IP地址添加rDNS条目。我将在postfix中使用我的辅助IP地址。
1 个解决方案
#1
2
If it's just for your local machine (eg. 10.0.0.1 etc), it goes into /etc/hosts
.
如果它仅适用于您的本地计算机(例如10.0.0.1等),则会进入/ etc / hosts。
If it is for a public IP, you need to contact your provider (the owner of the netblock) as they have to configure this in their DNS. Colocation providers may have web interfaces for this, but consumer-access providers typically won't let you do it.
如果是公共IP,则需要联系您的提供商(网络块的所有者),因为他们必须在DNS中进行配置。托管服务提供商可能有此网络接口,但消费者访问提供商通常不会让您这样做。
#1
2
If it's just for your local machine (eg. 10.0.0.1 etc), it goes into /etc/hosts
.
如果它仅适用于您的本地计算机(例如10.0.0.1等),则会进入/ etc / hosts。
If it is for a public IP, you need to contact your provider (the owner of the netblock) as they have to configure this in their DNS. Colocation providers may have web interfaces for this, but consumer-access providers typically won't let you do it.
如果是公共IP,则需要联系您的提供商(网络块的所有者),因为他们必须在DNS中进行配置。托管服务提供商可能有此网络接口,但消费者访问提供商通常不会让您这样做。