Here's an example I found.  This would be for the 1.2.3.0 subnet.  Host
one.example.com is 1.2.3.1.  :

In your named.conf file:

zone  "3.2.1.in-addr.arpa" { 
        type master; 
        file  "3.2.1.in-addr.arpa.zone"; 
};

And the zone file:

$TTL 86400
@       IN      SOA     @       root.localhost (
                        2 ; serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire 
                        86400 ; ttk
                        )


@       IN      NS      ns.example.com.

1       IN      PTR     one.example.com.
2       IN      PTR     two.example.com.

Hope that helps.

--Brian

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Nelis
Lamprecht
Sent: Wednesday, October 16, 2002 4:37 AM
To: [EMAIL PROTECTED]
Subject: Bind9 - reverse dns ?



Hi People,

I've been Googling around trying to find an example to setup reverse DNS
on 
my server but have had no luck. I've read through the administrators
guide 
also but there doesn't seem to be any clear info on setting this up.
Hence 
I have resorted once again to the faithful FreeBSD mail list. Please
could 
someone point me in the right direction. I'm using 4.6Stable with Bind9.

Many Thanks,
Nelis


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to