{"_id":"@aleph-sdk/dns","_rev":"6-f3728f947152d5fc8390773c5dad4136","name":"@aleph-sdk/dns","dist-tags":{"latest":"1.9.2"},"versions":{"1.0.1":{"name":"@aleph-sdk/dns","version":"1.0.1","author":"","license":"ISC","_id":"@aleph-sdk/dns@1.0.1","maintainers":[{"name":"amalcaraz","email":"amalcaraz89@gmail.com"}],"dist":{"shasum":"32332b6ae950eda159008360803945ad4e839327","tarball":"https://registry.npmjs.org/@aleph-sdk/dns/-/dns-1.0.1.tgz","fileCount":8,"integrity":"sha512-K0f/Mn+iBFf6UJbnndMSDYhtzVJu020hu2SIH5KdigdX2gjjwkkfI03cO43z1bADA7I4yQXjNCz4V6YNwmOvnA==","signatures":[{"sig":"MEUCIE1RpBajYSERtcmsWi9TI68B72ELY8NcX8oWyfqwZhzGAiEA34biULCR9PiPDMT0GViv7a/o2UvPZk4BYEbL5KRB0L4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37972},"main":"dist/cjs/index.min.cjs","types":"dist/index.d.ts","module":"dist/esm/index.min.mjs","gitHead":"82755ed5a873f4a6aeab337dbe0699ca839f1ff2","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npm run rollup","rollup":"rollup  -c ../../rollup.config.js"},"_npmUser":{"name":"amalcaraz","email":"amalcaraz89@gmail.com"},"_npmVersion":"lerna/8.1.2/node@v20.11.1+x64 (linux)","description":"The `@aleph-sdk/dns` module provides a set of utilities for DNS resolution and manipulation, tailored for use within the Aleph.im ecosystem. It offers functionalities to parse hostnames from URLs, perform DNS queries for various record types, and validate","directories":{},"_nodeVersion":"20.11.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dns_1.0.1_1711553670182_0.013733576792480218","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@aleph-sdk/dns","version":"1.0.3","author":"","license":"ISC","_id":"@aleph-sdk/dns@1.0.3","maintainers":[{"name":"amalcaraz","email":"amalcaraz89@gmail.com"}],"dist":{"shasum":"8cafb1bc762903e7b5b17a637c677e0be5a94bb0","tarball":"https://registry.npmjs.org/@aleph-sdk/dns/-/dns-1.0.3.tgz","fileCount":8,"integrity":"sha512-j34c3zhj3coMdT1GDcJNiC7X1vcOE3jyvQMmhxPmNIZcNBpDILGcaRjlj2aSfckYUhBj/XHdDfO5VWVEB+FsNg==","signatures":[{"sig":"MEYCIQCBqkdBXCMBvuX132xucaTqIjb2rcCMKAbDri3Ye/JF3QIhAKmGcQUlJbTIoFRsGaDVz+VWi+SUP35Fp4LC9YXuBWOF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38562},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","gitHead":"fb5bb9a310ee2969528a4e893fb417b4bf132aa0","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npm run rollup","rollup":"rollup  -c ../../rollup.config.js"},"_npmUser":{"name":"amalcaraz","email":"amalcaraz89@gmail.com"},"_npmVersion":"lerna/8.1.2/node@v20.12.2+x64 (linux)","description":"The `@aleph-sdk/dns` module provides a set of utilities for DNS resolution and manipulation, tailored for use within the Aleph.im ecosystem. It offers functionalities to parse hostnames from URLs, perform DNS queries for various record types, and validate","directories":{},"_nodeVersion":"20.12.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dns_1.0.3_1714738350047_0.21037362030958162","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@aleph-sdk/dns","version":"1.2.0","author":"","license":"ISC","_id":"@aleph-sdk/dns@1.2.0","maintainers":[{"name":"amalcaraz","email":"amalcaraz89@gmail.com"}],"dist":{"shasum":"e46ccb71b23dff88a6783ed728b3f7c0380f35dc","tarball":"https://registry.npmjs.org/@aleph-sdk/dns/-/dns-1.2.0.tgz","fileCount":8,"integrity":"sha512-mIwQ9n/yfN3Wk1ylSgpe8VWH5Pkt5Yek+HFtyVR5gmtfe3ahDTEDA+Far9cGYP2G1LNoMsjc9X4g3rRCN2KCwA==","signatures":[{"sig":"MEUCIE95f7wdVGiqQUkgY0eMKM2zgAedV6W2EGacfbg1D7E2AiEAz/GfqocA/0/wcIZRvBcT0g1Lg6EQ67gvclF35OVYZP8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38562},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","gitHead":"cbbe2ff791f8435fd2a6fb393cd06d73682c6efa","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npm run rollup","rollup":"rollup  -c ../../rollup.config.js"},"_npmUser":{"name":"amalcaraz","email":"amalcaraz89@gmail.com"},"_npmVersion":"lerna/8.1.2/node@v20.17.0+x64 (linux)","description":"The `@aleph-sdk/dns` module provides a set of utilities for DNS resolution and manipulation, tailored for use within the Aleph.im ecosystem. It offers functionalities to parse hostnames from URLs, perform DNS queries for various record types, and validate","directories":{},"_nodeVersion":"20.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dns_1.2.0_1727355032490_0.3602583762614824","host":"s3://npm-registry-packages"}},"1.7.4":{"name":"@aleph-sdk/dns","version":"1.7.4","author":"","license":"MIT","_id":"@aleph-sdk/dns@1.7.4","maintainers":[{"name":"amalcaraz","email":"amalcaraz89@gmail.com"}],"homepage":"https://aleph.im","bugs":{"url":"https://github.com/aleph-im/aleph-sdk-ts/issues"},"dist":{"shasum":"4c69b4dafa9058b44e98c29cc9f8867f26f88a2c","tarball":"https://registry.npmjs.org/@aleph-sdk/dns/-/dns-1.7.4.tgz","fileCount":8,"integrity":"sha512-IOOlfeLa5S2IrTBsxmpARlir3O/9TKMs9yEqBxSz5iYTQ+TR5F9uo0R6BLRrmgTQNg1s5fiK6G0SsQGCInGFXg==","signatures":[{"sig":"MEYCIQDyoA2jXVB2IdYFw+DNfmenB8FzUQurE2HKad7SM3nCGgIhAP1F+s+TlG2GwHL7jbxlU+laD9o5lomHdAzWkPIs3Uf3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aleph-sdk%2fdns@1.7.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38626},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","gitHead":"02bdf4e705ee5e2a27d213b21dcb92bc8bb157bf","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npm run rollup","rollup":"rollup  -c ../../rollup.config.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a6c8948-5766-48a0-82b3-40ec65c575aa"}},"repository":{"url":"git+https://github.com/aleph-im/aleph-sdk-ts.git","type":"git"},"_npmVersion":"lerna/9.0.4/node@v20.20.0+x64 (linux)","description":"The `@aleph-sdk/dns` module provides a set of utilities for DNS resolution and manipulation, tailored for use within the Aleph.im ecosystem. It offers functionalities to parse hostnames from URLs, perform DNS queries for various record types, and validate","directories":{},"_nodeVersion":"20.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dns_1.7.4_1771241715045_0.08867542901138514","host":"s3://npm-registry-packages-npm-production"}},"1.9.1":{"name":"@aleph-sdk/dns","version":"1.9.1","author":"","license":"MIT","_id":"@aleph-sdk/dns@1.9.1","maintainers":[{"name":"amalcaraz","email":"amalcaraz89@gmail.com"}],"homepage":"https://aleph.im","bugs":{"url":"https://github.com/aleph-im/aleph-sdk-ts/issues"},"dist":{"shasum":"fbecfc5f0af6cee248fa56a4f206e4d41ba3821a","tarball":"https://registry.npmjs.org/@aleph-sdk/dns/-/dns-1.9.1.tgz","fileCount":8,"integrity":"sha512-Ap+zvZ/iIaOFP8W4J+41T4a4N7+6XoaXMdjdejYv38E/UbzEO68ptFZ6hdyXA2S5C+WWDRoLPYpPKL8bE4KXVQ==","signatures":[{"sig":"MEUCIQCSAzUBnKLYjUk5Ho+VM0zmi5JNQ1MIA1R4W4iIsrN1GQIgfFGBRRskwJagV0dpsntU7B45hAJLV227YbLjXmnGtws=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aleph-sdk%2fdns@1.9.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38626},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","gitHead":"cb456fae2c46513ac7c59e063892c8dfd02f1040","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npm run rollup","rollup":"rollup  -c ../../rollup.config.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a6c8948-5766-48a0-82b3-40ec65c575aa"}},"repository":{"url":"git+https://github.com/aleph-im/aleph-sdk-ts.git","type":"git"},"_npmVersion":"lerna/9.0.4/node@v20.20.2+x64 (linux)","description":"The `@aleph-sdk/dns` module provides a set of utilities for DNS resolution and manipulation, tailored for use within the Aleph.im ecosystem. It offers functionalities to parse hostnames from URLs, perform DNS queries for various record types, and validate","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dns_1.9.1_1782334431026_0.3919688112112838","host":"s3://npm-registry-packages-npm-production"}},"1.9.2":{"name":"@aleph-sdk/dns","version":"1.9.2","description":"The `@aleph-sdk/dns` module provides a set of utilities for DNS resolution and manipulation, tailored for use within the Aleph.im ecosystem. It offers functionalities to parse hostnames from URLs, perform DNS queries for various record types, and validate","main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","publishConfig":{"access":"public"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","rollup":"rollup  -c ../../rollup.config.js","build":"npm run rollup"},"author":"","homepage":"https://aleph.im","bugs":{"url":"https://github.com/aleph-im/aleph-sdk-ts/issues"},"repository":{"type":"git","url":"git+https://github.com/aleph-im/aleph-sdk-ts.git"},"license":"MIT","gitHead":"53edf54c34133b7ba36136789177c406856e3ac3","_id":"@aleph-sdk/dns@1.9.2","_nodeVersion":"20.20.2","_npmVersion":"lerna/9.0.4/node@v20.20.2+x64 (linux)","dist":{"integrity":"sha512-pdRyFjPHoTn2UeDIJCQbVQj6NORlYxR/g5hWwLx827fJIGR0OJn46mpBVNTqyut4G6rS8p5YX8FCOEjv1nfrrA==","shasum":"6a5a452aad37b3ca52f9872896d736462f6d9e19","tarball":"https://registry.npmjs.org/@aleph-sdk/dns/-/dns-1.9.2.tgz","fileCount":8,"unpackedSize":38626,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aleph-sdk%2fdns@1.9.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBVfVWKpT822MaaS+MD5rQSCW01nrGmEIdTuuGe+0jm7AiEApGaYDZvHIIdGYSBdhmRceuTzRtV8euQzoLQ43Ohfoe0="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3a6c8948-5766-48a0-82b3-40ec65c575aa"}},"directories":{},"maintainers":[{"name":"amalcaraz","email":"amalcaraz89@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dns_1.9.2_1782905663299_0.5123899243115801"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-27T15:34:30.078Z","modified":"2026-07-01T11:34:23.733Z","1.0.1":"2024-03-27T15:34:30.368Z","1.0.3":"2024-05-03T12:12:30.256Z","1.2.0":"2024-09-26T12:50:32.761Z","1.7.4":"2026-02-16T11:35:15.198Z","1.9.1":"2026-06-24T20:53:51.162Z","1.9.2":"2026-07-01T11:34:23.459Z"},"bugs":{"url":"https://github.com/aleph-im/aleph-sdk-ts/issues"},"license":"MIT","homepage":"https://aleph.im","repository":{"type":"git","url":"git+https://github.com/aleph-im/aleph-sdk-ts.git"},"description":"The `@aleph-sdk/dns` module provides a set of utilities for DNS resolution and manipulation, tailored for use within the Aleph.im ecosystem. It offers functionalities to parse hostnames from URLs, perform DNS queries for various record types, and validate","maintainers":[{"name":"amalcaraz","email":"amalcaraz89@gmail.com"}],"readme":"# @aleph-sdk/dns\n\nThe `@aleph-sdk/dns` module provides a set of utilities for DNS resolution and manipulation, tailored for use within the Aleph.im ecosystem. It offers functionalities to parse hostnames from URLs, perform DNS queries for various record types, and validate domain configurations against specific criteria.\n\n**This package uses `node:dns`, which needs to be polyfilled, if used in a browser environment.**\n\n## Features\n\n- Parse hostnames from URLs, with or without protocols specified.\n- Resolve IPv4 and IPv6 addresses.\n- Fetch DNSLink records.\n- Validate domain configurations for Aleph.im specific targets (e.g., IPFS files, deployed ASGI programs and instances).\n\n## Installation\n\nYou can install `@aleph-sdk/dns` using npm:\n\n```bash\nnpm install @aleph-sdk/dns\n```","readmeFilename":"README.md"}