Const
Matches dns6 addresses.
Use DNS instead to match any type of DNS address.
import { multiaddr } from '@multiformats/multiaddr'import { DNS6 } from '@multiformats/multiaddr-matcher'DNS6.matches(multiaddr('/dns6/example.org')) // true Copy
import { multiaddr } from '@multiformats/multiaddr'import { DNS6 } from '@multiformats/multiaddr-matcher'DNS6.matches(multiaddr('/dns6/example.org')) // true
Matches dns6 addresses.
Use DNS instead to match any type of DNS address.