PTR Zone problem

Discussion in 'General' started by foscolino, Aug 28, 2009.

  1. foscolino

    foscolino New Member

    Hello, I have a problem to configure PTR zone for my domain..
    For example, I want to create PTR zone for IP: 188.92.100.34
    We are an autonomous system, all IP classes (188.92.96.0/21) are managed by myself.

    1) I have created a new zone 0-24.100.92.188.in-addr.arpa.

    [​IMG]

    2) I have add a CNAME record:
    hostname: 34
    target hostname: 34.100-24.

    3) I have add a PTR record
    name: webhosting01
    Cname: 34.

    [​IMG]

    if I try to do:
    nslookup -type=ptr 188.92.100.34 ns1.itgreen.info
    Server: ns1.itgreen.info
    Address: 188.92.100.9#53

    ** server can't find 34.100.92.188.in-addr.arpa: REFUSED

    which is the problem?
    which is my error? I don't know why i receveid this error..
    can we help me, please?
     
  2. bluejay3

    bluejay3 New Member

    Create a zone 100.92.188.in-addr.arpa.
    Add records in this zone:
    NS [empty] ns1.itgreen.it
    NS [empty] ns2.itgreen.it
    NS 0-24 ns1.itgreen.it
    NS 0-24 ns2.itgreen.it
    CNAME 34 34.0-24

    Create a zone 0-24.100.92.188.in-addr.arpa
    Add records in this zone:
    NS [empty] ns1.itgreen.it
    NS [empty] ns2.itgreen.it
    PTR 34 webhosting01 (i think data should be FQDN)

    - OR -

    You could probably get away with only having the main zone if you only get DNS requests for your subnet anyways.
    i.e.
    Create a zone 100.92.188.in-addr.arpa.
    Add records in this zone:
    NS [empty] ns1.itgreen.it
    NS [empty] ns2.itgreen.it
    PTR 34 webhosting01.example.com

    Let me know if this works.
     
  3. foscolino

    foscolino New Member

    reverse ok... but propagate zone..

    Hi bluejay3,
    thanks a lot for your support...i have configurated zone on your instructions and now the reverse ip work correctly..
    If I try to do nslookup by dns server I receive the correct response:

    [email protected]:~$ nslookup 188.92.100.34 ns1.itgreen.info
    Server: ns1.itgreen.info
    Address: 188.92.100.9#53

    34.100.92.188.in-addr.arpa canonical name = 34.0-24.

    But if I try to resolv ptr zone by another dns i receive error message

    [email protected]:~$ nslookup 188.92.100.34
    Server: 192.168.1.54
    Address: 192.168.1.54#53

    ** server can't find 34.100.92.188.in-addr.arpa.: NXDOMAIN

    I dont' know why the zone not yet been propagated correctly..
    Since the change was made three days have passed..
     
  4. bluejay3

    bluejay3 New Member

    Change the CNAME target from (34.0-24.) to just (34.0-24) with no period. This nslookup result should be '34.0-24.100.92.188.in-addr.arpa' if you configured everything properly. And you would need a '0-24.100.92.188.in-addr.arpa' zone in this case too.


    First off, I do not think you need to seperate your zones out like you have been. The only reason I feel you need a 0-24, or whatever, sub-zone is if you are trying to assign differnent subnets of the zone to different clients, so each client can only access and change their subnet. If you are just using the zone for yourself and don't have other users/clients trying to access differnet subnets then just create the main zone as follows:

    Create a zone 100.92.188.in-addr.arpa.
    Add records in this zone:
    NS [empty] ns1.itgreen.it
    NS [empty] ns2.itgreen.it
    PTR 34 webhosting01.example.com
     
  5. foscolino

    foscolino New Member

    ok

    ok bluejay3,
    I'm using zones for myself, not for my client..

    Now I have activated only this zone 100.92.188.in-addr.arpa. how this:

    [​IMG]

    whit these records:

    [​IMG]

    If you look PTR record webhosting01.itgreen.info. has period (.) final..
    If I set PTR record whitout period the reverse not work correctly.. :confused:

    Now, if I try to resolv PTR record from nameserver the result is correct:

    [email protected]:~$ nslookup 188.92.100.34 ns1.itgreen.info
    Server: ns1.itgreen.info
    Address: 188.92.100.9#53
    34.100.92.188.in-addr.arpa name = webhosting01.itgreen.info.

    But is correct for you for correct propagation?
    thanks for your precious support!! :)
     

Share This Page