Skip navigation links

Package com.dkfqs.tools.dns

A DNS resolver for IPv4 and IPv6 host names which supports to measure resolve times.

See: Description

Package com.dkfqs.tools.dns Description

A DNS resolver for IPv4 and IPv6 host names which supports to measure resolve times.

This com.dkfqs.tools.dns library contains an integrated and modified 'dnsjava' GITHUB clone
which was taken at 22 October 2019 from https://github.com/dnsjava and is included in
com.dkfqs.tools.jar.

The 'dnsjava' source code has been modified in such a way that no dependencies to any other
Java third-party-libraries exists:
- all "import lombok.extern.slf4j.Slf4j;" statements have been removed.
- all log.debug(..) statements have been removed.
- all log.error(..) statements have been replaced by throw new RuntimeException(..).

Furthermore, all 'dnsjava' Java classes at top level (outside any package) have been removed,
and all Java classes of the 'test' folder have been removed.

All other functionality of 'dnsjava' is fully available and untouched.

The modified 'dnsjava' library was compiled with Java version 8.

To use the modified 'dnsjava' library in your source you have to add the JAR file
com.dkfqs.tools.jar to the CLASSPATH and to import org.xbill.DNS.* as usual.
    

Original 'dnsjava' License
Copyright (c) 1998-2011, Brian Wellington.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
    

Skip navigation links