Pular para o conteúdo principal
BlogRede de contatosReverso DNS Manager

Inverter DNS Manager

Disponível agora fora da página Visão Geral do Membro está o Gerente de Configuração de DNS Reverso (veja perto do botão "Network Information" - há um link para ele). No momento, ele está bastante descalço, mas o trabalho está feito.

[b]Requisitos[/b]

Seu hostname DNS reverso deve primeiro encaminhar a resolução para um de seus IPs. Não consegui encontrar nenhum RFC para me apoiar nisto, mas é assim que eu quero. 😈 Depois de fazer a pesquisa no RDNS Manager, ele lhe apresentará a opção de fazer o inverso para o endereço IP.

[b]Atraso e Propagação[/b]

Reconstruímos os arquivos de zona a cada 6 horas. OPlanet sincroniza-se com nossas zonas a cada hora. O Furacão Elétrico parece bastante aleatório, por isso vou preparar notificações para eles.

Obrigado, e aproveite!
-Chris

Comentários (23)

  1. Author Photo

    This is absolutely fantastic Chris!

    It is the first thing on my wish-list which I was about to post!

    Great job 🙂

  2. Author Photo

    i must be missing something but i cannot edit my reverse all it does is show me what my current ip addresses reverse to if im missing something please tell me 😆

  3. Author Photo

    oooh nice 😀

  4. Author Photo

    [quote:c72b4f3301=”faded”]i must be missing something but i cannot edit my reverse all it does is show me what my current ip addresses reverse to if im missing something please tell me :lol:[/quote]

    Set the ip address you want your host to resolve to in your name server, then when you type in the hostname in chris’s script – it will do a lookup and use whichever linode ip it resolves into for the reverse dns…

    i think i explained that okay 8)

  5. Author Photo

    Cool — here’s an example:

    Let’s say your Linode has an IP address of 10.0.0.44, and you’ve registered “example.com” and have DNS serving it up somewhere.

    You want “mylinode.example.com” to be the reverse for your IP.

    First you’ve got to make mylinode.example.com resolve to 10.0.0.44 in your DNS server…

    Then, go into the RDNS manager, lookup “mylinode.example.com” and it will perform a forward lookup. It finds that the hostname resolves to one of your IP addresses, and then asks you if you want to use it as the reverse for 10.0.0.44. You answer “Yes”.

    Done 🙂

    Make sense?

    I need to put instructions on that page 🙂

    -Chris

  6. Author Photo

    …but there’s one thing I don’t understand about this feature — why would I want to use it?

    I use ZoneEdit to control my two domains; is this something I would use in addition to ZoneEdit or in replacement of it?

  7. Author Photo

    This would be in addition to zoneedit.com….

    zoneedit is for forward resolving, going from name to ip. This is for reverse resolving, going from ip to name. For example type ‘host <yourip>’ and you should get a members.linode.com address.

  8. Author Photo

    [quote:c3fd31fecd=”mikegrb”]This would be in addition to zoneedit.com….

    zoneedit is for forward resolving, going from name to ip. This is for reverse resolving, going from ip to name. For example type ‘host <yourip>’ and you should get a members.linode.com address.[/quote]

    So, again proving that my density approaches that of a black hole…why would I want to do this?

    ZoneEdit sends everyone going to officemechanic.com (plus a few subdomains) to the IP of my linode.

    What purpose does reverse resolving in this manner serve? I can understand using reverse DNS to track down spammers or something, but I already *know* what my IP and hostname are. What simple and obvious thing am I completely overlooking?

  9. Author Photo

    Well IRC is one example. Just about any service with a log, http, ftp, ssh, etc generally has an option of doing a reverse lookup on IPs that connect for use in logs. Mail it can be used for by the server itself. For example to determine if that server really should be sending mail for that domain… though that last one if pushing it. They are useful for traceroutes as well because names are generally somewhat descriptive. I know there are many many more but there’s a few to give you an idea.

  10. Author Photo

    Anything that originates from your Linode originates from your IP address, not your domain names. The remote servers your Linode connects to might perform a reverse dns lookup on your IP, perhaps to place the resolved hostname inside the logs instead of just the raw IP (for example, apache’s access_log can do this so webalizer doesn’t have to).

    Mail that goes through your Linode out to another provider will likely contain the reverse DNS hostname of your Linode in it’s headers. By default, it would be the li[123]-[20-255].members.linode.com format. By customizing the reverse dns, I guess it looks more professional (not in some cases, see below), or more of a vanity thing. There are some instances where a correct or matching reverse-dns is required, but mostly you can get away with “just having one” in the first place.

    IRC users like it because when they join a channel, it’ll normally announce to the room “luser@my.dialup.isp.com has joined”. But, connecting through their Linode with a custom reverse dns makes em look bad ass, for example: “caker@whos.got.a.bigantenna.com has joined”. Cool, huh?

    -Chris

  11. Author Photo

    Is it working properly?
    Or is it just me having problems setting reverses…

    Thanks.

  12. Author Photo

    It was the answer to a vexing problem I was having. I’m not sure if its a bug in the Hula server but it has to have a reverse DNS in order to send mail. The reason this could be a bug in my opinion is that its not toched upon in the documentation. You’d think it would be mentioned somewhere. I found it by eliminating every other possible variable.

    The only other thing I can reason out is that they didn’t consider a hosting situation in which the reverse DNS was not automatically handeled or the same as the forward.. But that doesnt’ much make sense to me. Anyone know?. ❓ Anyone care better question? 😛

  13. Author Photo

    [quote:272469ad34=”jsbthree”]It was the answer to a vexing problem I was having. I’m not sure if its a bug in the Hula server but it has to have a reverse DNS in order to send mail. The reason this could be a bug in my opinion is that its not toched upon in the documentation. You’d think it would be mentioned somewhere. I found it by eliminating every other possible variable.[/quote]

    I’ve never used or even heard of Hula, but chances are your mailer doesn’t need to have reverse DNS set in order to send mail. It’s likely the other side of your mail sending that is causing you problems. I think most mailers will reject your mail if a lookup of your IP fails. I can’t speak for every MTA but sendmail does this by default.

  14. Author Photo

    I got two IP’s pointing to my box, but the Reverse DNS manager only works for one of them, is there any way to fix this?

  15. Author Photo

    Could you include some more details?

    Once you set the domain to forward resolve to the IP address, the tool will do a lookup to determine which IP you want to set reverse dns on.

  16. Author Photo

    [quote:825a6ce46a=”OverlordQ”]I got two IP’s pointing to my box, but the Reverse DNS manager only works for one of them, is there any way to fix this?[/quote]
    It does work for multiple IPs. Just make sure that you have one of your FQDN pointing to that IP, and enter the FQDN into the DNS manager — it’ll find that it points to the second IP and ask if you want to set the RDNS to that FQDN.

    Make sense? There is one current limitation with the RDNS manager — if you’re trying to use the same FQDN for more than one IP, it will only select the first IP.

    -Chris

  17. Author Photo

    [quote:2219e59a46=”caker”][quote:2219e59a46=”OverlordQ”]I got two IP’s pointing to my box, but the Reverse DNS manager only works for one of them, is there any way to fix this?[/quote]
    It does work for multiple IPs. Just make sure that you have one of your FQDN pointing to that IP, and enter the FQDN into the DNS manager — it’ll find that it points to the second IP and ask if you want to set the RDNS to that FQDN.

    Make sense? There is one current limitation with the RDNS manager — if you’re trying to use the same FQDN for more than one IP, it will only select the first IP.

    -Chris[/quote]

    That’s what I meant, the FQDN has two A records pointing to my box and the manager only picks up on the first one.

  18. Author Photo

    [quote:2f470e681a=”OverlordQ”]That’s what I meant, the FQDN has two A records pointing to my box and the manager only picks up on the first one.[/quote]
    This should now work. You have the option of choosing which IP you want. Please let me know if that works for you.

    Thanks,
    -Chris

  19. Author Photo

    [quote]Match Found!

    Do you want to use thedarkcitadel.com as the reverse DNS entry for 1659?[/quote]

    O_o

    Clicked yes anyways, then looked up the domain again, then it showed

    [quote]Match Found!

    Do you want to use thedarkcitadel.com as the reverse DNS entry for 1468?[/quote]

    Clicked yes, and now rDNS is setup for both

  20. Author Photo

    Fixed — it now outputs the IP Address rather than the internal ID that we use …

    -Chris

  21. Author Photo

    I have been having a lot of trouble with sending email from my linode (“Relay access denied”). My impression is that postfix is refusing to send email.

    Anyway, I haven’t solved it yet but testing against my gmail account, I found that the reverse dns feature changes the way gmail handles mail.

    Without setting the rdns, doing a lookup of my hostname based on the ip would give lix-xxx.members.linode.com. Now it gives my fqdn correctly.

    Before: Mail gets sent to Spam folder. After: Mail shows up in Inbox.
    However this does not change the headers in the email which still grade me as spf “neutral”, not “pass”:

    Received-SPF: neutral (google.com: MYIP is neither permitted nor denied by best guess record for domain of MYEMAILADDR) client-ip=MYIP;
    Authentication-Results: mx.google.com; spf=neutral (google.com: MYIP is neither permitted nor denied by best guess record for domain of MYEMAILADDR) smtp.mail=MYEMAILADDR

  22. Author Photo

    Please update this 20-year-old article. Seeking to set up reverse DNS in order to debug my mail servers, I follow the above instructions and browse widely but I see no page entitled “Member’s Overview” nor do I see “Network Information” anywhere nor any link for “Reverse DNS Configuration Manager”. Which makes it hard to follow these instructions or set up reverse DNS. Help please and thank you.

Deixe uma resposta

Seu endereço de e-mail não será publicado. Os campos obrigatórios estão marcados com *