LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 03: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, 04:00 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

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

Regards
 
Old 02-24-2011, 04: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, 04:33 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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, 04: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, 04:53 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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, 08: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, 09:36 AM   #8
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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



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 11:43 AM
bind9 zone transfer weirdness gdanko Linux - Server 5 07-13-2010 05:06 PM
[SOLVED] bind reverse zone; no name with reverse lookup deadeyes Linux - Server 3 10-12-2009 09:54 AM
BIND forward zone OK, reverse zone NOT OK! n03x3c Linux - Server 2 11-05-2008 10:31 PM
DNS Zone x-fer - From one zone to another / Debian 3.1 + BIND9 kenwoodgt Linux - Software 0 11-01-2006 10:28 AM

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

All times are GMT -5. The time now is 02:50 AM.

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