Powerdns setup

Discussion in 'Server Operation' started by treichhart, Feb 8, 2021.

  1. treichhart

    treichhart New Member

    Hello Guys
    I am needing some help on getting powerdns setup to allow me to have my block of IP's from arin to show my domain name and from what I was told I need reverse dns and just needing help on getting that setup and I am using powerdnsadmin and server is 4.4.1.

    Thanks
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    If you need to set up PTR (rDNS) records, this is usually done with your network provider.
     
  3. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    When you have an address allocation from ARIN, you need to list your own nameservers as authoritative for your reverse addr zones, then just create the PTR records as @Th0m said. @Taleman wrote a nice dns tutorial, which I believe covers that if your using ISPConfig.
     
  4. treichhart

    treichhart New Member

    I have direct address allocation from ARIN and I am using "powerdns" aka powerdns admin not using ispconfig I need help getting authoritative server setup for the reverse addr zones and PTR.
     
  5. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    You simply as the zone(s), then add PTR records. Use the aforementioned dns tutorial, which is readily found searching the forum here.
     
  6. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    To clarify, the tutorial is for ispconfig, but explains reverse dns and shows how to set it up with screenshots of the fields; just translate the info to the power dns admin interface.
     
    Last edited: Feb 8, 2021
  7. treichhart

    treichhart New Member

    please send me a link to this tutorial?

     
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  9. treichhart

    treichhart New Member

    Not sound rude or anything but your tutorial doesnt show much about powerdns-admin so I cant carry over that information.

     
  10. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Likewise I don't mean to be rude, but I've never heard of powerdns admin before, so completely unfamiliar with it's documentation or resources, and found this guide including a screenshot example of adding a reverse zones in less than 20 seconds: https://kifarunix.com/easily-install-and-setup-powerdns-admin-on-ubuntu-20-04/ Surely there is more info specific to powerdns admin in further searching if you need it, but it really is as simple as creating the reverse zone, and adding your desired PTR records to it. A web search for something like "understanding reverse dns" shows pages of links explaining the concepts (eg. the naming of your in-addr.arpa reverse zone).
     
  11. treichhart

    treichhart New Member

    So I have to add 254 ip addresses in reverse dns setup then do ptr or can I do /24?

     
  12. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    You would add 254 PTR records, one for each IP. (Or 255 if you prefer.)
     
  13. treichhart

    treichhart New Member

    My domain name is registered to webmasters.com so I would need to create a cname at webmasters for my dns server if I am thinking correctly.
     
  14. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    I'm not familiar with webmasters.com, which could probably explain why I don't understand what you mean there. To handle the reverse dns for your addresses, you will need to have at least 2 nameservers, both/all of which must have a name in dns pointing to their ip address(es) (ie. A and AAAA records); you cannot use CNAME for your nameservers (neither MX nor NS can point to a CNAME alias).
     
  15. treichhart

    treichhart New Member

    Then I dont know how this is going to work because webmasters is doing my domain registration and everything is on there dns setup.

     
  16. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Add A records for your nameservers at webmaster.com (and AAAA if you have ipv6 added) prior to delegating your reverse zones to those nameservers at ARIN. (It's possible you could set those in ARIN first, I don't know, but it's safe to do it the other way.)
     
  17. MollyKerr

    MollyKerr New Member

    The same problem. It helped, thank you very much for your help.
     

Share This Page