Commit graph

6996 commits

Author SHA1 Message Date
Mark Andrews
f4fb3dc516 remove extaneous semicolon 2003-09-19 14:35:03 +00:00
Mark Andrews
0345669869 remove extaneous semicolon 2003-09-19 14:34:10 +00:00
Mark Andrews
62091d9b54 wrong element delonly -> rootexclude 2003-09-19 13:27:18 +00:00
Mark Andrews
03c78c0671 wrong element delonly -> rootexclude 2003-09-19 13:26:35 +00:00
Mark Andrews
2964e14cf3 rootexlude -> rootexclude
free and initialise rootdelonly & rootexclude
buy -> by
2003-09-19 13:20:05 +00:00
Mark Andrews
68a918e038 rootexlude -> rootexclude
free and initialise rootdelonly & rootexclude
buy -> by
2003-09-19 13:17:21 +00:00
Mark Andrews
069d5cb493 1510. [func] New view option "root-delegation-only". Apply
delegation-only check to all TLDs and root.
                        Note there are some TLDs that are NOT delegation
                        only (e.g. DE and MUSEUM) these can be excluded
                        from the checks buy using exclude.

                        root-delegation-only exclude { "DE"; "MUSEUM"; };
2003-09-19 12:44:39 +00:00
Mark Andrews
0b1da8124c 1510. [func] New view option "root-delegation-only". Apply
delegation-only check to all TLDs and root.
                        Note there are some TLDs that are NOT delegation
                        only (e.g. DE and MUSEUM) these can be excluded
                        from the checks buy using exclude.

                        root-delegation-only exclude { "DE"; "MUSEUM"; };
2003-09-19 12:39:49 +00:00
Mark Andrews
d6d893e17b 1509. [bug] Hint zones should accept delegation-only. Forward
zone should not accept delegation-only.

1508.   [bug]           Don't apply delegation-only checks to answers from
                        forwarders.

1507.   [bug]           Handle BIND 8 style returns to NS queries to parents
                        when making delegation-only checks.

1506.   [bug]           Wrong return type for dns_view_isdelegationonly().

1505.   [bug]           Uninitialised rdataset in sdb. [RT #8750]

1504.   [func]          New zone type "delegation-only".
2003-09-19 06:20:55 +00:00
Mark Andrews
da34d92aee 1509. [bug] Hint zones should accept delegation-only. Forward
zone should not accept delegation-only.

1508.   [bug]           Don't apply delegation-only checks to answers from
                        forwarders.

1507.   [bug]           Handle BIND 8 style returns to NS queries to parents
                        when making delegation-only checks.
2003-09-19 05:53:28 +00:00
Mark Andrews
20d90a3753 1506. [bug] Wrong return type for dns_view_isdelegationonly(). 2003-09-17 15:01:26 +00:00
Mark Andrews
fefe1106d9 1505. [bug] Uninitaliased rdataset is sdb. [RT #8750] 2003-09-17 05:34:55 +00:00
Mark Andrews
4607e7a9b8 1504. [func] New zone type "delegation-only". 2003-09-17 05:24:43 +00:00
Mark Andrews
cc083bb703 sizeof style 2003-09-11 01:49:18 +00:00
Mark Andrews
57b54234cd sizeof style 2003-09-11 00:18:18 +00:00
Mark Andrews
dac5207898 1468. [func] Internal zones are nolonger for 'rndc status'.
[RT #4706]
2003-09-10 05:23:08 +00:00
Mark Andrews
761b909ee7 1430. [port] linux: IPv6 interface scanning support.
1362.  [bug]           remove IFF_RUNNING test when scanning interfaces.

1300.  [port]          Compaq Trucluster support.

1292.  [func]          Enable IPv6 support when using ioctl style interface
                       scanning and OS supports SIOCGLIFADDR using struct
                       if_laddrreq.

1065.  [func]          Runtime support to select new / old style interface
                       scanning using ioctls.

1024.  [port]          Compilation failed on HP-UX 11.11 due to
                       incompatible use of the SIOCGLIFCONF macro
                       name. [RT #1831]
2003-09-10 05:12:54 +00:00
Mark Andrews
50d044736d 1065. [func] Runtime support to select new / old style interface
scanning using ioctl
2003-09-02 04:51:12 +00:00
Mark Andrews
7282bc47d1 signed vs unsigned 2003-09-02 04:13:43 +00:00
Mark Andrews
827deeb399 deconst 2003-09-02 02:25:18 +00:00
Mark Andrews
8ec7cf74bf Only fall back to TCP for slave zones if UDP refresh queries fail.
[RT #8253]
2003-09-02 02:21:51 +00:00
Mark Andrews
bf4c32bd2d 1475. [port] Probe for old sprintf(). 2003-09-02 02:10:51 +00:00
Mark Andrews
26fbc6cb34 1474. [port] Provide strtoul() and memmove() for platforms
without them.
2003-09-02 01:49:48 +00:00
Mark Andrews
4dcb49e971 pullups: misc. 2003-09-02 01:24:20 +00:00
Mark Andrews
3e0672d431 pullup:
zone->masterscnt was being zero'd rather than zone->curmaster = 0
2003-09-02 01:19:45 +00:00
Mark Andrews
fd6027f774 pullup:
use-alt-transfer-source when the master refused soa queries. [RT #5528]
2003-09-02 01:14:27 +00:00
Mark Andrews
d6bdfb9aef 1467. [func] $GENERATES now supports optional class and ttl. 2003-09-02 01:11:37 +00:00
Mark Andrews
dd8e7329b1 pullup:
1458.   [cleanup]       sprintf() -> snprintf().
2003-08-27 07:22:41 +00:00
Mark Andrews
6d9ed85949 1457. [port] Provide strlcat() and strlcpy() for platforms without
them.
2003-08-27 06:44:02 +00:00
Mark Andrews
75e4f7664f 1455. [bug] <netaddr> missing from server grammar in
doc/misc/options. [RT #5616]
2003-08-27 05:46:32 +00:00
Mark Andrews
6733c0e6dd add missing files 2003-08-27 03:16:22 +00:00
Mark Andrews
a84b20bbb0 1454. [port] Use getifaddrs() if available for interface scanning.
--disable-getifaddrs to override.  Glibc currently
                        has a getifaddrs() that does not support IPv6.
                        Use --enable-getifaddrs=glibc to force the use of
                        this version under linux machines.
2003-08-27 03:15:26 +00:00
Mark Andrews
af1b2d4abb misc. pullups 2003-08-27 02:33:42 +00:00
Mark Andrews
e0d0647c9d pullup:
alt-transfer-source-v4 -> alt-transfer-source
2003-08-27 02:23:39 +00:00
Mark Andrews
1c2bf5f1cb 1446. [func] Implemented undocumented alternate transfer sources
from BIND 8.  See use-alt-transfer-source,
                        alt-transfer-source-v4 and alt-transfer-source-v6.
2003-08-27 02:13:50 +00:00
Mark Andrews
7cf2a51f0c 1443. [func] Masters lists can now be specified and referenced
in zone masters clauses and other masters lists.
2003-08-27 01:53:06 +00:00
Mark Andrews
2d7ca109c5 1442. [func] New fuctions for manipulating port lists:
dns_portlist_create(), dns_portlist_add(),
                        dns_portlist_remove(), dns_portlist_match(),
                        dns_portlist_attach() and dns_portlist_detach().

1441.   [func]          It is now possible to tell dig to bind to a specific
                        source port.

1440.   [func]          It is now possible to tell named to avoid using
                        certian source ports (avoid-v4-udp-ports,
                        avoid-v6-udp-ports).
2003-08-27 01:39:27 +00:00
Mark Andrews
4ddffdf9be version.h 2003-08-27 01:27:34 +00:00
Mark Andrews
0a26225288 1436. [func] dns_zonemgr_resumexfrs() can be used to restart
stalled transfers.
2003-08-26 07:54:22 +00:00
Mark Andrews
7361bfec13 1433. [bug] named could trigger a REQUIRE failure if it could
not get a file descriptor when attempting to write
                        a master file. [RT #4347]
2003-08-26 06:01:17 +00:00
Mark Andrews
19548853e9 1432. [func] The advertised EDNS UDP buffer size can now be set
via named.conf (edns-udp-size).
2003-08-26 05:56:18 +00:00
Mark Andrews
9ea4e48caf pullup:
engine pointer not set to NULL on free.
2003-08-26 05:38:47 +00:00
Mark Andrews
f44cdbe5b9 spelling 2003-08-26 05:32:50 +00:00
Mark Andrews
c4dc4fd856 1417. [func] ID.SERVER/CHAOS is now a built in zone.
See "server-id" for how to configure.
2003-08-26 04:34:17 +00:00
Mark Andrews
4154634631 1412. [func] You can now specify servers to be tried if a nameserver
has IPv6 address and you only support IPv4 or the
                        reverse. See dual-stack-servers.
2003-08-26 03:24:14 +00:00
Mark Andrews
388672fb80 pullup misc. changes 2003-08-25 05:49:57 +00:00
Mark Andrews
5874ad9039 cygwin support 2003-08-25 05:40:31 +00:00
Mark Andrews
43e2d66621 1405. [func] Use arc4random() if available. 2003-08-25 05:06:11 +00:00
Mark Andrews
c3fedc9282 1402. [cleanup] A6 has been moved to experimental and is no longer
fully supported.
2003-08-25 04:16:27 +00:00
Mark Andrews
68b63c87ea check for the existance of if_nametoindex(). 2003-08-25 03:31:57 +00:00
Mark Andrews
4d79da8ba0 1502. [bug] nsupdate: adjust timeouts for UPDATE requests over TCP. 2003-08-25 02:42:16 +00:00
Mark Andrews
0146abd893 1501. [func] Allow TCP queue length to be specified via
named.conf, tcp-listen-queue.
2003-08-25 02:33:14 +00:00
Mark Andrews
719e3ac95f pullup:
merge rt3598 (code by marka, pullup by me)
2003-08-25 01:44:12 +00:00
Mark Andrews
fb118b8418 1394. [func] It is now possible to check if a particular element is
in a acl.  Remove duplicate entries from the localnets
                        acl.

1393.   [port]          Bind to individual IPv6 interfaces if IPV6_IPV6ONLY
                        is not available in the kernel to prevent accidently
                        listening on IPv4 interfaces.
2003-08-22 06:24:24 +00:00
Mark Andrews
6627b5242f pullup:
u_int32_t -> isc_uint32_t
2003-08-22 06:10:23 +00:00
Mark Andrews
763f9d9836 pullup:
u_int32_t -> isc_uin32_t
2003-08-22 06:09:25 +00:00
Mark Andrews
8f570b8b09 pullup:
u_int#_t -> isc_uint#_t
2003-08-22 06:08:37 +00:00
Mark Andrews
3420dc3b56 pullup:
isc_netaddr_fromsockaddr failed to set zone for AF_INET
2003-08-22 06:07:33 +00:00
Mark Andrews
370732d189 1391. [func] Add support for IPv6 scoped addresses in named. 2003-08-22 05:17:15 +00:00
Mark Andrews
20a6f010fb pullup:
remove repeated "keep" in comment.
2003-08-22 03:54:45 +00:00
Mark Andrews
1c273a7b04 1383. [func] Track the serial number in a IXFR response and log if
a mismatch occurs.  This is a more specific error than
                        "not exact". [RT #3445]
2003-08-22 03:22:33 +00:00
Mark Andrews
b3367d4b0e pullup:
report type and class when logging failures via add_bad
2003-08-22 01:49:59 +00:00
Mark Andrews
38ebaa15d1 pullup:
add missing whitespace if fprintf
2003-08-21 07:38:42 +00:00
Mark Andrews
56ccb82277 pullup:
When a lookup resulted in an nxrrset match of a wildcard, the wildcard
attribute wasn't set on foundname.
2003-08-21 06:48:26 +00:00
Mark Andrews
c28e1b5678 1380. [func] 'rndc recursing' dump recursing queries to
'recursing-file = "named.recursing";'.
2003-08-21 06:17:57 +00:00
Mark Andrews
f0d2117bcc 1379. [func] 'rndc stats' now reports tcp and recursion quota
states.

1378.   [func]          Improved positive feedback for 'rndc {reload|refresh}.

1377.   [func]          dns_zone_load{new}() now reports if the zone was
                        loaded, queued for loading to up to date.

1376.   [func]          New function dns_zone_logc() to log to specified
                        category.
2003-08-21 05:19:21 +00:00
Mark Andrews
9098582352 1375. [func] 'rndc dumpdb' now dumps the adb cache along with the
data cache.
2003-08-21 05:10:53 +00:00
Mark Andrews
f9192a3940 1374. [func] dns_adb_dump() now logs the lame zones associated
with each server.
2003-08-21 04:47:43 +00:00
Mark Andrews
3fe687adf2 pullup:
TRIEDFIND test had wrong sence
2003-08-21 03:50:21 +00:00
Mark Andrews
2b9f05032c pullup:
change many debug(3) to debug(1), and several debug(*) to info
2003-08-21 02:50:34 +00:00
Mark Andrews
4c98b4d5b2 pullup:
Rework previous slightly, to only signal if we were using WAITUNTIL() and we
actually have a due time
2003-08-21 02:15:50 +00:00
Mark Andrews
4bdd141eef pullup:
When scheduling a new timer, check to see if we missed our last wakeup
by more than 15 seconds.  If we have, SIGNAL().
2003-08-21 02:05:47 +00:00
Mark Andrews
05e00f411b pullup:
add a new log module, timer
2003-08-21 02:02:04 +00:00
Mark Andrews
013781e021 pullup:
add isc_timer_gettype() (useful in debugging code) and a temporary hack of isc_
timermgr_poke
2003-08-20 07:13:06 +00:00
Mark Andrews
143a27871d pullup:
rename 'worklimited' to 'idle'
2003-08-20 06:43:21 +00:00
Mark Andrews
80b0668c88 pullup:
add goo for error checking mutexes on (at least) tru64
2003-08-20 06:40:57 +00:00
Mark Andrews
6cb94e593b pullup:
dns_zone_logc() log to category
raise deferred transfers to INFO level and log to xfer-in.
2003-08-20 06:37:17 +00:00
Mark Andrews
96151e740c pullup:
'\0' terminate code.
All reasons for marking a server bad should be logged to the lame channel.
2003-08-20 06:02:54 +00:00
Mark Andrews
984d0d58e9 1368. [func] remove support for bitstring labels. 2003-08-20 05:33:18 +00:00
Mark Andrews
d8669da83c 1367. [func] Use response times to select forwarders. 2003-08-20 04:52:46 +00:00
Mark Andrews
9fa13373e5 1220. [func] Support for APL rdata type. 2003-08-20 04:47:23 +00:00
Mark Andrews
c56defb98c 1358. [func] log the reason for rejecting a server when resolving
queries.
2003-08-19 07:40:20 +00:00
Mark Andrews
646f21b5bd 1358. [func] log the reason for rejecting a server when resolving
queries.
2003-08-19 07:26:09 +00:00
Mark Andrews
e6bb021434 1354. [bug] Fix DNSSEC wildcard proof for CNAME/DNAME. 2003-08-19 04:11:24 +00:00
Mark Andrews
c7c25e99aa 1344. [func] Log if the serial number on the master has gone
backwards.
                        If you have multiple machines specified in the masters
                        clause you may want to set 'multi-master yes;' to
                        suppress this warning.
2003-08-19 03:11:19 +00:00
Mark Andrews
326428fcf8 1342. [func] Log remote address with TCP dispatch failures. 2003-08-19 02:53:57 +00:00
Mark Andrews
d735ed8b1f 1341. [func] Allow a rate limiter to be stalled. 2003-08-19 02:49:00 +00:00
Mark Andrews
d930eaf77b 1331. [func] Generate DNSSEC wildcard proofs. 2003-08-18 07:35:54 +00:00
Mark Andrews
2bb0b0009e 1332. [func] Report the current serial with periodic commits when
rolling forward the journal.
2003-08-18 07:10:11 +00:00
Mark Andrews
eb35881767 1329. [func] named-checkzone will now check if nameservers that
appear to be IP addresses.  Available modes "fail",
                        "warn" (default) and "ignore" the results of the
                        check.
2003-08-18 05:56:58 +00:00
Mark Andrews
d8cdda8e1d pullup:
isc_modules[2] not isc_modules[3]
2003-08-15 04:03:56 +00:00
Mark Andrews
f87cbb4806 dd "interface" module 2003-08-15 04:02:46 +00:00
Mark Andrews
7b1256eb34 Protect both the socket and fifo tests with #ifdef's. 2003-08-15 03:11:45 +00:00
Mark Andrews
bb4b8c0c53 1309. [func] Log that a zone transfer was covered by a TSIG. 2003-08-15 03:09:13 +00:00
Mark Andrews
b1b705a049 pullup:
uninitalised variable (minimize difference with HEAD).
2003-08-15 03:01:30 +00:00
Mark Andrews
c107aac084 1304. [func] New function: dns_zone_name().
1303.   [func]          Option 'flush-zones-on-shutdown <boolean>;'.
2003-08-15 02:49:35 +00:00
Mark Andrews
34d527bf02 pullup:
mask of mode format bits and compare result
2003-08-15 02:14:57 +00:00
Mark Andrews
364237ab5f 1293. [func] Entropy can now be retrieved from EGDs. [RT #2438] 2003-08-15 02:11:28 +00:00
Mark Andrews
40803cab47 1291. [func] Enable IPv6 support when using sysctl style interface
scanning.
2003-08-15 02:07:45 +00:00
Mark Andrews
b3301d9e99 pullup:
check location before dereference
2003-08-15 01:54:07 +00:00