summaryrefslogtreecommitdiff
path: root/usr.bin/dig
AgeCommit message (Collapse)Author
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
2020-09-13remove unused LEX_OPTsFlorian Obser
2020-09-13No need to refcount the parser, we never hold more than one reference.Florian Obser
2020-09-12Remove unused callback mechanism / indirection.Florian Obser
OK deraadt, millert
2020-05-10fix socket_log() calls, EVENT expands to three comma separatedOtto Moerbeek
values; spotted by gcc; ok florian@
2020-05-08Make sure cmsgbufs are properly aligned by using the idiom from theOtto Moerbeek
CMSG_DATA man page. Avoids SIGBUS on landisk; ok kettenis@ jca@
2020-04-28Rather than attempting to lookup the keyword "set" as a hostname,Theo de Raadt
issue a usage message. This matches both historical behaviour, and the operation upon other keywords. ok florian
2020-04-02Replace a bunch of hand rolled date / time math with gmtime(3).Florian Obser
While here fix dns_time64_from32() to correctly deal with unsigned 32 bit cyclic time that I accidentally broke when I switched "now" from isc_std_time (unsiged 32 bit) to time_t (64 bit). input kettenis, millert, otto, cheloha OK cheloha
2020-03-27unused constantsFlorian Obser
2020-02-26no need to go through RETERR when we return a constantFlorian Obser
2020-02-26In preparation of compiling lib/dns/rdata/ files individually we needFlorian Obser
global visibility of str_totext. Rename it to isc_str_tobuffer, put it into buffer.c and delete duplicate implementations.
2020-02-26In preparation of compiling lib/dns/rdata/ files individually we needFlorian Obser
global visibility of mem_tobuffer. Rename it to isc_mem_tobuffer, put it into buffer.c and delete duplicate implementations.
2020-02-26Always printing unknown types as TYPE%u and not sometimes as %uFlorian Obser
considerably simplifies dns_rdatatype_attributes() since we then only care about reserved types. tweaks jsg
2020-02-26Rewrite dns_rdatatype_fromtext to use a binary search over a staticFlorian Obser
array.