mail us  |  mail this page

contact us
training  | 
tech stuff  | 

BIND 9 Support

DNS Sample Reverse MAP Zone File

This file (192.168.0.rev) is the sample reverse map zone file used throughout this Chapter and has the following characteristics.

  1. Two name servers are used both internal (ns1 and ns2) to the domain
  2. The mail service is internal to the domain
  3. FTP and WWW services are provided by the same host
  4. There are two hosts named bill and fred
  5. The host addresses are all in the class C private address range 192.168.0.0 (a slightly artificial case)

The Resource Records are all defined separately.

$TTL	86400 ; 24 hours could have been written as 24h
$ORIGIN 0.168.192.IN-ADDR.ARPA.
@  1D  IN	 SOA ns1.example.com.	hostmaster.example.com. (
			      2002022401 ; serial
			      3H ; refresh
			      15 ; retry
			      1w ; expire
			      3h ; minimum
			     )
; Name servers for the zone - both out-of-zone - no A RRs required
       IN  NS ns1.example.com.
       IN  NS ns2.smokeyjoe.com.
; server host definitions
1      IN  PTR    ns1.example.com.
5      IN  PTR    ns2.example.com.  
2      IN  PTR    www.example.com.            
; non server domain hosts
3      IN  PTR    bill.example.com.  
4      IN  PTR    fred.example.com.   

Hosts defined with CNAME Resource Records can have PTR records associated. Host ftp.example.com is CNAMEd in the forward map to host 192.168.0.2 we just happened to only map the www.example.com using a PTR RR for no very god reason. We could have added

2      IN  PTR    ftp.example.com.

if we had wanted to define both.

Up Arrow



Problems, comments, suggestions, corrections (including broken links) or something to add? Please take the time from a busy life to 'mail us' (at top of screen), the webmaster (below) or info-support at zytrax. You will have a warm inner glow for the rest of the day.

Pro DNS and BIND by Ron Aitchison

Contents

tech info
guides home
dns articles
intro
contents
1 objectives
big picture
2 concepts
3 reverse map
4 dns types
quickstart
5 install bind
6 samples
reference
7 named.conf
8 zone records
operations
9 howtos
10 tools
11 trouble
programming
12 bind api's
security
13 dns security
bits & bytes
15 messages
resources
notes & tips
registration FAQ
dns resources
dns rfcs
change log

Creative Commons License
This work is licensed under a Creative Commons License.

If you are happy it's OK - but your browser is giving a less than optimal experience on our site. You could, at no charge, upgrade to a W3C STANDARDS COMPLIANT browser such as Firefox

Search

web zytrax.com

Share

Icons made by Icomoon from www.flaticon.com is licensed by CC 3.0 BY
share page via facebook tweet this page

Page

email us Send to a friend feature print this page Display full width page Decrease font size Increase font size

Resources

Systems

FreeBSD
NetBSD
OpenBSD
DragonFlyBSD
Linux.org
Debian Linux

Software

LibreOffice
OpenOffice
Mozilla
GitHub
GNU-Free SW Foundation
get-dns

Organizations

Open Source Initiative
Creative Commons

Misc.

Ibiblio - Library
Open Book Project
Open Directory
Wikipedia

Site

CSS Technology SPF Record Conformant Domain
Copyright © 1994 - 2024 ZyTrax, Inc.
All rights reserved. Legal and Privacy
site by zytrax
hosted by javapipe.com
web-master at zytrax
Page modified: January 20 2022.