{"id":19745440,"url":"https://github.com/btd/dnsjava","last_synced_at":"2025-06-19T15:34:55.727Z","repository":{"id":13252382,"uuid":"15937337","full_name":"btd/dnsjava","owner":"btd","description":"Mirror of dnsjava. Binaries on bintray.","archived":false,"fork":false,"pushed_at":"2014-01-15T14:34:00.000Z","size":1244,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T07:44:12.301Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/btd.png","metadata":{"files":{"readme":"README","changelog":"Changelog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-15T14:26:16.000Z","updated_at":"2014-01-15T14:34:04.000Z","dependencies_parsed_at":"2022-08-25T17:40:48.687Z","dependency_job_id":null,"html_url":"https://github.com/btd/dnsjava","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/btd/dnsjava","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btd%2Fdnsjava","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btd%2Fdnsjava/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btd%2Fdnsjava/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btd%2Fdnsjava/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/btd","download_url":"https://codeload.github.com/btd/dnsjava/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btd%2Fdnsjava/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260779540,"owners_count":23061853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T02:08:31.885Z","updated_at":"2025-06-19T15:34:50.717Z","avatar_url":"https://github.com/btd.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"dnsjava v2.0\n\nhttp://www.dnsjava.org/\n\nAuthor:\n\nBrian Wellington (bwelling@xbill.org)\nMarch 12, 2004\n\nOverview:\n\ndnsjava is an implementation of DNS in Java.  It supports all defined record\ntypes (including the DNSSEC types), and unknown types.  It can be used for\nqueries, zone transfers, and dynamic updates.  It includes a cache which can be\nused by clients, and an authoritative only server.  It supports TSIG\nauthenticated messages, partial DNSSEC verification, and EDNS0.  It is fully\nthread safe.  It can be used to replace the native DNS support in Java.\n\ndnsjava was started as an excuse to learn Java.  It was useful for testing new\nfeatures in BIND without rewriting the C resolver.  It was then cleaned up and\nextended in order to be used as a testing framework for DNS interoperability\ntesting.  The high level API and caching resolver were added to make it useful\nto a wider audience.  The authoritative only server was added as proof of\nconcept.\n\n\nGetting started:\n\nRun 'ant' from the toplevel directory to build dnsjava (a Makefile is also\nprovided, but does not have all of the features of the ant script).  JDK 1.4\nor higher is required.\n\nTo compile name service provider support (org.xbill.DNS.spi), run 'ant spi'.\n\n\nReplacing the standard Java DNS functionality:\n\nBeginning with Java 1.4, service providers can be loaded at runtime.  To load\nthe dnsjava service provider, build it as explained above and set the system\nproperty:\n\n\tsun.net.spi.nameservice.provider.1=dns,dnsjava\n\nThis instructs the JVM to use the dnsjava service provide for DNS at the\nhighest priority.\n\n\nTesting dnsjava:\n\nMatt Rutherford \u003crutherfo@cs.colorado.edu\u003e contributed a number of unit\ntests, which are in the tests subdirectory.  The hierarchy under tests\nmirrors the org.xbill.DNS classes.  To build the unit tests, run\n'ant compile_tests', and to run then, run 'ant run_tests'.  The tests require\nJUnit (http://www.junit.org) to be installed.\n\nSome high-level test programs are in org/xbill/DNS/tests.\n\n\nLimitations:\n\nThere's no standard way to determine what the local nameserver or DNS search\npath is at runtime from within the JVM.  dnsjava attempts several methods\nuntil one succeeds.\n\n - The properties 'dns.server' and 'dns.search' (comma delimited lists) are\n   checked.  The servers can either be IP addresses or hostnames (which are\n   resolved using Java's built in DNS support).\n - The sun.net.dns.ResolverConfiguration class is queried.\n - On Unix, /etc/resolv.conf is parsed.\n - On Windows, ipconfig/winipcfg is called and its output parsed.  This may\n   fail for non-English versions on Windows.\n - As a last resort, \"localhost\" is used as the nameserver, and the search\n   path is empty.\n\nThe underlying platform must use an ASCII encoding of characters.  This means\nthat dnsjava will not work on OS/390, for example.\n\n\nAdditional documentation:\n\nJavadoc documentation is provided in the doc/ subdirectory of binary\ndistributions, and can be built with 'ant docs'.\n\n\nLicense:\n\ndnsjava is placed under the BSD license.  Several files are also under\nadditional licenses; see the individual files for details.\n\nCopyright (c) 1999-2005, Brian Wellington\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n    * Redistributions of source code must retain the above copyright notice,\n      this list of conditions and the following disclaimer.\n    * Redistributions in binary form must reproduce the above copyright notice,\n      this list of conditions and the following disclaimer in the documentation\n      and/or other materials provided with the distribution.\n    * Neither the name of the dnsjava project nor the names of its contributors\n      may be used to endorse or promote products derived from this software\n      without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\nFinal notes:\n\n - Thanks to Network Associates, Inc. for sponsoring some of the original\n   dnsjava work in 1999-2000.\n\n - Thanks to Nominum, Inc. for sponsoring some work on dnsjava from 2000 to\n   the present.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtd%2Fdnsjava","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbtd%2Fdnsjava","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtd%2Fdnsjava/lists"}