Reverse dns not working
Boris Mikhelis
borism78 at comcast.net
Thu Sep 19 19:17:00 UTC 2002
Hello everyone. I'm a bit new to the DNS world and am having trouble
with reverse dns. I'm using a FreeBSD system with Bind ver. 8. I'm
going to show the files in /etc/namedb shortly. I also substituted the
real Ips with 3.2.1.* and the real domain name with domain.com. In
the current format the only reverse dns that works is on 3.2.1.66 which
returns www.domain.com, I need help with getting reverse DNS to work
for 3.2.1.67, 3.2.1.68, and 3.2.1.70
I greatly appreciate all your help, Thanks a million.
Here are the files:
domain.com
___________
@ IN SOA ns2.domain.com. admin.ns2.domain.com. (
20020273 ; serial
10800 ; refresh
3600 ; retry
3600000 ; expire
86400 ) ; minimum
domain.com. IN NS ns2.domain.com.
domain.com. IN MX 10 ns2.domain.com.
localhost IN A 127.0.0.1
domain.com. IN A 3.2.1.66
ns2.domain.com. IN A 3.2.1.66
abra IN A 3.2.1.67
nc-gk1 IN A 3.2.1.68
nc-test IN A 3.2.1.70
mail IN CNAME domain.com.
radius IN CNAME ns2
phpmyadmin IN CNAME ns2
phpmyadmin2 IN CNAME abra
netsaint IN CNAME ns2
nctt IN CNAME ns2
ncst IN CNAME ns2
www IN CNAME ns2
smoochie IN CNAME abra
alex IN CNAME abra
________________________________________________________________________
________
named.conf
___________
options {
directory "/etc/namedb";
};
zone "."
{
type hint;
file "named.root";
};
zone "0.0.127.IN-ADDR.ARPA"
{
type master;
file "localhost.rev";
};
zone "1.2.3.in-addr-arpa"
{
type master;
file "1.2.3.in-addr-arpa";
};
zone "domain.com"
{
type master;
file "domain.com";
};
zone "anotherdomain.com"
{
type master;
file "anotherdomain.com";
};
________________________________________________________________________
_______
localhost.rev
_____________
; From: @(#)localhost.rev 5.1 (Berkeley) 6/30/90
; $FreeBSD: src/etc/namedb/PROTO.localhost.rev,v 1.6 2000/01/10 15:31:40
peter Exp $
;
; This file is automatically edited by the `make-localhost' script in
; the /etc/namedb directory.
;
$TTL 3600
@ IN SOA ncdb1.domain.com. root.ncdb1.domain.com. (
20020807 ; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS ncdb1.domain.com.
1 IN PTR localhost.domain.com.
________________________________________________________________________
_____________
less 1.2.3.in-addr-arpa
________________________
@ IN SOA ns2.domain.com. admin.domain.com. (
20020233 ; serial
10800 ; refresh
3600 ; retry
3600000 ; expire
86400 ) ; minimum
1.2.3.in-addr-arpa. IN NS ns2.domain.com.
66 IN PTR ns2.domain.com.
67 IN PTR dev1.domain.com.
68 IN PTR nc-gk1.domain.com.
70 IN PTR nc-test.domain.com.
More information about the bind-users
mailing list