LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 07: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, 06:00 PM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware
Posts: 575

Rep: Reputation: 155Reputation: 155
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 06: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 10:54 AM
Bind and reverse lookup, something ain't right. Sizam Linux - Networking 1 04-25-2005 07:51 PM
bind reverse lookup thesnaggle Linux - Software 1 03-11-2004 07:19 PM
Bind reverse lookup Kostko Linux - Networking 2 12-07-2002 10:06 AM
Cant get a reverse lookup in BIND to work phek Linux - Networking 2 10-23-2001 01:16 PM

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

All times are GMT -5. The time now is 04:39 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