History log of /openbsd-current/usr.bin/dig/dig.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.16 17-May-2024 jsg

remove prototypes with no matching function; ok florian@


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.15 15-Sep-2020 florian

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


# 1.14 15-Sep-2020 florian

The various sockaddr structures have length fields these days.
OK beck


# 1.13 14-Sep-2020 florian

Mechanically replace isc_boolean_t with int.
OK deraadt


# 1.12 14-Sep-2020 florian

Rewrite isc_time_microdiff() as uelapsed() and put it directly
into dig sources, lets us get rid of unix/time.{c,h}
OK deraadt


# 1.11 13-Sep-2020 florian

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 tags: OPENBSD_6_7_BASE
# 1.10 25-Feb-2020 deraadt

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


# 1.9 24-Feb-2020 jsg

remove some uneeded includes


# 1.8 16-Feb-2020 florian

Replace isc_time_t and interval_t with struct timespec.
Input & OK millert


# 1.7 15-Feb-2020 florian

get path to resolv.conf from resolv.h


# 1.6 13-Feb-2020 florian

+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


# 1.5 13-Feb-2020 florian

expand ISC_FORMAT_PRINTF and get rid of formatcheck.h


# 1.4 13-Feb-2020 jsg

remove macros which defined extern "C" for C++

ok florian@


# 1.3 13-Feb-2020 jsg

remove more uneeded include statements and files


# 1.2 13-Feb-2020 jsg

remove unused dig_query_start()


# 1.1 07-Feb-2020 florian

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


# 1.15 15-Sep-2020 florian

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


# 1.14 15-Sep-2020 florian

The various sockaddr structures have length fields these days.
OK beck


# 1.13 14-Sep-2020 florian

Mechanically replace isc_boolean_t with int.
OK deraadt


# 1.12 14-Sep-2020 florian

Rewrite isc_time_microdiff() as uelapsed() and put it directly
into dig sources, lets us get rid of unix/time.{c,h}
OK deraadt


# 1.11 13-Sep-2020 florian

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 tags: OPENBSD_6_7_BASE
# 1.10 25-Feb-2020 deraadt

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


# 1.9 24-Feb-2020 jsg

remove some uneeded includes


# 1.8 16-Feb-2020 florian

Replace isc_time_t and interval_t with struct timespec.
Input & OK millert


# 1.7 15-Feb-2020 florian

get path to resolv.conf from resolv.h


# 1.6 13-Feb-2020 florian

+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


# 1.5 13-Feb-2020 florian

expand ISC_FORMAT_PRINTF and get rid of formatcheck.h


# 1.4 13-Feb-2020 jsg

remove macros which defined extern "C" for C++

ok florian@


# 1.3 13-Feb-2020 jsg

remove more uneeded include statements and files


# 1.2 13-Feb-2020 jsg

remove unused dig_query_start()


# 1.1 07-Feb-2020 florian

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


# 1.13 14-Sep-2020 florian

Mechanically replace isc_boolean_t with int.
OK deraadt


# 1.12 14-Sep-2020 florian

Rewrite isc_time_microdiff() as uelapsed() and put it directly
into dig sources, lets us get rid of unix/time.{c,h}
OK deraadt


# 1.11 13-Sep-2020 florian

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 tags: OPENBSD_6_7_BASE
# 1.10 25-Feb-2020 deraadt

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


# 1.9 24-Feb-2020 jsg

remove some uneeded includes


# 1.8 16-Feb-2020 florian

Replace isc_time_t and interval_t with struct timespec.
Input & OK millert


# 1.7 15-Feb-2020 florian

get path to resolv.conf from resolv.h


# 1.6 13-Feb-2020 florian

+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


# 1.5 13-Feb-2020 florian

expand ISC_FORMAT_PRINTF and get rid of formatcheck.h


# 1.4 13-Feb-2020 jsg

remove macros which defined extern "C" for C++

ok florian@


# 1.3 13-Feb-2020 jsg

remove more uneeded include statements and files


# 1.2 13-Feb-2020 jsg

remove unused dig_query_start()


# 1.1 07-Feb-2020 florian

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


# 1.11 13-Sep-2020 florian

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 tags: OPENBSD_6_7_BASE
# 1.10 25-Feb-2020 deraadt

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


# 1.9 24-Feb-2020 jsg

remove some uneeded includes


# 1.8 16-Feb-2020 florian

Replace isc_time_t and interval_t with struct timespec.
Input & OK millert


# 1.7 15-Feb-2020 florian

get path to resolv.conf from resolv.h


# 1.6 13-Feb-2020 florian

+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


# 1.5 13-Feb-2020 florian

expand ISC_FORMAT_PRINTF and get rid of formatcheck.h


# 1.4 13-Feb-2020 jsg

remove macros which defined extern "C" for C++

ok florian@


# 1.3 13-Feb-2020 jsg

remove more uneeded include statements and files


# 1.2 13-Feb-2020 jsg

remove unused dig_query_start()


# 1.1 07-Feb-2020 florian

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


# 1.10 25-Feb-2020 deraadt

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


# 1.9 24-Feb-2020 jsg

remove some uneeded includes


# 1.8 16-Feb-2020 florian

Replace isc_time_t and interval_t with struct timespec.
Input & OK millert


# 1.7 15-Feb-2020 florian

get path to resolv.conf from resolv.h


# 1.6 13-Feb-2020 florian

+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


# 1.5 13-Feb-2020 florian

expand ISC_FORMAT_PRINTF and get rid of formatcheck.h


# 1.4 13-Feb-2020 jsg

remove macros which defined extern "C" for C++

ok florian@


# 1.3 13-Feb-2020 jsg

remove more uneeded include statements and files


# 1.2 13-Feb-2020 jsg

remove unused dig_query_start()


# 1.1 07-Feb-2020 florian

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


# 1.9 24-Feb-2020 jsg

remove some uneeded includes


# 1.8 16-Feb-2020 florian

Replace isc_time_t and interval_t with struct timespec.
Input & OK millert


# 1.7 15-Feb-2020 florian

get path to resolv.conf from resolv.h


# 1.6 13-Feb-2020 florian

+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


# 1.5 13-Feb-2020 florian

expand ISC_FORMAT_PRINTF and get rid of formatcheck.h


# 1.4 13-Feb-2020 jsg

remove macros which defined extern "C" for C++

ok florian@


# 1.3 13-Feb-2020 jsg

remove more uneeded include statements and files


# 1.2 13-Feb-2020 jsg

remove unused dig_query_start()


# 1.1 07-Feb-2020 florian

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


# 1.8 16-Feb-2020 florian

Replace isc_time_t and interval_t with struct timespec.
Input & OK millert


# 1.7 15-Feb-2020 florian

get path to resolv.conf from resolv.h


# 1.6 13-Feb-2020 florian

+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


# 1.5 13-Feb-2020 florian

expand ISC_FORMAT_PRINTF and get rid of formatcheck.h


# 1.4 13-Feb-2020 jsg

remove macros which defined extern "C" for C++

ok florian@


# 1.3 13-Feb-2020 jsg

remove more uneeded include statements and files


# 1.2 13-Feb-2020 jsg

remove unused dig_query_start()


# 1.1 07-Feb-2020 florian

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


# 1.7 15-Feb-2020 florian

get path to resolv.conf from resolv.h


# 1.6 13-Feb-2020 florian

+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


# 1.5 13-Feb-2020 florian

expand ISC_FORMAT_PRINTF and get rid of formatcheck.h


# 1.4 13-Feb-2020 jsg

remove macros which defined extern "C" for C++

ok florian@


# 1.3 13-Feb-2020 jsg

remove more uneeded include statements and files


# 1.2 13-Feb-2020 jsg

remove unused dig_query_start()


# 1.1 07-Feb-2020 florian

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


# 1.6 13-Feb-2020 florian

+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


# 1.5 13-Feb-2020 florian

expand ISC_FORMAT_PRINTF and get rid of formatcheck.h


# 1.4 13-Feb-2020 jsg

remove macros which defined extern "C" for C++

ok florian@


# 1.3 13-Feb-2020 jsg

remove more uneeded include statements and files


# 1.2 13-Feb-2020 jsg

remove unused dig_query_start()


# 1.1 07-Feb-2020 florian

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


# 1.2 13-Feb-2020 jsg

remove unused dig_query_start()


# 1.1 07-Feb-2020 florian

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


# 1.1 07-Feb-2020 florian

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