LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-24-2011, 04:22 AM   #1
alkingg
LQ Newbie
 
Registered: Oct 2005
Posts: 29

Rep: Reputation: 15
bind9 reverse zone


Hello,

how to configure reverse zone for x.x.x.x/18 subnet ,all the example on the internet are for /24 or /16 subnets?!!

Thanks
 
Old 02-24-2011, 05:00 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,214
Blog Entries: 1

Rep: Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067
Hi,

Have a look here for Classless IN-ADDR.ARPA delegation rfc.
Also see the examples here

Regards
 
Old 02-24-2011, 05:14 AM   #3
alkingg
LQ Newbie
 
Registered: Oct 2005
Posts: 29

Original Poster
Rep: Reputation: 15
I have tried these methods without success

zone "63-0.x.x.x.in-addr.arpa" {
type master;
file "/etc/bind/db.x";
};

zone "0/18.x.x.x.in-addr.arpa" {
type master;
file "/etc/bind/db.x";
};
 
Old 02-24-2011, 05:33 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,214
Blog Entries: 1

Rep: Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067
You must speak with your ISP and make sure he delegates you the subnet x.x.x.x/18
Also confirm with him the zone name (0/18.x.x.x.in-addr.arpa or 63-0.x.x.x.in-addr.arpa)
And try to give some dig results
Code:
dig -x x.x.x.1
 
Old 02-24-2011, 05:43 AM   #5
alkingg
LQ Newbie
 
Registered: Oct 2005
Posts: 29

Original Poster
Rep: Reputation: 15
dig -x was not successful when I used the above zone name..!!
 
Old 02-24-2011, 05:53 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,214
Blog Entries: 1

Rep: Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067
Quote:
Originally Posted by alkingg View Post
dig -x was not successful when I used the above zone name..!!
I can imagine that it was not successful, otherwise you wouldn't make this post. Just give the dig output masking the IP, so we can see the response you get
 
Old 02-24-2011, 09:43 AM   #7
alkingg
LQ Newbie
 
Registered: Oct 2005
Posts: 29

Original Poster
Rep: Reputation: 15
a.b.c.d ---> ns.domain.com
dig -x a.b.c.d

#################################################################
; <<>> DiG 9.7.1-P2 <<>> -x a.b.c.d
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 24635
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;d.c.b.a.in-addr.arpa. IN PTR

;; AUTHORITY SECTION:
a.in-addr.arpa. 1800 IN SOA pri.authdns.ripe.net. dns.ripe.net. 1298536290 3600 7200 1209600 7200

;; Query time: 225 msec
;; SERVER: a.b.c.d#53(46.60.48.130)
;; WHEN: Thu Feb 24 16:38:25 2011
;; MSG SIZE rcvd: 103
#####################################################################################
 
Old 02-25-2011, 10:36 AM   #8
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,214
Blog Entries: 1

Rep: Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067
Code:
a.in-addr.arpa. 1800 IN SOA pri.authdns.ripe.net. dns.ripe.net. 1298536290 3600 7200 1209600 7200
I think the whole b.a.in-addr.arpa is not delegated to some name server, as the SOA is ripe
Are you sure you have the delegation for the 0/18.x.x.in-addr.arpa subnet?x I mean the owner of x.x.in-addr.arpa should point to your dns for 0/18.x.x.in-addr.arpa subnet

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] BIND9 conf and zone files - Need help felipefv Linux - Server 7 10-07-2010 12:43 PM
bind9 zone transfer weirdness gdanko Linux - Server 5 07-13-2010 06:06 PM
[SOLVED] bind reverse zone; no name with reverse lookup deadeyes Linux - Server 3 10-12-2009 10:54 AM
BIND forward zone OK, reverse zone NOT OK! n03x3c Linux - Server 2 11-05-2008 11:31 PM
DNS Zone x-fer - From one zone to another / Debian 3.1 + BIND9 kenwoodgt Linux - Software 0 11-01-2006 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration