Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-24-2011, 04:22 AM
|
#1
|
LQ Newbie
Registered: Oct 2005
Posts: 29
Rep:
|
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
|
|
|
02-24-2011, 05:00 AM
|
#2
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,214
|
Hi,
Have a look here for Classless IN-ADDR.ARPA delegation rfc.
Also see the examples here
Regards
|
|
|
02-24-2011, 05:14 AM
|
#3
|
LQ Newbie
Registered: Oct 2005
Posts: 29
Original Poster
Rep:
|
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";
};
|
|
|
02-24-2011, 05:33 AM
|
#4
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,214
|
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
|
|
|
02-24-2011, 05:43 AM
|
#5
|
LQ Newbie
Registered: Oct 2005
Posts: 29
Original Poster
Rep:
|
dig -x was not successful when I used the above zone name..!!
|
|
|
02-24-2011, 05:53 AM
|
#6
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,214
|
Quote:
Originally Posted by alkingg
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
|
|
|
02-24-2011, 09:43 AM
|
#7
|
LQ Newbie
Registered: Oct 2005
Posts: 29
Original Poster
Rep:
|
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
#####################################################################################
|
|
|
02-25-2011, 10:36 AM
|
#8
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,214
|
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
|
|
|
All times are GMT -5. The time now is 03:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|