Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 9th July 2010, 16:56
tomtom901 tomtom901 is offline
Junior Member
Join Date: Apr 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Bind DNS cannot find in-addr.arpa

Hi All,

I started toying around with O'Reilly's DNS and Bind book today, but I'm having some minor problems with my rDNS. I can forward lookup using nslookup, but my reverse lookup doesn't seem to work.

Hope somebody could point it out.

Forward lookup
[root@ns2 var]#nslookup orange

Name:   orange.real-websolutions.net
Address: MY IP
Reverse Lookup
[root@ns2 var]#nslookup MY IP

*** Can't find MY IP rDNS.in-addr.arpa.: No answer
I've also added txt files from:

/var/named/db.My IP rDNS

Hoping someone can point me in the right direction!
Attached Files
File Type: txt resolv.conf.txt (30 Bytes, 353 views)
File Type: txt db.127.0.0.txt (605 Bytes, 281 views)
File Type: txt db. (717 Bytes, 344 views)
File Type: txt named.conf.txt (727 Bytes, 298 views)
Reply With Quote
Sponsored Links
Old 10th July 2010, 12:37
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Please try with dig:
dig -x your_ip
You should add
to your resolv.conf.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 13th July 2010, 03:16
matty matty is offline
Join Date: Apr 2010
Location: Australia
Posts: 85
Thanks: 2
Thanked 12 Times in 11 Posts

You've got some issues with your configuration. In your zone file, you are trying to resolve IPs and Obviously, there's no such IPs.

OK, here's how to fix things.

Your zone file can be named normally, rather than backwards. It's just a filename, and doing it the normal way around will make more sense to you later. Even more so when you find yourself maintaining hundreds of zone files one day. So, first step, rename your file to db.79.99.27. Note that I dropped the 8 from the name. The 8 (and the 1 & 2) go into the file itself.

Now, fix the named.conf zone entry to point at the new filename, and to also drop the 8 from the zone.

zone "27.99.79.in-addr.arpa" {
type master;
file "/path/to/db.79.99.27";

Now add records to the zone as desired. You also need to add a dot after the names, otherwise the zone name is appended to the end of the name (which is why you only need to put 1 2 8 etc, not, which can also do)

1 IN PTR ns1.real-websolutions.net.
2 IN PTR ns2.real-websolutions.net.
8 IN PTR mail.real-websolutions.net.

Don't forget to increment the serial number, and reload the named configuration.
Reply With Quote


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
Capabilites of bind DNS networkguru00 General 31 19th June 2009 07:50
Setup and Configuring DNS and BIND in Fedora 7 stevek_6 Installation/Configuration 5 13th November 2007 18:57
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 15:34
question bind secondary dns time exceeded rayit General 2 16th May 2006 09:15
DNS stuff (bind cfg and theory) Ovidiu Server Operation 28 6th March 2006 08:57

All times are GMT +2. The time now is 10:48.

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