fly dig

Make DNS requests against’s internal DNS server. Valid types include AAAA and TXT (the two types our servers answer authoritatively), AAAA-NATIVE and TXT-NATIVE, which resolve with Go’s resolver (they’re slower, but may be useful if diagnosing a DNS bug) and A and CNAME (if you’re using the server to test recursive lookups.) Note that this resolves names against the server for the current organization. You can set the organization with -o ; otherwise, the command uses the organization attached to the current app (you can pass an app in with -a ).


flyctl dig [type] <name> [flags]


  -a, --app string      Application name
  -c, --config string   Path to application configuration file
  -h, --help            help for dig
  -o, --org string      The target organization
  -s, --short           Just print the answers, not DNS record details

Global Options

  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output

See Also

  • flyctl - The command line interface