summaryrefslogtreecommitdiff
path: root/usr.bin/dig
AgeCommit message (Collapse)Author
2024-10-31When decoding SVCB or HTTPS do not skip reading params in aliasOtto Moerbeek
mode. According to the RFC, client shoud ignore them (which means actively skipping), but for dig it make sense to print them anyway. ok florian@
2024-10-25remove unneeded dst__opensslrsa_init() prototypeJonathan Gray
2024-10-25remove unneeded typedefs; ok florian@Jonathan Gray
2024-09-25remove some unneeded Xo/Xc calls; from evan silbermanJason McIntyre
the original diff had a couple of errors, which i've fixed
2024-09-20remove unneeded semicolons; checked by millert@Jonathan Gray
2024-08-29Update root hints.Florian Obser
b.root-servers.net renumbered on 2023-11-27. OK phessler, jsg, sthen, deraadt
2024-08-14resdebug and no_tld_query are unusedFlorian Obser
2024-08-14sortlist is unusedFlorian Obser
2024-08-14lwserver is unused, whatever that is / was.Florian Obser
2024-07-08IN_MULTICAST uses host byte orderFlorian Obser
I somehow missed this when ripping out 3 layers of indirections. from niklas
2024-05-17remove prototypes with no matching function; ok florian@Jonathan Gray
2024-05-17dig: make function definitions match their prototypesTheo Buehler
ok florian
2024-05-17dig: garbage collect the unused 'added'Theo Buehler
ok florian
2024-04-23correct indentation; no functional changeJonathan Gray
ok tb@
2023-09-06add void to function decls with no argsJonathan Gray
2023-04-19remove duplicate includesJonathan Gray
2023-03-26The slightly less deprecated spelling of ERR_remove_state(0) isTheo Buehler
ERR_remove_thread_state(NULL).
2022-12-26spelling fixes; from paul tagliamonteJason McIntyre
ok florian
2022-07-03use sys/types.h to get at __dead.Florian Obser
Pointed out by & OK deraadt
2022-07-03Implement SVCB and HTTPS record types.Florian Obser
Testing caspar, otto OK otto
2022-06-26gc trust, it's never set.Florian Obser
OK beck
2022-06-25remove unused struct membersFlorian Obser
2022-06-25remove some unused code and uneeded includesJonathan Gray
ok beck@ florian@
2022-06-25Remove a bunch of unused DNS_RDATASETATTR_ #defines and mop up.Florian Obser
OK sthen, beck
2022-06-25We do not order RRsets and we are not interested in partial RRsets.Florian Obser
OK sthen
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
jmc@ dislikes a comma before "then" in a conditional, so leave those untouched. ok jmc@
2022-02-17new sentence, new lineJonathan Gray
2022-01-17dig: fix -Wunused-but-set-variable warningsChristian Weisgerber
with and ok florian@
2021-06-12space between rfc and number;Jason McIntyre
2021-04-02Implement ZONEMD (RFC8976), based on DS (ds_43.c)Florian Obser
OK sthen
2021-03-12spellingJonathan Gray
2020-12-21Rewrite parse_netprefix to no longer use isc_sockaddr_fromin{,6}.Florian Obser
Since this was the last user of those functions we can delete them. OK otto
2020-12-20Fix EDNS Client Subnet option (+subnet=)Florian Obser
This got broken when we introduced ecs_plen so that we can use natural socket types.
2020-12-20Fix IPv6 link-local address handling for nameservers to talk to asFlorian Obser
well as address to bind to. Reported by Jordan Geoghegan (jordan AT geoghegan.ca), thanks! Debugged by & initial fix by otto Input & OK otto
2020-12-20Fix copy-pasto when selecting the addresses read from resolv.conf byOtto Moerbeek
address family. ok florian@
2020-11-28Use IN_MULTICAST correctly, so it checks the IP address rather than theJonathan Matthew
pointer to it. ok florian@
2020-11-01Implement Extended DNS Error (RFC 8914).Florian Obser
OK otto, sthen
2020-10-19Do not "fall through" to the last "else" when we parsed the character.Florian Obser
rev 1.9 of lex.c broke the parser by deleting an outer "if" block when only the inner was supposed to go. OK tb
2020-09-15We have sockaddr_storage these days, get rid of isc_sockaddr_t.Florian Obser
OK beck, "beautiful" deraadt
2020-09-15The various sockaddr structures have length fields these days.Florian Obser
OK beck
2020-09-15we no longer need isc_netaddr_tFlorian Obser
OK beck, deraadt (who also OK'ed the previous two diffs)
2020-09-15remove 3 unused protos; ok florianTheo de Raadt
2020-09-15rewrite generating of IPv6 reverse names, lets us get rid of byaddr.Florian Obser
OK beck
2020-09-15move islinklocal, ismulticast, issitelocal from netaddr to sockaddrFlorian Obser
OK beck
2020-09-15Fix botched conversion. This was not converted from parse_uint() whichFlorian Obser
took a maxlength of 10 but isc_parse_uint32 which took a base of 10 and unlimited lenght. Use a maxval of 128 for prefix lengths instead.
2020-09-14Mechanically replace isc_boolean_t with int.Florian Obser
OK deraadt
2020-09-14Bunch of dead stores and otherwise unused stuff lets us get rid ofFlorian Obser
unix/net.{c.h}. We need to sprinkle in a few #includes that net.h dragged in. OK deraadt
2020-09-14Rewrite isc_time_microdiff() as uelapsed() and put it directlyFlorian Obser
into dig sources, lets us get rid of unix/time.{c,h} OK deraadt
2020-09-13Get rid of isc_parse_uint32() and replace it with strtonum.Florian Obser
While here use the standard strtonum error messages. input & OK beck, OK kn
2020-09-13remove unused lex statesFlorian Obser