Reverse DNS lookups
WebReactor Networks
bind at webreactor.net
Sat Feb 23 03:42:53 UTC 2002
I'll make it easy for you, but RTFM (Read The Fine Manual, or Fine RFC in
this case) anyway; I might have made a mistake.
;
; ------ Begin db.217.8.136 ------
;
$TTL 604800
@ IN SOA yourdomain.tld. hostmaster.yourdomain.tld. (
200202060 ; Serial number
28800 ; Refresh after (seconds)
7200 ; Retry after (seconds)
604800 ; Expire after (seconds)
86400 ; Negative Cache TTL (seconds)
)
; Nameserver entries
IN NS ns1.yourdomain.tld.
;
; Host Entries
1 IN PTR host1.yourdomain.tld.
2 IN PTR host2.yourdomain.tld.
3 IN PTR host3.yourdomain.tld.
4 IN PTR host4.yourdomain.tld.
;
; ...where host1's IP address is 217.8.136.1, and so on
;
; ------ End db.217.8.136 ------
;
In named.conf...
zone "136.8.217.in-addr.arpa" {
type master;
file "db.217.8.136";
};
- John R. S.
----------
From: "Christian Opsahl" <copsahl at online...no>
Newsgroups: comp.protocols.dns.bind
Date: Sat, 23 Feb 2002 01:23:13 GMT
To: comp-protocols-dns-bind at isc.org
Subject: Reverse DNS lookups
I want to administrate my own reverse, but im a bit out of my league here.
I have 4 ip adresses which my ISP is administrating the reverse for, but i
wanna do this my self. My ISP can forward this to me but, I dont know how to
set up reverse for ip adresses that is`nt a part of a class C net.
Here is an example on how it looks like:
217.8.136.xx
217.8.136.yy
subnet: 255.255.255.128
How should the input in my named.conf file be? And how would my zone file
for these ip adresses look like.
---
Christian
More information about the bind-users
mailing list