#1  
Old 28th August 2009, 11:55
foscolino foscolino is offline
Junior Member
 
Join Date: Aug 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default PTR Zone problem

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.



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.



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?
Reply With Quote
Sponsored Links
  #2  
Old 2nd September 2009, 07:13
bluejay3 bluejay3 is offline
Junior Member
 
Join Date: Aug 2009
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
Reply With Quote
The Following User Says Thank You to bluejay3 For This Useful Post:
foscolino (3rd September 2009)
  #3  
Old 3rd September 2009, 13:24
foscolino foscolino is offline
Junior Member
 
Join Date: Aug 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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:

andrea@ubuntu-malago:~$ 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

catterin@jest-pub:~$ 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..
Reply With Quote
  #4  
Old 4th September 2009, 00:28
bluejay3 bluejay3 is offline
Junior Member
 
Join Date: Aug 2009
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
34.100.92.188.in-addr.arpa canonical name = 34.0-24.
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
Reply With Quote
  #5  
Old 4th September 2009, 11:38
foscolino foscolino is offline
Junior Member
 
Join Date: Aug 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default 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:



whit these records:



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

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

andrea@ub-malago:~$ 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!!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 13:20
Automatic PTR zone creation fail! josej Installation/Configuration 2 22nd July 2008 17:55
DNS Error : named-sdb dead but pid file exists nidhintomson Server Operation 6 2nd June 2008 13:24
DNS, rDNS, & PTR problems Ashaman074 Installation/Configuration 19 29th May 2008 20:39
FreeBSD DNS Problem -- any clue ? obzerver General 1 7th January 2008 14:57


All times are GMT +2. The time now is 09:20.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.