Revision 13971,
1.6 KB
checked in by ghudson, 25 years ago
(diff) |
Work around a denial of service attack.
|
Rev | Line | |
---|
[13971] | 1 | // $Id: named.conf,v 1.5 1999-11-12 04:35:16 ghudson Exp $ |
---|
[11502] | 2 | |
---|
| 3 | // Athena named configuration file |
---|
| 4 | |
---|
| 5 | // If you need to make local records, this is how: |
---|
| 6 | // |
---|
| 7 | // * Add a zone entry to the end of this file: |
---|
| 8 | // |
---|
| 9 | // zone "foo.bar.baz" { |
---|
| 10 | // type master; |
---|
| 11 | // file "named.foo"; |
---|
| 12 | // }; |
---|
| 13 | // |
---|
| 14 | // where foo.bar.baz is the local record you want to override |
---|
| 15 | // and named.foo is a filename. For example: |
---|
| 16 | // |
---|
| 17 | // zone "zephyr.sloc.ns.athena.mit.edu" { |
---|
| 18 | // type master; |
---|
| 19 | // file "named.zephyr"; |
---|
| 20 | // }; |
---|
| 21 | // |
---|
| 22 | // * In /etc/named.foo, put: |
---|
| 23 | // |
---|
| 24 | // @ IN SOA yourhostname.mit.edu. yourusername.mit.edu. ( |
---|
| 25 | // 1 ; Serial |
---|
| 26 | // 3600 ; Refresh 1 hour |
---|
| 27 | // 300 ; Retry 5 minutes |
---|
| 28 | // 2419200 ; Expire 28 days |
---|
| 29 | // 3600000 ; Minimum 1000 hours |
---|
| 30 | // ) |
---|
| 31 | // NS yourhostname.mit.edu. |
---|
| 32 | // |
---|
| 33 | // substituting your hostname for "yourhostname" and your |
---|
| 34 | // username for "yourusername". Make sure there is no |
---|
| 35 | // whitespace before the '@'. After the SOA record, put the |
---|
| 36 | // local record(s) themselves, without specifying the name, |
---|
| 37 | // e.g.: |
---|
| 38 | // |
---|
| 39 | // TXT "erato.mit.edu" |
---|
| 40 | // TXT "arilinn.mit.edu" |
---|
| 41 | // |
---|
| 42 | // * Run "ndc reload". |
---|
| 43 | |
---|
| 44 | options { |
---|
| 45 | directory "/etc"; |
---|
| 46 | pid-file "/var/athena/named.pid"; |
---|
| 47 | dump-file "/var/athena/named_dump.db"; |
---|
[13971] | 48 | files 255; |
---|
[11502] | 49 | }; |
---|
| 50 | |
---|
| 51 | zone "." { |
---|
| 52 | type hint; |
---|
| 53 | file "named.root"; |
---|
| 54 | }; |
---|
| 55 | |
---|
[12929] | 56 | zone "." hs { |
---|
| 57 | type stub; |
---|
| 58 | masters { |
---|
| 59 | 18.72.0.3; |
---|
| 60 | 18.70.0.160; |
---|
| 61 | 18.71.0.151; |
---|
| 62 | }; |
---|
| 63 | file "/var/athena/named.hs"; |
---|
| 64 | }; |
---|
| 65 | |
---|
[11502] | 66 | zone "mit.edu" { |
---|
| 67 | type stub; |
---|
| 68 | masters { |
---|
| 69 | 18.72.0.3; |
---|
| 70 | 18.70.0.160; |
---|
| 71 | 18.71.0.151; |
---|
| 72 | }; |
---|
| 73 | file "/var/athena/named.mit"; |
---|
| 74 | }; |
---|
| 75 | |
---|
| 76 | zone "localhost" { |
---|
| 77 | type master; |
---|
| 78 | file "named.localhost"; |
---|
| 79 | }; |
---|
| 80 | |
---|
| 81 | zone "1.0.0.127.in-addr.arpa" { |
---|
| 82 | type master; |
---|
| 83 | file "named.localhost.rev"; |
---|
| 84 | }; |
---|
| 85 | |
---|
Note: See
TracBrowser
for help on using the repository browser.