History log of /openbsd/usr.bin/dig/nslookup.c (Results 1 – 13 of 13)
Revision Date Author Comments
# b1a294b5 15-Sep-2020 florian <florian@openbsd.org>

We have sockaddr_storage these days, get rid of isc_sockaddr_t.
OK beck, "beautiful" deraadt


# 1fb015a8 14-Sep-2020 florian <florian@openbsd.org>

Mechanically replace isc_boolean_t with int.
OK deraadt


# c49c5f05 13-Sep-2020 florian <florian@openbsd.org>

Get rid of isc_parse_uint32() and replace it with strtonum.
While here use the standard strtonum error messages.

input & OK beck, OK kn


# a4b6a136 28-Apr-2020 deraadt <deraadt@openbsd.org>

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


# aebd9aa6 25-Feb-2020 deraadt <deraadt@openbsd.org>

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


# 24ff385a 24-Feb-2020 florian <florian@openbsd.org>

Stop generating rdatastruct.h and put the dns_rdata_* structs for
cname, ns, soa, and tsig directly into rdata.h


# ee21177a 24-Feb-2020 florian <florian@openbsd.org>

We only need to create cname, ns, soa and tsig structs.
OK jsg


# a0b66ce4 24-Feb-2020 florian <florian@openbsd.org>

We only need to free cname, ns, soa and tsig structs.
OK jsg


# 76e675f5 19-Feb-2020 jung <jung@openbsd.org>

simplify signal setup and remove block/unblock/is_running/reload

with input from florian

ok millert florian


# 8b553854 18-Feb-2020 florian <florian@openbsd.org>

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_sock

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

show more ...


# 927deb69 13-Feb-2020 florian <florian@openbsd.org>

+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 que

+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

show more ...


# e49c1783 11-Feb-2020 jsg <jsg@openbsd.org>

remove uneeded #include lines

ok florian@


# 5185a700 07-Feb-2020 florian <florian@openbsd.org>

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 functionalit

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

show more ...