mail us  |  mail this page

contact us
training  | 
tech stuff  | 
[an error occurred while processing this directive]

BIND statement layout variations

BIND is very picky about opening and closing brackets/braces, semicolons and all the other separators defined in the formal statement syntax. The literature contains various ways to layout statements. The variations, while they may be confusing, are simply attempts by the authors to minimise the potential for errors, they have no other significance. Use any method you feel comfortable with. The following zone clause layouts are all equivalent and acceptable to BIND.

// dense single line
zone "example.com" {type slave; file "slave.example.com"; masters {10.0.0.1;};};
// lots of lines 
zone "example.com" {
   type slave; 
   file "slave.example.com"; 
   masters {10.0.0.1;};
   };
// spot the difference
zone "example.com" {
   type slave; 
   file "slave.example.com"; 
   masters {10.0.0.1;}; };


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

share page via facebook tweet this page

Page

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

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 - 2016 ZyTrax, Inc.
All rights reserved. Legal and Privacy
site by zytrax
Hosted by super.net.sg
web-master at zytrax
Page modified: October 21 2015.