Где в WMH Cpanel настроить reverse DNS (RDNS)

Тема в разделе "PHP", создана пользователем ivan_st, 25 май 2008.

Статус темы:
Закрыта.
Модераторы: latteo
  1. ivan_st

    ivan_st Постоялец

    Регистр.:
    11 май 2008
    Сообщения:
    52
    Симпатии:
    8
    Где в WMH Cpanel настроить reverse DNS (RDNS)?
    не нагуглю никак.
     
  2. mentanos

    mentanos Постоялец

    Регистр.:
    27 дек 2007
    Сообщения:
    128
    Симпатии:
    35
    с форума cpanel

    rDNS - Reverse DNS - Tutorial
    Please read the whole article before you attempt this so you don't junk up the internet with false records.

    OK. So I've seen so many people say on there that you MUST contact the data center for each rDNS entry you need. This is totally false and untrue in most cases. Most data centers can add your nameservers, and their ips to have access to reverse the address yourself. This can be done WITH or WITHOUT cPanel. You must email the data center and have them authorize your name servers for reverse access before you attempt this.

    Some information to start with:

    Occets

    An IPv4 IP address is sparated into 4 occets each separated by a period.
    So 12.21.31.xxx being our ip, 12 is the first occet, 21 is the second, and
    so on and so fourth.

    Ok now to the rDNS with cPanel.

    First you must create a in-addr.arpa zone.

    Goto dns functions and click add a dns zone.

    Now this is where you use the occet knowledge. You have an IP block from your dedicated provider.

    For this article we will use 12.21.31.xxx. You will most likely want to choose system or root to manage this domain as you probably don't want your customers messing with rDNS.

    In the IP Box we will type the main IP Address for accessing the server.
    In the domain box we will type: 31.21.12.in-addr.arpa
    Notice that the numbers are still read forward but the fourth occet has been dropped and third occet has been placed first, second occet in the middle, and first occet in the end. This is very important for rDNS to work right.

    Now click submit.

    You now have your PTR zone. It should have your ns1.* and ns2.* name servers listed. As well as a mx entry.

    Now were ready to actually reverse the ip address. This is where the fourth occet of the ip will be picked back up. For the rest of the tutorial we'll assume our ips are 12.21.31.001-12.21.31.003 (Yes I know these aren't real ips as the last occet number is wrong this is to not disturb any ISPs)

    Go to the bottom of your edit dns for this zone.

    Enter your fourth occet of the ips you wish to reverse in the first box in each row in the bottom section of this page. For this tutorial this is 001, 002, 003.

    Switch the drop down for each one to PTR.

    Enter what you wish to reverse in the box just to the right of the drop down we selected PTR in. We'll use ssh.mydomain.com, ns1.mydomain.com and ns2.mydomain.com for this.

    Each address must end in a period such as:
    ssh.mydomain.com.
    ns1.mydomain.com.
    ns2.mydomain.com.

    This period is important as it tells this zone this is the end of what were reversing, and causes BIND to not add the zone file name onto the end.

    So now what we have in first three rows at the bottom of page should look like this.

    001 14400 IN PTR ssh.mydomain.com.
    002 14400 IN PTR ns1.mydomain.com.
    003 14400 IN PTR ns2.mydomain.com.

    Now click save. And your done. You've just set up three ips for reverse dns. Remember to be patient. It can take a bit for the reverse entry to traverse the world. So it doesn't always resolve immediately, tho most hosts only take a couple seconds.



    обсуждение и дополнения (надо зарегистрироваться на форуме сначала) Перейти по ссылке
     
    ivan_st нравится это.
  3. ivan_st

    ivan_st Постоялец

    Регистр.:
    11 май 2008
    Сообщения:
    52
    Симпатии:
    8
    Если чесно, не понятно почти ничего, заумно... :(, хоть бы русс. мануал был, а через переводчик... Смысл задачи в чем: есть mydomain.com у домейнера, есть хостинг VPS и IP. Домен добавлен в WHM ( Main >> DNS Functions >> Add a DNS Zone) Все хорошо, но письма не идут с домена... gmail.com чтото подрубает их. - надо прописать RDNS.
     
  4. masto

    masto Прохожие

    Кто-то может объяснить что эта тема делает в разделе "PHP для начинающих"?
     
  5. ivan_st

    ivan_st Постоялец

    Регистр.:
    11 май 2008
    Сообщения:
    52
    Симпатии:
    8
    Пардон, конечно, но сходные темы тут вроде есть,
    в Mod Rewrite / htaccess / ЧПУ это тоже както...
    перенесите плз, если ошибся.
     
Статус темы:
Закрыта.