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

Discussion in 'Installation/Configuration' started by cstanciu, Jul 23, 2008.

  1. cstanciu

    cstanciu New Member

    I configured for my company , a 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. I installed Centos5.2 with ISPConfig and I noticed that for two different zones like hypertec.ca and ciara-us.com that have records in the same subnet like 208.92.134.0 , the reverse zone automatically generated by ISPConfig is setting all the PTR records with the same domain name

    If I put in the DNS Manager the SOA entry for two domains with two different IPs The Reverse zone file like "pri.134.92.208.in-addr.arpa" still 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 Real problem is with the MX records that need a PTR record with same name as in the MX records and ISPConfig seems to not 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
    NS ns2.hypertec.ca. ; Inet Address of name

    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
    NS ns2.hypertec.ca. ; Inet Address of name

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




    [root@ns1 named]# more pri.example.com
    $TTL 3600
    @ IN SOA ns1.hypertec.ca. postmaster.hypertec.ca. (
    2008071802 ; 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
    NS ns2.hypertec.ca. ; Inet Address of n

    MX 10 mail.clients-ciara.com.

    example.com. A 208.92.134.18
    hypertec-it A 208.92.134.10



    [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 there.



    thanks
     
  2. till

    till Super Moderator

    I added this to the bugtracker.
     

Share This Page