Up to [local] / src / usr.bin / dig
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.13 / (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_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,
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,
HEAD
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)
We have sockaddr_storage these days, get rid of isc_sockaddr_t. OK beck, "beautiful" deraadt
Revision 1.12 / (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.11: +67 -67 lines
Diff to previous 1.11 (colored)
Mechanically replace isc_boolean_t with int. OK deraadt
Revision 1.11 / (download) - annotate - [select for diffs], Sun Sep 13 09:33:39 2020 UTC (3 years, 8 months ago) by florian
Branch: MAIN
Changes since 1.10: +24 -8 lines
Diff to previous 1.10 (colored)
Get rid of isc_parse_uint32() and replace it with strtonum. While here use the standard strtonum error messages. input & OK beck, OK kn
Revision 1.10 / (download) - annotate - [select for diffs], Tue Apr 28 15:55:55 2020 UTC (4 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE,
OPENBSD_6_7
Changes since 1.9: +6 -4 lines
Diff to previous 1.9 (colored)
Rather than attempting to lookup the keyword "set" as a hostname, issue a usage message. This matches both historical behaviour, and the operation upon other keywords. ok florian
Revision 1.9 / (download) - annotate - [select for diffs], Tue Feb 25 17:01:56 2020 UTC (4 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +16 -4 lines
Diff to previous 1.8 (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.8 / (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.7: +0 -1 lines
Diff to previous 1.7 (colored)
Stop generating rdatastruct.h and put the dns_rdata_* structs for cname, ns, soa, and tsig directly into rdata.h
Revision 1.7 / (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.6: +2 -2 lines
Diff to previous 1.6 (colored)
We only need to create cname, ns, soa and tsig structs. OK jsg
Revision 1.6 / (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.5: +1 -1 lines
Diff to previous 1.5 (colored)
We only need to free cname, ns, soa and tsig structs. OK jsg
Revision 1.5 / (download) - annotate - [select for diffs], Wed Feb 19 20:57:10 2020 UTC (4 years, 3 months ago) by jung
Branch: MAIN
Changes since 1.4: +0 -4 lines
Diff to previous 1.4 (colored)
simplify signal setup and remove block/unblock/is_running/reload with input from florian ok millert florian
Revision 1.4 / (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.3: +0 -1 lines
Diff to previous 1.3 (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.3 / (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.2: +1 -0 lines
Diff to previous 1.2 (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.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)
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
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