multiple ptr records

Discussion in 'Installation/Configuration' started by t-mug, Jun 17, 2007.

  1. t-mug

    t-mug New Member

    Until now I thought one IP address should have exactly one reverse dns entry...
    I've noticed that ISPconfig creates multiple PTR records in the pri.xxx.xxx.xxx.in-addr.arpa zone, one for each virtualhost and it's aliases. I like to use my ISPConfig-server as master dns server as well.
    Well, multiple ptr entries are legal but AFAIK not recommended to avoid running into trouble with spam bounce issues. Are there any experiences with this, in particular with ISPConfig?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    That's right.

    We have this on our to-do list (i.e., we want to change this so that ISPConfig creates just one PTR per IP).

    Normally the PTR records are reated by the ISP who gave you the IP address.
     
  3. t-mug

    t-mug New Member

    Where to change source?

    Thanks for your reply!

    Hm, so it's more or less useless to have PTR's created at all. As I intend to have my virtual addresses on the ISPConfig machine and this machine the same time as their authoritative ns1 - it would be useful to have a hint which file to ask for to comment out the corresponding source line(s) - just to prevent creation of multiple PTR's.

    And: thanks a lot for your work!
     
  4. falko

    falko Super Moderator Howtoforge Staff

    You don't need to comment out the PTR records - they don't hurt.
    If the PTR records are requested by someone, your ISP's server will be asked, not yours.
     
  5. the_spy

    the_spy New Member

    it depends if the ISP give you the delegation of your IP addresses or not.
    generally they don't give it, until it's your own IP addresses block.

    I think it would be great to have a specific PTR page to manage IPs and their PTR manually, and not automatically based on A records.
     
  6. cstanciu

    cstanciu New Member

    BGP company: Reverse PTR records created with the same domain name

    I configured as network admin , BGP protocol since we have our own block of IP addresses from ARIN, so now I have to register the PTR records for all my clients into my own DNS servers, not at the carriers side
    I installed Centos5.2 wot ISPConfig and I noticed that for two different zones like hypertec.ca and ciara-us.com that have records in the same subnet or segment like 208.92.134.0 , the reverse zone automaticaly generated by ISPConfig is setting all the PTR records with the same domain name { DNS_SOA}
    even if I put the SOA entry for two domains with two different IPs
    The Reverse zone file like "pri.134.92.208.in-addr.arpa" has the PTRs with the right hostnames but with the same domain name.

    In the following samples I have pc1.ciara-us.com with 208.92.134.15 and
    at a nslookup 208.92.134.15 the result is pc1.hypertec.ca which is wrong:

    [root@ns1 named]# nslookup pc1.ciara-us.com
    Server: 208.92.134.18
    Address: 208.92.134.18#53
    Name: pc1.ciara-us.com
    Address: 208.92.134.15

    [root@ns1 named]# nslookup 208.92.134.15
    Server: 208.92.134.18
    Address: 208.92.134.18#53
    15.134.92.208.in-addr.arpa name = pc1.hypertec.ca.

    The problem is with the MX records that need a PTR record with same name ( host.domain) and ISP config cannot generate the correct PTR records

    Here is a config sample:

    [root@ns1 named]# more pri.ciara-us.com
    $TTL 3600
    @ IN SOA ns1.hypertec.ca. postmaster.hypertec.ca. (
    2008072205 ; serial, todays date + todays serial #
    10 ; refresh, seconds
    600 ; retry, seconds
    86400 ; expire, seconds
    3600 ) ; minimum, seconds
    ;
    NS ns1.hypertec.ca. ; Inet Address of name ser
    ver 1
    NS ns2.hypertec.ca. ; Inet Address of name ser
    ver 2
    ;

    MX 10 mail.clients-ciara.com.

    ciara-us.com. A 208.92.134.18
    pc1 A 208.92.134.15
    www A 209.104.84.250

    ;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;


    [root@ns1 named]# more pri.hypertec.ca
    $TTL 3600
    @ IN SOA ns1.hypertec.ca. postmaster.hypertec.ca. (
    2008071804 ; serial, todays date + todays serial #
    900 ; refresh, seconds
    600 ; retry, seconds
    86400 ; expire, seconds
    3600 ) ; minimum, seconds
    ;
    NS ns1.hypertec.ca. ; Inet Address of name ser
    ver 1
    NS ns2.hypertec.ca. ; Inet Address of name ser
    ver 2
    ;

    hypertec.ca. A 208.92.134.18
    ns2 A 208.92.134.19
    ns1 A 208.92.134.18




    [root@ns1 named]# more pri.134.92.208.in-addr.arpa
    $TTL 86400
    @ IN SOA ns1.hypertec.ca. hostmaster.hypertec.ca. (
    2008072201 ; serial, todays date + todays
    serial #
    28800 ; Refresh
    7200 ; Retry
    604800 ; Expire
    86400) ; Minimum TTL
    NS ns1.hypertec.ca.
    NS ns2.hypertec.ca.
    18 PTR hypertec.ca.
    19 PTR ns2.hypertec.ca.
    15 PTR pc1.hypertec.ca.
    10 PTR hypertec-it.hypertec.ca.

    ;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;


    Please help, if there is a posibility
    I was looking into the file reverse_zone.in-addr.arpa.master file to figure it out but there is only one Variable .


    thanks
     

Share This Page