reverse DNS

Discussion in 'General' started by Andrew Colin, Apr 14, 2016.

  1. Andrew Colin

    Andrew Colin New Member

    Hi Guys,

    Is it possible to add a reverse dns entry on the ispconfig panel?
     
  2. ressel

    ressel Member

    Yes, I manage both ipv4 + ipv6 reverse dns from ispconfig
     
  3. Andrew Colin

    Andrew Colin New Member

    can you give me an example of how to add it from the gui?
     
  4. ressel

    ressel Member

    Let's say ip network is 10.0.0.0/24

    Zone (SOA) name would then be: 0.0.10.in-addr.arpa.
    In records you then put some ns records to you existing dns servers (i have nothing in name, but dns FQDN, in data)
    And then add your PTR records like
    If you would like:
    10.0.0.1 test1.domain.tld
    10.0.0.2 test2.domain.tld
    10.0.0.3 test3.domain.tld

    then click create on PTR
    Name = 1
    Hostname= test1.domain.tld.
    remember the last dot

    next would be
    Name = 2
    Hostname= test2.domain.tld.
    and last

    Name = 3
    Hostname= test3.domain.tld.
     
    Jesse Norell likes this.
  5. ressel

    ressel Member

    When I created this, I then told my provider that I would like to manage reverse dns my self, and they then set my own dns servers to be resolved on lookup from their side.
     
  6. Andrew Colin

    Andrew Colin New Member

    Thanks i will give it a try!
    have you managed to get your dns servers to work on ipv6 i cant seem to get clients to lookup on v6 for my servers
     
  7. ressel

    ressel Member

    Yes ipv6 is also working in my setup
     
  8. Andrew Colin

    Andrew Colin New Member

    can you give me an example how you got it to work
    i have
    listen-on-v6 port 53 { any; };
    and
    forwarders {
    8.8.8.8;
    8.8.4.4;
    2620:0:ccc::2;
    2620:0:ccd::2;
    2001:4860:4860::8888;
    2001:4860:4860::8844;

    but when a client does nslookup google.com myipv6ip it fails
     
  9. ressel

    ressel Member

    To make it work I put net id in Zone (SOA), and the whole long host in name in PTR.
    This one helped me a lot.
    http://rdns6.com/zone
    If we use subnet they show in url above, for network 2001:db8::/48
    Your Zone (SOA) should be: 0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa
    and then in PTR records it should be like:

    PTR for: 2001:db8::1 would be:
    Name = 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0
    Host = test1.domain.tld

    PTR for: 2001:db8::2 would be:
    Name = 2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0
    Host = test2.domain.tld

    Sometimes I also use this one:
    http://www.gestioip.net/cgi-bin/subnet_calculator.cgi
     
    Jesse Norell likes this.
  10. Andrew Colin

    Andrew Colin New Member

    thanks i got it working

    last thing can you give me an example of a v6 reverse dns?
     
  11. ressel

    ressel Member

    Can't you use, what I posted in post #9 ?
     
  12. Andrew Colin

    Andrew Colin New Member

    yes you are right

    thanks for all the info
     
  13. ressel

    ressel Member

    You are welcome
     
  14. Frank32

    Frank32 New Member

    I've been trying to add reverse DNS for several days, but I can't seem to get it to work. I do not have a sub range, just a full IPv6 address. I create a SOA and add the necessary records, just like with IPv4.

    But the test on mythic-beasts dot com continues to show "no reverse DNS". It also says there is no glue record.
     
  15. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    First find out which name server is authoritative for your ip-block. Then check you have added the reverse records to that name server. Finally check with command host the server works like so:
    Code:
    host <your ip-number> <ip-number of name server>
     
  16. Frank32

    Frank32 New Member

    Today I received an email from the company where I have my domain registered; apparently it is currently not possible to set the nameservers to IPv6 through the web interface so they updated it manually. I may have to wait a little before the DNS cache is updated. Will see how it goes in the next two days.
     
  17. Frank32

    Frank32 New Member

    So the reverse dns must point to the block rather than a single address?
     
  18. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    No.
     

Share This Page