Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-08-29 | Update root hints. | Florian Obser | |
b.root-servers.net renumbered on 2023-11-27. OK phessler, jsg, sthen, deraadt | |||
2024-04-23 | correct indentation; no functional change | Jonathan Gray | |
ok tb@ | |||
2020-12-21 | Rewrite 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-20 | Fix 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-20 | Fix IPv6 link-local address handling for nameservers to talk to as | Florian 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-09-15 | We have sockaddr_storage these days, get rid of isc_sockaddr_t. | Florian Obser | |
OK beck, "beautiful" deraadt | |||
2020-09-15 | The various sockaddr structures have length fields these days. | Florian Obser | |
OK beck | |||
2020-09-15 | we no longer need isc_netaddr_t | Florian Obser | |
OK beck, deraadt (who also OK'ed the previous two diffs) | |||
2020-09-15 | rewrite generating of IPv6 reverse names, lets us get rid of byaddr. | Florian Obser | |
OK beck | |||
2020-09-15 | Fix botched conversion. This was not converted from parse_uint() which | Florian 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-14 | Mechanically replace isc_boolean_t with int. | Florian Obser | |
OK deraadt | |||
2020-09-14 | Bunch of dead stores and otherwise unused stuff lets us get rid of | Florian Obser | |
unix/net.{c.h}. We need to sprinkle in a few #includes that net.h dragged in. OK deraadt | |||
2020-09-14 | Rewrite isc_time_microdiff() as uelapsed() and put it directly | Florian Obser | |
into dig sources, lets us get rid of unix/time.{c,h} OK deraadt | |||
2020-09-13 | Get 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-02-25 | use timingsafe_bcmp and get rid of now unused safe.c | Florian Obser | |
2020-02-25 | traditional nslookup would not fatal if the server name was undiscoverable. | Theo de Raadt | |
change lower level code to return an error, and bump the fatal for host(1) upwards, then tweak nslookup to work nicely | |||
2020-02-25 | reduce multiple newlines | Jonathan Gray | |
2020-02-24 | Stop generating rdatastruct.h and put the dns_rdata_* structs for | Florian Obser | |
cname, ns, soa, and tsig directly into rdata.h | |||
2020-02-24 | We only need to create cname, ns, soa and tsig structs. | Florian Obser | |
OK jsg | |||
2020-02-24 | We only need to fill a wire format buffer from soa and tsig structs. | Florian Obser | |
OK jsg | |||
2020-02-24 | We only need to free cname, ns, soa and tsig structs. | Florian Obser | |
OK jsg | |||
2020-02-24 | remove some uneeded includes | Jonathan Gray | |
2020-02-24 | We are always preserving the order of records. | Florian Obser | |
This lets us remove compare_* and casecompare_* functions from RR types. OK jung | |||
2020-02-23 | rmeove more unused functions and code | Joerg Jung | |
ok florian | |||
2020-02-23 | We are not passing options to the message renderer. | Florian Obser | |
OK millert | |||
2020-02-21 | set function parameter list to void | Joerg Jung | |
ok millert florian | |||
2020-02-21 | Read CLOCK_MONOTONIC when we need timestamps to compare and use | Florian Obser | |
time(3) for the wall clock. prodding & OK jung | |||
2020-02-20 | Remove support for reading tsig keys from dnssec key pair. | Florian Obser | |
This was accidentally broken some time ago. Arguably this was the least useful way of providing tsig keys to dig. ISC also removed generating tsig keys from dnssec-keygen in 9.13. To read the key from disk using the -k option it has to be provided as as a session key: key "keyname" { algorithm hmac-sha256; secret "[...]"; }; OK millert | |||
2020-02-19 | simplify signal setup and remove block/unblock/is_running/reload | Joerg Jung | |
with input from florian ok millert florian | |||
2020-02-16 | clock_gettime cannot fail if called correctly; unravel TIME_NOW | Florian Obser | |
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 | |||
2020-02-16 | Reduce interval indirection by setting struct members directly and | Florian Obser | |
using macros from sys/time.h OK millert | |||
2020-02-16 | Replace isc_time_t and interval_t with struct timespec. | Florian Obser | |
Input & OK millert | |||
2020-02-16 | Now we are only using one timer type (once) and expires is always NULL | Florian Obser | |
so remove those struct members. OK millert | |||
2020-02-15 | get path to resolv.conf from resolv.h | Florian Obser | |
2020-02-13 | +trace has the RD bit cleared however it asks the nameserver from | Florian Obser | |
/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 | |||
2020-02-11 | remove uneeded #include lines | Jonathan Gray | |
ok florian@ | |||
2020-02-11 | Replace SIZE defines with sizeof. | Florian Obser | |
While here replace memmove with memcpy, the arguments do not overlap. OK millert, deraadt | |||
2020-02-11 | Remove #if 0 that has been there since the initial import in 2003. | Florian Obser | |
2020-02-07 | Move dig(1) and needed DNS libraries into it's own source directory in | Florian Obser | |
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 |