SimplyStack
APIAPIMetaMeta
(opens in a new tab)
    • Introduction
    • Responses
    • Get DNS Attributes
    • Get DNS Nameservers
    • Get Floating Ipv4 Address
    • Get Floating Ipv4 Attributes
    • Get Floating Ipv4 Index
    • Get Floating Ipv4 State
    • Get Anchor Interface Ipv4 Address
    • Get Anchor Interface Ipv4 Attributes
    • Get Anchor Interface Ipv4 Gateway
    • Get Anchor Interface Ipv4 Netmask
    • Get Network Interface Index
    • Get Public Interface Attributes
    • Get Public Interface Index
    • Get Public Interface Ipv4 Address
    • Get Public Interface Ipv4 Attributes
    • Get Public Interface Ipv4 Gateway
    • Get Public Interface Ipv4 Netmask
    • Get Public Interface Ipv6 Address
    • Get Public Interface Ipv6 Attributes
    • Get Public Interface Ipv6 Cidr
    • Get Public Interface Ipv6 Gateway
    • Get Public Interface Mac Address
    • Get Public Interface Type
    • Get Hostname
    • Get Metadata Index
    • Get Metadata Json
    • Get Public Keys
    • Get Region
    • Get Stacklet Id
    • Get User Data
    • Get Vendor Data

On This Page

  • Endpoint
  • Response
  • Example
Question? Give us feedback → (opens in a new tab)Edit this page
Meta
DNS
Get DNS Nameservers

Get DNS Nameservers

Returns the nameserver entries that are added to a Stacklet's /etc/resolv.conf file during creation.

Endpoint

http://169.254.169.254/metadata/v1/dns/nameservers

Response

—200

DNS resolvers list in plain text.

Example

text
8.8.8.8
8.8.4.4
2001:4860:4860::8888
2001:4860:4860::8844
Get DNS AttributesGet Floating Ipv4 Address

© 2023 SimplyStack. All rights reserved.