- Updated DNS server IP addresses for Brazil and Mexico.
- Updated dependency
columnify
to version1.6.0
. - Updated dependency
debug
to version4.3.3
. - Updated dependency
is-valid-domain
to version0.1.6
.
- Removed dependency
supports-color
.
- Updated dependency
chalk
to version4.1.2
. - Updated dependency
is-valid-domain
to version0.1.4
. - Updated dependency
supports-color
to version9.0.2
.
- Updated dependency
debug
to version4.3.2
. - Updated dependency
is-valid-domain
to version0.1.2
. - Increased default timeout to
10000
milliseconds. - Updated DNS server IP addresses for UK, Singapore and Mexico.
- Updated dependency
pretty-error
to version3.0.4
which addressed CVE-2021-33587.
- Increased default timeout to
3500
milliseconds.- Previously the default was
2500
which may have caused unnecessary timeouts when querying far away resolvers.
- Previously the default was
- Changed problematic resolver in Ireland to and new one sourced from dnspropagation.net.
- Updated dependencies to apply
lodash
fix which addressed CVE-2021-23337. - Updated dependency
supports-color
to version8.1.1
. - Updated dependency
chalk
to version4.1.1
. - Updated dependency
is-valid-domain
to version0.0.19
. - Updated default Singapore DNS resolver.
- Updated dependency
pretty-error
to version3.0.3
. - Removed broken Size badge from
README.md
. - Added Required Node Version and Github Stars badges to
README.md
.
- Updated dependencies (
yargs
&supports-color
)
- Moved the change log notes into its own
CHANGELOG.md
fromREADME.md
.
- Added
supports-color
to supplementdebug
- Added
engines
intopackage.json
to specify node version >=10.0.0
- New option
--unique
which filters out duplicate addresses (but not errors).
- Updated dependencies (
debug
). - Improved colour scheme to aid output readability.
- Updated dependencies (
yargs
). - Improved debug logging clarity in
parseAnswer()
.
- Updated dependencies (
pretty-error
&is-valid-domain
). - Fixed empty array check in
ddig-core.js
. - Fixed erroneous string substitution in
return()
function calls inddig-core.js
. - Improved colour output for
CNAME
records and their IP addresses.
- Updated dependencies (
yargs
&is-valid-domain
).
- Added
pretty-error
formatting to TryCatch blocks' console output.
- Updated dependency (
debug
).
- Updated dependencies (
yargs
&is-valid-domain
).
- Fixed erroneous
warning
when parsing certain command line arguments.
- Fixed output formatting bugs in
--list-resolvers
and--list-options
- Improved the standard (non-verbose) output for
CNAME
records to now include the first FQDN it resolves to along with the IP address.
- Fixed an
undefined
reference when using--list-defaults
.
- Updated dependencies.
- The message displaying the configuration file being used now only includes the full path if it differs from the current working directory.
- Improved the detection and reporting of invalid domains and switches
- If you tried to lookup a domain that was invalid, according to the DNS RFC, it was ignored. You'll now see a warning message when
ddig
ignores an input. - Appended a unit suffix to the
TTL
value.
- Removed
moment
as a dependency and refactored time difference calculations to be handled natively. - Increased the recommended columns width to 140 when using the
--verbose
switch, allowing for the new 'TTL' andrecord type
columns.
- Fixed a bug causing the
Record Type
to beUnknown
due to erroneously locating the json lookup file when install globally.
- Added Snyk security checks, and badge to README.
- Updated dependencies.
- Fixed a bug causing
Record Type
andTTL
column values beingundefined
. - Increased
TTL
column width and made it right-aligned.
- Standard output now includes record type.
- Updated dependencies.
- Fixed a nested array bounds check which resulted in valid domains being reported as non-existent.
- Updated default DNS resolvers list.
- Updated dependencies.
- Better handling of
nxdomain
. Non-existent domains aren't DNS errors, just an empty answer - so now handling those more sensibly.
- Fixed
npm-shrinkwrap.json
problem that preventednpm update
succeeding.
- Switched to using
chalk
instead ofcolors
. - Updated dependencies.
--list-defaults
now pretty-prints the raw json output.
- Use * instead of unicode character • to signify unique IP address when
process.stdout.isTTY
isfalse
1. - Updated Dependencies.
- Shrink-wrapped
npm
dependencies.
- Added
--verbose
support tp--help
to display more information. - Dabbled with using
chalk
instead ofcolors
(on--help
output). - Updated dependency
yargs
to version 14.2.0 - Fixed a cross-platform file path separator bug.
- Removed unneeded dependency
valid-filename
. - Updated dependency
colors
to version 1.4.0 - Improved reporting on configuration file location when directory is
.
. - Improved
debug
logging. - Improved reporting on an empty answer (i.e. no error, but no IP address returned).
- Fixed a problem when specifying a full path with the
--config
option. - Fixed erroneous warnings when using
--config
.
- New
--config
option to specify an alternative configuration file. - New
--list-defaults
option which prints a default config json file to the console; useful as an initial custom configuration file.
- Improved input validation for
--timeout
&--protocol
. - Improved the
Warning
logic for ignored domains to remove erroneous warnings with valid switches and options.
- Fixed file system path separator problem when attempting to locate a config file on Linux systems.
- Initial Release.
Footnotes
-
When
process.stdout.isTTY
isfalse
it signifies that the output is being piped or redirected. There's no guarantee that the target of the pipe (e.g.more
on Windows, for screen pagination) or the redirect (e.g. a text file) has unicode support so we refrain from outputting any unicode. ↩