Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #255580

Re: besides ping/nslookup, any other tools to resolve a hostname?

From Ken Young <ken@highwinds.cloud>
Newsgroups linux.debian.user
Subject Re: besides ping/nslookup, any other tools to resolve a hostname?
Date 2023-03-04 10:40 +0100
Message-ID <G5wwV-9ZkD-5@gated-at.bofh.it> (permalink)
References <G5opH-9TB4-1@gated-at.bofh.it> <G5stj-9Ws8-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

I just launched an ubuntu container in that namespace and installed
dnsutils/iputils-ping to resolve the hostname issue.

Thank you.


On Sat, Mar 4, 2023 at 1:11 PM Rodrigo Cunha <rodrigo.root.rj@gmail.com>
wrote:

> I have bitnami/mysql container (debian OS) running on kubernetes.
>> This container seems too restricted for system software, these following
>> commands are removed:
>>
>> sudo (so I can't su to root for apt)
>> ping
>> dig
>> nslookup
>> net-tools
>>
> It is a good practice to build small images for pods without commands for
> the network. To solve this problem, you can do that:
> Create a pod in the same network with net tools.
> Or
> 1 .rebuild a new docker image with another version, with net-tools.
> 2. then change the current pod with edit in deployment.
>
>
>
> On Fri, Mar 3, 2023 at 9:59 PM Ken Young <ken@highwinds.cloud> wrote:
>
>> Hello,
>>
>> I have bitnami/mysql container (debian OS) running on kubernetes.
>> This container seems too restricted for system software, these following
>> commands are removed:
>>
>> sudo (so I can't su to root for apt)
>> ping
>> dig
>> nslookup
>> net-tools
>>
>> Do you know any other way to resolve a hostname by manual  on this
>> container?
>>
>> Thanks
>> Ken
>>
>
>
> --
> Atenciosamente,
> Rodrigo da Silva Cunha
> São Gonçalo, RJ - Brasil
>
>

Back to linux.debian.user | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

besides ping/nslookup, any other tools to resolve a hostname? Ken Young <ken@highwinds.cloud> - 2023-03-04 02:00 +0100
  Re: besides ping/nslookup, any other tools to resolve a hostname? Greg Wooledge <greg@wooledge.org> - 2023-03-04 02:30 +0100
    Re: besides ping/nslookup, any other tools to resolve a hostname? Nicolas George <george@nsup.org> - 2023-03-04 10:40 +0100
  Re: besides ping/nslookup, any other tools to resolve a hostname? Max Nikulin <manikulin@gmail.com> - 2023-03-04 03:10 +0100
  Re: besides ping/nslookup, any other tools to resolve a hostname? Rodrigo Cunha <rodrigo.root.rj@gmail.com> - 2023-03-04 06:20 +0100
    Re: besides ping/nslookup, any other tools to resolve a hostname? Ken Young <ken@highwinds.cloud> - 2023-03-04 10:40 +0100

csiph-web