Package

io.scalajs.nodejs

dns

Permalink

package dns

dns package object

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. dns
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait DNS extends Object

    Permalink

    The dns module contains functions belonging to two different categories: 1) Functions that use the underlying operating system facilities to perform name resolution, and that do not necessarily perform any network communication.

    The dns module contains functions belonging to two different categories: 1) Functions that use the underlying operating system facilities to perform name resolution, and that do not necessarily perform any network communication. This category contains only one function: dns.lookup(). Developers looking to perform name resolution in the same way that other applications on the same operating system behave should use dns.lookup().

    Annotations
    @RawJSType() @native()
    See also

    https://nodejs.org/api/dns.html

  2. implicit final class DNSExtensions extends AnyVal

    Permalink

    DNS Extensions

  3. type DnsCallback1[A] = Function2[DnsError, A, Any]

    Permalink
  4. type DnsCallback2[A, B] = Function3[DnsError, A, B, Any]

    Permalink
  5. type DnsError = SystemError

    Permalink
  6. class DnsOptions extends Object

    Permalink

    DNS Options

    DNS Options

    Annotations
    @RawJSType() @ScalaJSDefined()
  7. trait MX extends Object

    Permalink

    Represents an MX record.

    Represents an MX record.

    {
    exchange: 'bing-com.mail.protection.outlook.com',
    priority: 10
    }
    

    Annotations
    @RawJSType() @native()
  8. trait NAPTR extends Object

    Permalink

    Represents a DNS NAPTR record.

    Represents a DNS NAPTR record.

    {
    flags: "s",
    service: "SIP+D2U",
    regexp: "",
    replacement: "_sip._udp.example.com",
    order: 30,
    preference: 100
    }
    

    Annotations
    @RawJSType() @native()
  9. type RRType = String

    Permalink
  10. trait SOA extends Object

    Permalink

    Represents a DNS SOA record.

    Represents a DNS SOA record.

    {
    nsname: 'ns.example.com',
    hostmaster: 'root.example.com',
    serial: 2013101809,
    refresh: 10000,
    retry: 2400,
    expire: 604800,
    minttl: 3600
    }
    

    Annotations
    @RawJSType() @native()
  11. trait SRV extends Object

    Permalink

    Represents a DNS SRV record.

    Represents a DNS SRV record.

    {
    priority: 10,
    weight: 5,
    port: 21223,
    name: 'service.example.com'
    }
    

    Annotations
    @RawJSType() @native()

Value Members

  1. object DNS extends Object with DNS

    Permalink

    DNS Singleton

    DNS Singleton

    Annotations
    @native() @JSImport( "dns" , JSImport.Namespace )
  2. val RRTYPE_A: RRType

    Permalink
  3. val RRTYPE_AAAA: RRType

    Permalink
  4. val RRTYPE_CNAME: RRType

    Permalink
  5. val RRTYPE_MX: RRType

    Permalink
  6. val RRTYPE_NAPTR: RRType

    Permalink
  7. val RRTYPE_NS: RRType

    Permalink
  8. val RRTYPE_PTR: RRType

    Permalink
  9. val RRTYPE_SOA: RRType

    Permalink
  10. val RRTYPE_SRV: RRType

    Permalink
  11. val RRTYPE_TXT: RRType

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped