> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List DNS servers

> Returns a paginated list of DNS servers on the account. Filter by Network to find its resolvers.



## OpenAPI

````yaml /openapi/source/external/netapps/netapps.json get /dns_servers
openapi: 3.1.0
info:
  version: 2.0.0
  title: Telnyx API
  x-latency-category: responsive
  x-endpoint-cost: light
  description: SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
  license:
    name: MIT
    identifier: MIT
  contact:
    email: support@telnyx.com
servers:
  - url: https://api.telnyx.com/v2
    description: Version 2.0.0 of the Telnyx API
security:
  - bearerAuth: []
tags:
  - name: Networks
    description: Network operations
  - name: Public Internet Gateways
    description: Public Internet Gateway operations
  - name: WireGuard Interfaces
    description: WireGuard Interface operations
  - name: Tunnels
    description: >-
      Tunnels connect a Network to hosts behind a tunnel process within the
      user's network.
  - name: Network Routes
    description: Routes on a Network that send a CIDR to a next hop, such as a tunnel.
  - name: Tailscale Subnet Routers
    description: Tailscale Subnet Router operations
  - name: Virtual Cross Connects
    description: Virtual Cross Connect operations
  - name: Regions
    description: Regions
  - name: Global IPs
    description: Global IPs
  - name: DNS Servers
    description: DNS servers resolve private names and forward queries through a Network.
paths:
  /dns_servers:
    get:
      tags:
        - DNS Servers
      summary: List DNS servers
      description: >-
        Returns a paginated list of DNS servers on the account. Filter by
        Network to find its resolvers.
      operationId: ListDnsServers
      parameters:
        - name: filter
          in: query
          style: deepObject
          explode: true
          description: >-
            Consolidated filter parameter (deepObject style). Originally:
            filter[network_id]
          schema:
            type: object
            properties:
              network_id:
                type: string
                example: 0de011ae-ee53-4df4-ba96-754728eb5aad
                description: The id of the Network to filter on.
        - $ref: '#/components/parameters/PageConsolidated'
      responses:
        '200':
          description: DNS servers on the account.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/DnsServer'
                  meta:
                    $ref: '#/components/schemas/PaginationMeta'
              example:
                data:
                  - id: 93a7a1be-9375-446e-a8b2-a85dc391d443
                    record_type: dns_server
                    name: dns-ashburn
                    network_id: 0de011ae-ee53-4df4-ba96-754728eb5aad
                    region_code: ashburn-va
                    zones:
                      - corp.example
                    forwarders: []
                    forward_zones:
                      - zone: corp.internal
                        forwarders:
                          - 10.60.0.53
                    address: 172.27.240.22
                    status: provisioned
                    created_at: '2026-11-05T17:35:48.282986Z'
                    updated_at: '2026-11-05T17:35:48.282986Z'
                meta:
                  total_pages: 1
                  total_results: 1
                  page_number: 1
                  page_size: 25
        '400':
          description: A query parameter is invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
              example:
                errors:
                  - code: '10026'
                    title: Invalid request parameter
                    detail: A query parameter has an invalid type.
        default:
          $ref: '#/components/responses/GenericErrorResponse'
components:
  parameters:
    PageConsolidated:
      name: page
      in: query
      style: deepObject
      explode: true
      description: >-
        Consolidated page parameter (deepObject style). Originally:
        page[number], page[size]
      schema:
        type: object
        properties:
          number:
            type: integer
            minimum: 1
            default: 1
            description: The page number to load
          size:
            type: integer
            minimum: 1
            maximum: 250
            default: 20
            description: The size of the page
  schemas:
    DnsServer:
      type: object
      title: DnsServer
      properties:
        id:
          type: string
          format: uuid
          description: The ID of the DNS server.
          readOnly: true
          example: 93a7a1be-9375-446e-a8b2-a85dc391d443
        record_type:
          type: string
          enum:
            - dns_server
          readOnly: true
          description: The resource type.
          example: dns_server
        name:
          type: string
          minLength: 1
          maxLength: 128
          description: A name for the DNS server. The name cannot contain only whitespace.
          example: dns-ashburn
        network_id:
          type: string
          format: uuid
          description: The ID of the Network that owns the DNS server.
          example: 0de011ae-ee53-4df4-ba96-754728eb5aad
        region_code:
          type: string
          description: >-
            The region in which to create the DNS server. The region must
            support DNS servers and be available to the account.
          example: ashburn-va
        zones:
          type: array
          maxItems: 19
          uniqueItems: true
          default: []
          items:
            type: string
            maxLength: 248
            example: corp.example
          description: >-
            Additional zones besides `private.telnyxcompute.com`, which every
            server serves. Names are lowercased without a trailing dot. Zones
            cannot repeat, nest, or overlap the built-in zone or a forward zone.
            Zones and forward zones together can contain at most 19 names.
          example:
            - corp.example
        forwarders:
          type: array
          maxItems: 3
          uniqueItems: true
          default: []
          items:
            type: string
            format: ipv4
            example: 10.60.0.53
          description: >-
            Up to three IPv4 resolvers reachable through the Network for names
            outside the served and forwarded zones. An omitted or empty list
            uses public upstream resolvers instead. Loopback, unspecified,
            multicast, link-local, and DNS server addresses in `172.27.240.0/21`
            are not allowed.
          example:
            - 10.60.0.53
        forward_zones:
          type: array
          maxItems: 19
          default: []
          description: >-
            Zones whose queries go to resolvers on the Network. These zones
            cannot overlap each other, served zones, or
            `private.telnyxcompute.com`. Zones and forward zones together can
            contain at most 19 names. Forward-zone resolvers must accept DNS
            over TCP port 53.
          items:
            $ref: '#/components/schemas/DnsForwardZone'
          example:
            - zone: corp.internal
              forwarders:
                - 10.60.0.53
        address:
          type: string
          format: ipv4
          readOnly: true
          description: >-
            The IPv4 address that hosts on the Network query. Assigned at
            creation and unchanged for the lifetime of the server.
          example: 172.27.240.22
        status:
          type: string
          readOnly: true
          enum:
            - provisioning
            - provisioned
            - failed
            - deleting
          description: >-
            `provisioning`: deployment is queued or running. `provisioned`: the
            server serves the current configuration. `failed`: deployment
            failed. `deleting`: removal is queued or running. If deployment
            fails, send `PATCH /dns_servers/{id}` with `{}` to retry.
          example: provisioned
        created_at:
          type: string
          format: date-time
          readOnly: true
          description: The ISO 8601 timestamp when the DNS server was created.
          example: '2026-11-05T17:35:48.282986Z'
        updated_at:
          type: string
          format: date-time
          readOnly: true
          description: The ISO 8601 timestamp when the DNS server was last updated.
          example: '2026-11-05T17:35:48.282986Z'
    PaginationMeta:
      type: object
      properties:
        total_pages:
          type: integer
          example: 3
        total_results:
          type: integer
          example: 55
        page_number:
          type: integer
          example: 2
        page_size:
          type: integer
          example: 25
    Errors:
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/Error'
      type: object
    DnsForwardZone:
      type: object
      additionalProperties: false
      required:
        - zone
        - forwarders
      properties:
        zone:
          type: string
          maxLength: 253
          description: >-
            The domain to forward, normalized to lowercase without a trailing
            dot.
          example: corp.internal
        forwarders:
          type: array
          maxItems: 3
          uniqueItems: true
          items:
            type: string
            format: ipv4
            example: 10.60.0.53
          description: >-
            One to three IPv4 resolvers reachable through the Network. Public
            addresses are not allowed.
          example:
            - 10.60.0.53
          minItems: 1
    Error:
      required:
        - code
        - title
      properties:
        code:
          type: string
        title:
          type: string
        detail:
          type: string
        source:
          type: object
          properties:
            pointer:
              description: JSON pointer (RFC6901) to the offending entity.
              type: string
            parameter:
              description: Indicates which query parameter caused the error.
              type: string
        meta:
          type: object
          additionalProperties: true
      type: object
  responses:
    GenericErrorResponse:
      description: Unexpected error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Errors'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````