Commit Graph

53 Commits

Author SHA1 Message Date
dougb
b49ed4eca3 Scot pointed out that the dynamic zone example didn't seem to "flow"
with the rest of the examples, so after discussion with him and gshapiro,
re-sort the examples, and add more comments to make things very obvious.

Also, divide the examples between example.{com|net|org} to make things
even more obvious, and use the same RFC 1918 block for all examples.

Pointed out by:	Scot W. Hetzel <hetzels@westbend.net>
2005-01-22 21:34:10 +00:00
ru
cec60429bb Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
gshapiro
8ed6cabf10 Create a separate directory for dynamic zones which is owned by the bind
user (for creation of the zone journal file).  This is separate from the
master/ directory for security.  Give an example dynamic zone in the
sample named.conf.

Approved by:	dougb
Noticed by:	Eivind Olsen <eivind at aminor.no>
MFC after:	1 week
2004-11-04 05:24:29 +00:00
ru
5db2b9d5b3 For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
dougb
c176604fce 1. Update the documentation references, and the warning about setting up
authoritative servers.

2. Add an IPv4 listen-on option for 127.0.0.1, which is appropriate
for the default use as a local resolver.

3. Add a commented out listen-on-v6 option.
2004-09-30 09:57:36 +00:00
dougb
7d517d0a4a Add a statistics-file directive 2004-09-29 03:49:35 +00:00
dougb
2f4ac8072d Fix some of the more egregious problems with this file:
1. Update text about later BINDs using a pseudo-random, unpriviliged
query port for UDP by default.

2. We are now running in a sandbox by default, with a dedicated dump
directory, so remove the stale comment.

3. The topology configuration is not for the faint of heart, so
remove the commented example.

4. Tighten up some language a bit.

5. s/secondary/slave/

6. No need for the example about a bind-owned directory for slave zones.

7. Change domain.com to example.com in the example, per RFC 2606.

8. Update the path for slave zones in the example.
	- Thanks to Scot Hetzel <swhetzel@gmail.com>

There is more work to do here, but this is an improvement.
2004-09-28 21:22:09 +00:00
dougb
a0c7847c5b Create a named chroot directory structure in /var/named, and use it
by default when named is enabled. Also, improve our default directory
layout by creating /var/named/etc/namedb/{master|slave} directories,
and use the former for the generated localhost* files.

Rather than using pax to copy device entries, mount devfs in the
chroot directory.

There may be some corner cases where things need to be adjusted,
but overall this structure has been well tested on a production
network, and should serve the needs of the vast majority of users.

UPDATING has instructions on how to do the conversion for those
with existing configurations.
2004-09-28 09:46:00 +00:00
schweikh
91f34482ca Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
dougb
7ad1c59903 Latest version of this file from InterNIC. This version updates the IP
address of b.root-servers.net, and various comments.
2004-01-29 16:24:30 +00:00
keramida
be3ac9dc01 Misc grammar, typo and wording fixes of comments.
PR:		docs/41034
Submitted by:	Chris Pepper <pepper@rockefeller.edu>
2003-02-07 20:58:38 +00:00
ume
7f8c6531d2 compliance with RFC3152.
PR:		standards/45557
Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk>
Approved by:	re
2002-11-26 07:55:44 +00:00
dougb
70d50c6e7f Import the latest hints file from Internic. The most important change
is that J has moved, however I'm sure you'll all be very disappointed
to hear that you can no longer retrieve this file via gopher.
2002-11-06 09:21:39 +00:00
ume
e3ed4352e4 Install PROTO.localhost-v6.rev.
Reported by:	Scott Allendorf <scott-allendorf@uiowa.edu>
Forgot by:	me (ume)
2002-02-06 04:46:07 +00:00
bde
acdb1166c1 Added this makefile. This is not attached to the build yet. I often
install parts of /etc manually and it helps to have a makefile for
each subdir even if the main makefile doesn't invoke it.
2002-01-30 09:27:03 +00:00
ume
fab7c109cf Do not taint ::/124 for localhost reverse table. 2002-01-22 17:22:41 +00:00
cjc
765a22d46d The named.conf file should refer to named.conf(5) in addition to
named(8) in the comments.

PR:		32459
Submitted by:	"Gary W. Swearingen" <swear@blarg.net>
MFC after:	2 days
2001-12-03 08:05:52 +00:00
kuriyama
40c6311b53 Invoke named with privilege of bind:bind.
Change pidfile location to /var/run/named/pid.
2001-08-23 13:34:45 +00:00
sheldonh
a58618001f Replace old-style "chown foo.bar" with orthodox "chown foo:bar". 2001-05-28 13:43:26 +00:00
ben
9ccd2574f6 FreeBSD doesn't run named in a sandbox by default, so change a comment so it
doesn't imply we do.
2001-01-16 20:57:18 +00:00
rwatson
d7f77b3ec0 o Add a PATH statement to the beginning of make-localhost, making it
work right when the administrator has modified their runtime environment
  in a manner not anticipated by our script.

Requested by:	Tom Maher <tardis@ece.cmu.edu>
2000-11-29 19:19:06 +00:00
ume
a74d1b19ed Add reverse lookup entry for ::1
Suggested by:	itojun
2000-07-07 17:20:23 +00:00
peter
08b92debde Sigh. RFC2038 and bind 8.2.2 have a slight variation of interpretation
of the SOA 'minimum' field.  Now it's necessary to define $TTL seperately
to shut it up.  Bind does reasonable things by default but it's annoying
still.

PR:		15834
Submitted by:	Daniel Lewart <d-lewart@uiuc.edu>
2000-01-10 15:31:40 +00:00
peter
e3c81c54e1 Add/adjust some $FreeBSD$ tags.
Noted by:	Doug <Doug@gorean.org>
1999-09-13 17:09:08 +00:00
peter
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
dillon
ef6bc7ee8c Add (commented out) directive and note regarding dumpfile location
when running in a sandbox.

Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
1998-12-23 06:06:13 +00:00
dillon
56a5135adc Since we do not pre-create /etc/namedb/s, add additional documentation
to the comments in named.conf to describe to the user how to create it.
    (named.conf does not use /etc/namedb/s by default anyway so us not
    pre-created it in the mtree does not hurt us terribly).
1998-12-02 19:59:24 +00:00
dillon
f312600f4d Reviewed by: freebsd-current, freebsd-security
Adjust rc.conf to run named in sandbox, adjust mtree to add /etc/namedb/s
    subdirectory (user bind, group bind) to hold secondaries, adjust
    comments in named.conf to reflect new secondary scheme.  (Note that
    core read-only zone files are left owned by root, increasing security even
    more).
1998-12-01 21:36:33 +00:00
brian
599fa37c05 Add Id keyword 1998-09-13 23:11:13 +00:00
peter
979207101d Delete some large chunks of trailing whitespace since it was making some
lines longer than 80 columns.
1998-05-11 11:26:28 +00:00
ache
ad9978bc4a Add new named configuration template and remove old template 1998-05-07 23:42:33 +00:00
max
3db440487a Bring in the latest (08/22/1997) version from the Internic. 1997-08-24 08:17:02 +00:00
fenner
592cfec5fa Make "make-localhost" Y2K safe by using "date +%Y" instead of "date +%y"
to pick the serial number.

PR:		misc/3465
Submitted by:	sjr1@flash.net (Stephen J. Roznowski)
1997-08-11 04:06:49 +00:00
eivind
cbb641c8ba Upgrade to latest version of named.root (from InterNIC).
PR:		conf/3642

Submitted by:	Josh Gilliam <soil@quick.net> (Well, suggestion.  Root file
from InterNIC)
1997-05-22 01:20:54 +00:00
joerg
957a487d40 Add some blurb about how to setup a secondary nameserver.
Reviewed by:	-hackers
1997-05-08 15:23:28 +00:00
ache
fc88fbca71 Increase Retry interval from 300 to 900 to shut named warning that
(300 < 900) maintainance interval
1997-05-01 21:02:37 +00:00
peter
f173325ac8 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
dg
7ce3c3e833 Updated to Jan 22, 1997 revision from the InterNIC. 1997-02-18 23:37:58 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
dg
6af948881b Updated to Nov 8, 1995 version from internic.net. 1996-01-31 11:23:00 +00:00
peter
c3f352d4ad This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
peter
ab124e78b0 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
julian
651f993a33 Obtained from: FTP.RS.INTERNIC.NET
The named.root file is out of date.. (well it was.. this fixes it..)
15,16c15,16
< ;       last update:    Aug 25, 1995
< ;       related version of root zone:   1995082500
---
> ;       last update:    Sep 1, 1995
> ;       related version of root zone:   1995090100
18,19c18,22
< .                        3600000  IN  NS    NS.INTERNIC.NET.
< NS.INTERNIC.NET.         3600000      A     198.41.0.4
---
> ;
> ; formerly NS.INTERNIC.NET
> ;
> .                        3600000  IN  NS    A.ROOT-SERVERS.NET.
> A.ROOT-SERVERS.NET.      3600000      A     198.41.0.4
>
1995-09-12 04:28:56 +00:00
wollman
762f88b9d5 Update to latest version of named.root from the Internic. This version
is the first one to name all root servers X.root-servers.net rather
than by their original names.

Obtained from: Internic Registration Services
1995-08-31 16:33:01 +00:00
rgrimes
541129ef5c Convert from using old root.cache to new named.root 1995-03-23 08:43:07 +00:00
rgrimes
ab6891174d This commit was generated by cvs2svn to compensate for changes in r7270,
which included commits to RCS files with non-trunk default branches.
1995-03-23 08:19:28 +00:00
rgrimes
24790a39c7 Import the official InterNIC Registration Services named.root file
on a vendor branch for easy updates.
Reviewed by:	phk
1995-03-23 08:19:28 +00:00
wollman
7f0f8722f6 Update root NS cache.
Delete bogus localhost.rev.
Add prototype localhost.rev and a script to create it automatically.
(NB to installl people: you should ask ``do you have a full-time connection
o the Internet?'', run this script, and enable named if the answer is
yes.)
1995-03-21 16:33:45 +00:00
wollman
91c26949d3 Commented out sortlist entry; most users aren't located at UCB and so
a different sortlist (if any) would be more appropriate.  Users should
configure manually.
1993-11-07 00:58:34 +00:00
wollman
dfc58e8b18 Updated to reflect current situation w.r.t. root name servers. 1993-11-07 00:54:21 +00:00