Issue with sendmail -- ip6.arpa queries rejected, ip6.int works.
Gushi
google at gushi.org
Fri Dec 2 11:26:16 UTC 2005
Hey all --
I'm using the same zonefile in my sendmail configs for both ip6.int and
ip6.arpa (for the localhost ::1 entry)
ZONE FILE:
; From: @(#)localhost.rev 5.1 (Berkeley) 6/30/90
; $FreeBSD: src/etc/namedb/PROTO.localhost-v6.rev,v 1.1.2.1 2002/02/04
18:24:21 ume Exp $
;
; This file is automatically edited by the `make-localhost' script in
; the /etc/namedb directory.
;
$TTL 3600
@ IN SOA prime.gushi.org. root.prime.gushi.org. (
20050512 ; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS prime.gushi.org.
IN PTR localhost.gushi.org.
NAMED.CONF:
// RFC 3152
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"
{
type master;
file "/etc/namedb/m/localhost-v6.rev";
};
// RFC 1886 -- deprecated
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.INT"
{
type master;
file "/etc/namedb/m/localhost-v6.rev";
};
Here's what sendmail is telling me:
;; res_query(\[x00000000000000000000000000000001/128].ip6.arpa, 1, 12)
;; res_nmkquery(QUERY,
\[x00000000000000000000000000000001/128].ip6.arpa, IN, PTR)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44856
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; \[x00000000000000000000000000000001/128].ip6.arpa, type = PTR, class
= IN
;; Querying server (# 1) address = 127.0.0.1
;; new DG socket
;; wrong query name:
;; ->>HEADER<<- opcode: QUERY, status: FORMERR, id: 44856
;; flags: qr rd; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; timeout
;; Querying server (# 1) address = 127.0.0.1
;; wrong query name:
;; ->>HEADER<<- opcode: QUERY, status: FORMERR, id: 44856
;; flags: qr rd; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; timeout
;; res_query: send error
;;
res_query(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.int,
1, 12)
;; res_nmkquery(QUERY,
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.int,
IN, PTR)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44857
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; 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.int,
type = PTR, class = IN
;; Querying server (# 1) address = 127.0.0.1
;; new DG socket
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44857
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; 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.int,
type = PTR, class = IN
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.int.
1H IN PTR localhost.gushi.org.
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.int.
1H IN NS prime.gushi.org.
Any ideas why?
It's bind 9.3.1, FWIW
More information about the bind-users
mailing list