[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[],[],null,["# Query using DNS\n\nService Directory supports DNS queries for the following record types:\n\n- `A`/`AAAA`/`SRV` records for a service or an endpoint\n- `SOA`/`NS` records for the private zone origin\n\nFor a detailed explanation of these record types, see [List of DNS record\ntypes](https://www.wikipedia.org/wiki/List_of_DNS_record_types).\n\n`A`/`AAAA` queries must observe the following format: \n\n```\nSERVICE_NAME.ZONE_DOMAIN_NAME\n```\n\nOptionally: \n\n```\nENDPOINT_NAME.SERVICE_NAME.ZONE_DOMAIN_NAME\n```\n\n`SRV` queries must observe the following format: \n\n```\n_SERVICE_NAME._tcp.SERVICE_NAME.ZONE_DOMAIN_NAME\n```\n| **Note:** \u003cvar translate=\"no\"\u003eSERVICE_NAME\u003c/var\u003e appears *twice* in the query name and the first label is preceded by a literal underscore character.\n\nOptionally: \n\n```\n_SERVICE_NAME._tcp.ENDPOINT_NAME.SERVICE_NAME.ZONE_DOMAIN_NAME\n```\n\nAll services and endpoints in Service Directory default to\nhaving their service name as the symbolic service and a protocol of **tcp**.\n\nWhat's next\n-----------\n\n- To get an overview of Service Directory, see the [Service Directory overview](/service-directory/docs/overview).\n- To find solutions for common issues that you might encounter when using Service Directory, see [Troubleshooting](/service-directory/docs/troubleshooting)."]]