on master help sign in
dns command syntax
09e83d6syzygyzer
content/using/operations/using-your-ship.md+4−4
@@ -197,13 +197,13 @@ To get `ship.arvo.network` on a planet or star, you must set up DNS routing with
197To do so, simply run this command in your ship's Dojo:
197To do so, simply run this command in your ship's Dojo:
198
198
199```
199```
200−> :dns|request
200+> -dns-address +dns/request
201```
201```
202
202
203You'll then be prompted to enter the public IP address of your ship. You can also pass the IP address as an argument, using the .0.0.0.0 (`@if`) syntax. For example:
203You'll then be prompted to enter the public IP address of your ship. You can also pass the IP address as an argument, using the .0.0.0.0 (`@if`) syntax. For example:
204
204
205```
205```
206−> :dns|request .1.2.3.4
206+> -dns-address +dns/request .1.2.3.4
207```
207```
208
208
209`:dns`, running locally, will make an HTTP request to that IP address on port 80 to confirm that it is itself available at that IP and port. If that fails, you'll receive a `%bail-early` message in `:chat-cli`; this request will retry a few times. If the self-check is successful, the request is relayed to `~zod`, and you'll receive a message saying, `request for DNS sent to ~zod`. Once `~zod` has acknowledged receipt of the request, your local `:dns` app will send a `:chat-cli` message saying `awaiting response from ~zod`.
209`:dns`, running locally, will make an HTTP request to that IP address on port 80 to confirm that it is itself available at that IP and port. If that fails, you'll receive a `%bail-early` message in `:chat-cli`; this request will retry a few times. If the self-check is successful, the request is relayed to `~zod`, and you'll receive a message saying, `request for DNS sent to ~zod`. Once `~zod` has acknowledged receipt of the request, your local `:dns` app will send a `:chat-cli` message saying `awaiting response from ~zod`.
@@ -219,12 +219,12 @@ Galaxies are already required to have separate DNS entry at galaxy.urbit.org. Th
219There is a command for galaxies that will try to re-use their already-necessary Ames DNS entry for HTTPS:
219There is a command for galaxies that will try to re-use their already-necessary Ames DNS entry for HTTPS:
220
220
221```
221```
222−> :dns|auto
222+> -dns-auto
223```
223```
224
224
225This will make HTTP-requests to self-check availability over `galaxy.$AMES-DOMAIN` (currently galaxy.urbit.org), where `galaxy` is the galaxy's name minus the `~`.
225This will make HTTP-requests to self-check availability over `galaxy.$AMES-DOMAIN` (currently galaxy.urbit.org), where `galaxy` is the galaxy's name minus the `~`.
226
226
227−Otherwise, `:dns|auto` works the same as `:dns|ip` does with stars and planets: if it's available or unavailable, Chat messages, and so on.
227+Otherwise, `-dns-auto` works the same as `:dns|ip` does with stars and planets: if it's available or unavailable, Chat messages, and so on.
228
228
229### More information
229### More information
230
230