Up to [local] / src / usr.bin / dig
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 3 16:00:11 2022 UTC (23 months, 1 week ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
HEAD
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored) to selected 1.9 (colored)
use sys/types.h to get at __dead. Pointed out by & OK deraadt
Revision 1.17 / (download) - annotate - [select for diffs], Tue Sep 15 11:47:42 2020 UTC (3 years, 8 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8
Changes since 1.16: +1 -1 lines
Diff to previous 1.16 (colored) to selected 1.9 (colored)
We have sockaddr_storage these days, get rid of isc_sockaddr_t. OK beck, "beautiful" deraadt
Revision 1.16 / (download) - annotate - [select for diffs], Mon Sep 14 08:40:43 2020 UTC (3 years, 8 months ago) by florian
Branch: MAIN
Changes since 1.15: +72 -72 lines
Diff to previous 1.15 (colored) to selected 1.9 (colored)
Mechanically replace isc_boolean_t with int. OK deraadt
Revision 1.15 / (download) - annotate - [select for diffs], Mon Sep 14 08:37:09 2020 UTC (3 years, 8 months ago) by florian
Branch: MAIN
Changes since 1.14: +2 -5 lines
Diff to previous 1.14 (colored) to selected 1.9 (colored)
Rewrite isc_time_microdiff() as uelapsed() and put it directly into dig sources, lets us get rid of unix/time.{c,h} OK deraadt
Revision 1.14 / (download) - annotate - [select for diffs], Tue Feb 25 17:01:56 2020 UTC (4 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE,
OPENBSD_6_7
Changes since 1.13: +5 -1 lines
Diff to previous 1.13 (colored) to selected 1.9 (colored)
traditional nslookup would not fatal if the server name was undiscoverable. change lower level code to return an error, and bump the fatal for host(1) upwards, then tweak nslookup to work nicely
Revision 1.13 / (download) - annotate - [select for diffs], Mon Feb 24 17:57:54 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.12: +0 -1 lines
Diff to previous 1.12 (colored) to selected 1.9 (colored)
Stop generating rdatastruct.h and put the dns_rdata_* structs for cname, ns, soa, and tsig directly into rdata.h
Revision 1.12 / (download) - annotate - [select for diffs], Mon Feb 24 17:45:25 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.9 (colored)
We only need to create cname, ns, soa and tsig structs. OK jsg
Revision 1.11 / (download) - annotate - [select for diffs], Mon Feb 24 17:43:52 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored) to selected 1.9 (colored)
We only need to free cname, ns, soa and tsig structs. OK jsg
Revision 1.10 / (download) - annotate - [select for diffs], Mon Feb 24 13:49:38 2020 UTC (4 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.9: +3 -0 lines
Diff to previous 1.9 (colored)
remove some uneeded includes
Revision 1.9 / (download) - annotate - [selected], Fri Feb 21 07:44:50 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)
Read CLOCK_MONOTONIC when we need timestamps to compare and use time(3) for the wall clock. prodding & OK jung
Revision 1.8 / (download) - annotate - [select for diffs], Tue Feb 18 18:11:27 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.7: +0 -1 lines
Diff to previous 1.7 (colored) to selected 1.9 (colored)
Get rid of ISC_MAGIC and ISC_MAGIC_VALID macros. While pulling on that it turns out we can / need git rid of a isc_task -> isc__task, isc_taskmgr -> isc__taskmgr, isc_timer -> isc__timer and isc_socket -> isc__socket indirection. OK millert
Revision 1.7 / (download) - annotate - [select for diffs], Sun Feb 16 21:11:02 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored) to selected 1.9 (colored)
clock_gettime cannot fail if called correctly; unravel TIME_NOW indirections. (I'm not convinced that we always want to read CLOCK_REALTIME, in fact we probably want to almost always read CLOCK_MONOTONIC.) OK millert
Revision 1.6 / (download) - annotate - [select for diffs], Sun Feb 16 18:05:08 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored) to selected 1.9 (colored)
Replace isc_time_t and interval_t with struct timespec. Input & OK millert
Revision 1.5 / (download) - annotate - [select for diffs], Fri Feb 14 13:41:37 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) to selected 1.9 (colored)
Fix host(1) when providing a server to query. host would use the name starting at the 2nd letter as the server argument. Found the hard way by dhill. While here restore previous behaviour of ignoring additional commands after the server but use the server in that case.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 13 19:29:47 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.3: +1 -0 lines
Diff to previous 1.3 (colored) to selected 1.9 (colored)
+trace has the RD bit cleared however it asks the nameserver from /etc/resolv.conf for a list of root name servers. Arguably corectly configured recursive nameservers should REFUSE to answer this question to prevent cache snooping. Upstream fixed this after the license change by sending the first query with RD set. We go a different route, built in a list of root name servers and ask them. Otherwise known as a priming query. This way +trace does not depend on any localy configured nameserver in /etc/resolv.conf "I have no other quibbles" deraadt@ input & OK sthen
Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 13 08:16:32 2020 UTC (4 years, 3 months ago) by florian
Branch: MAIN
Changes since 1.2: +0 -7 lines
Diff to previous 1.2 (colored) to selected 1.9 (colored)
unifdef USEINITALWS, was never defined
Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 11 23:26:11 2020 UTC (4 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.1: +0 -3 lines
Diff to previous 1.1 (colored) to selected 1.9 (colored)
remove uneeded #include lines ok florian@
Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 7 09:58:52 2020 UTC (4 years, 4 months ago) by florian
Branch: MAIN
Diff to selected 1.9 (colored)
Move dig(1) and needed DNS libraries into it's own source directory in usr.bin/dig. From the beginning when we started to remove unneeded nameserver code, it was our goal to extract dig functionality from the bind sources, for everyone's benefit as this is easier to reason about. In total we removed about 2/3 or over 300.000 lines of code. We kept the lib/ subdirectory layout but moved the content of bin/ to the top from the old bind source directory. Previous sources and history can be found in the src/usr.sbin/bind Attic. With & OK deraadt Proposed directory layout sounds good to sthen