all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Trevor Vallender <trevor@tsvallender.co.uk>
To: help-guix@gnu.org
Subject: Configuring nscd cache for mDNS
Date: Mon, 07 Nov 2022 17:33:44 +0000 (UTC)	[thread overview]
Message-ID: <f2fa17a5-1223-4f76-ac90-75abd98b71cb@tsvallender.co.uk> (raw)

Hello


I have a Docker container which advertises its name using mDNS,
e.g. hostname.local. However, when I restart the container,
Docker assigns the container a new IP (not sure why, doesn't
happen on other distros but that's probably not the point
here). nscd has the old IP cached and doesn't refresh even though
the container is advertising the new IP. I'm not sure why this
behaviour is occurring, or if it is the expected behaviour?

I'm don't know the correct fix here but am open to suggestions. I
presume one of the following:

- Configure nscd not to cache mDNS addresses
- Shorten the length of time these addresses are cached for

If someone could suggest why this is occurring, or provide an
example of how to do one of the above, that would be brilliant.

Thanks,

Trevor Vallender.



             reply	other threads:[~2022-11-07 17:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-07 17:33 Trevor Vallender [this message]
2022-11-18 16:47 ` Configuring nscd cache for mDNS Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f2fa17a5-1223-4f76-ac90-75abd98b71cb@tsvallender.co.uk \
    --to=trevor@tsvallender.co.uk \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.