Skip to content

Commit

Permalink
Add a note about setting up DNS to use LXD's DNS
Browse files Browse the repository at this point in the history
This allows connecting to containers using their domain name instead of
their IP address.
  • Loading branch information
lgp171188 committed Mar 22, 2024
1 parent 56f46bc commit 2838c4f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions how-to/running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,14 @@ getting it installed and configured on your network.
ssh -A $USER@IP_ADDRESS_FROM_LXC_LS
.. note::
LXD provides a way to access the LXD containers using DNS names, for example, ``lpdev.lxd``,
where ``.lxd`` is the default base domain name for the LXD bridge and ``lpdev`` is the name of
the LXD container. To set this up, follow the instructions in
https://documentation.ubuntu.com/lxd/en/latest/howto/network_bridge_resolved/.
Once the setup is done, you can use ``lpdev.lxd`` in the above command instead of the
IP address of the ``lpdev`` container.
Getting Launchpad
=================
Expand Down

0 comments on commit 2838c4f

Please sign in to comment.