LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-08-2009, 06:57 PM   #1
yuguri
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
Unhappy [bind] reverse lookup for loopback ipv6 address


Hello Group,

My zone file has two records, '::1' and '::2' where I am able to resolve '::2' but not '::1'. Please refer to the configuration snippet below.

OS: Debian Lenny
software: bind-9.6.1-P1
zone configuration:

;
$TTL 86400
$ORIGIN 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa.
@ IN SOA apple.yakiringo.jp. hostmaster.yakiringo.jp. (
2009102800 ; Serial (YYYYMMDDVV)
28800 ; Refresh (8 hours)
1800 ; Retry (30 minitues)
604800 ; Expires (1 week)
43200) ; Negative cache (12 hours)
IN NS apple.yakiringo.jp.

; reserved: loopback
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR localhost.
2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR localhost2.

yuguri@apple:~$ host ::2
2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa domain name pointer localhost2.

yuguri@apple:~$ host ::1
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa has no PTR record

Any idea why 'host ::1' is returning 'has no PTR record' and 'host ::2' works just fine?

Regards,
Yuguri
 
Old 02-26-2011, 05:00 PM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware 14.1
Posts: 467

Rep: Reputation: 87
Include the following line in the options stanza in /etc/named.conf:

Quote:
options {
directory "/var/named";
disable-empty-zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA";
};
Chris

Last edited by ChrisAbela; 02-26-2011 at 05:04 PM.
 
  


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] bind reverse zone; no name with reverse lookup deadeyes Linux - Server 3 10-12-2009 09:54 AM
Bind and reverse lookup, something ain't right. Sizam Linux - Networking 1 04-25-2005 06:51 PM
bind reverse lookup thesnaggle Linux - Software 1 03-11-2004 06:19 PM
Bind reverse lookup Kostko Linux - Networking 2 12-07-2002 09:06 AM
Cant get a reverse lookup in BIND to work phek Linux - Networking 2 10-23-2001 12:16 PM


All times are GMT -5. The time now is 04:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration