Latest Server related questions

Score: 0
Is there a way to disable ipv4 fallback in squid proxy
us flag

Is there a way to disable ipv4 fallback in squid, i will only use ipv6 outgoing address but if e.g. site is accepting only ipv4 squid fallback to ipv4 i will no fallback.

Score: 0
Daniel avatar
Accessing Mosquitto MQTT from outside my kubernetes cluster
us flag

I have the following Mosquitto setup on my minikube:

Deployment:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: mosquitto
  namespace: mosquitto
spec:
  replicas: 1
  selector:
    matchLabels:
      name: mosquitto
  template:
    metadata:
      labels:
        name: mosquitto
    spec:
      containers:
        - name: mosquitto
          image: eclipse-mosquitto:2.0.12
          ports:
    ...
Score: 0
If a user runs libvirtd inside a docker container, is there any way to discover the user's VMs?
cn flag

Potentially naive question that I'm hoping some cgroups experts can answer quickly:

Assuming the following docker workflow was run by Linux user joe, how can the system root user determine that a VM is indeed running?

IMAGE_NAME="ubuntu:20.10"
DOCKER_ARGS="--rm -i --privileged"

cat <<"EOF" | docker run ${DOCKER_ARGS} ${IMAGE_NAME}
set -ex
apt-get update
apt-get install -y libvirt0 virt-manager

 ...
Score: 0
tester778899 avatar
In Active Directory are Users always stored in the Users folder?
mx flag

I am in a position where I am working with some very basic AD authentication. Basically as long as I can bind with some credentials, I consider a user authenticated with AD and I'm done. The difficult thing is I don't have access to the AD server and know very little about AD in general. So I cannot answer my own simple question and my requirement is kind of odd.

I need to let a user manually log ...

Score: 0
How to copy docker volumes linux->windows
cn flag

I'd like to copy my docker setup from linux to windows. I've activated wsl2 for some dev purpose and installed docker desktop.

  • not sure if it's better to use docker inside wsl2 if supported or use docker desktop
  • not sure how to copy docker volumes The only idea I've is to pack the volumes on linux, run docker actually docker-compose and next replace the volumes content by unpacking the archives
Score: -2
Hidden Primary DNS NS records
fr flag

I am trying to setup a hidden primary DNS server and want to understand what should the right way to setup the SOA and NS records

The hidden primary DNS will then do zone transfer to the secondary DNS that will be authoritative and serving DNS requests

The hidden primary DNS service provider is requesting to setup vanity NS in the zonefile

I do not understand the reason for doing so - i don't mind expo ...

Score: 0
Axel avatar
Stupid /etc deletion
ru flag

Common problem, many posts about this, I know. I have my hands into debian/ubuntu for the past 20 years. But I did something stupid anyways:

I needed to restore my Let's Encrypt certificates so I moved my "/etc" backup archive to "/root". Untar, moved the certificates back to "/etc/letsencrypt" and tried to remove my "/root/etc" folder. I suppose you see where I am going... Tired, unfocused, I cl ...

Score: 1
Mystic avatar
Interface following a link
id flag

A machine with debian 10. It has 3 interfaces with different ip. One of them is needed in rare cases, it has a static route to the management network (the rest of the routing works via ospf through another interface).
The problem is that if you pull the cable out of the network card, the interface is still up and the route remains. Can't this be automated? And I could not find anything on this quest ...

Score: 0
Asif Alamgir avatar
Application connecting to an application behind VPN
de flag

This is my first time working with networking and I might be completely wrong what needs to be done.

Requirements: My Backend application written in PHP needs to communication with 3rd party application which is behind a VPN network

My domain are all registered in cloudflare.

My understanding is, I can have a proxy server that will communicate with the VPN application but VPN application requires PSK a ...

Score: 0
Saku avatar
Register Mac to Azure AD without enrolling in Intune
mf flag

I am looking to find out if Mac devices can be registered (not joined) to Azure AD. I've tried to research on both Google and this site, but all information I was able to find pertained to joining Azure AD and/or enrolling the device in Intune. Note that we don't need the users to be able to sign into the device with Azure AD credentials. We just need the device to show up registered in Azure AD. ...

Score: 2
Rancher x509 Certificate Expired yet not
ec flag

When running kubectl, I get the error

Unable to connect to the server: x509: certificate has expired or is not yet valid: current time 2021-10-05T11:59:14-04:00 is after 2021-09-29T19:21:40Z

So clearly it says the cert is expired. Only problem is I'm not sure which cert it is.

I've checked

  • HAProxy (Rancher sits behind L7 HAProxy with LE cert)
  • Certs in the secrets shown from sudo k3s kubectl get  ...
Score: 0
Deploying a GCP cloud function: terraform throws error but via gcloud function deploy it works
br flag

I'm trying to deploy a cloud function via terraform:

+ resource "google_cloudfunctions_function" "scc-function" {
  + available_memory_mb           = 256
  + description                   = "scc notification handler"
  + entry_point                   = "scc_notification_handler"
  + https_trigger_url             = (known after apply)
  + id                            = (known after apply)
  + ingre ...
Score: 0
LDAP bind to Azure Domain Services
sx flag

I'm testing Azure AD and Azure AD DS and I have some issues to bind to Azure DS using LDAP. I used the default AD tenant in my subscription, so i get a domain foo.onmicrosoft.com. Then I create a ADDS synchronized with this directory.

From a Linux VM, I tried to bind to the AD using ldapsearch and I got "invalid credentials" with the following command

ldapsearch -h <ip> -p 389 -b "dc=foo,dc=onmicr ...

Score: 0
user2871239 avatar
Can't install SqlServer PowerShell module 21.1.18256: PackageManagement\Install-Package : Access is denied
us flag

I have servers which have no access to the Internet so I have an internal PSRepository. I've downloaded the current SqlServer module (21.1.18256) and published it to my internal repo. I've installed it on five servers. On the sixth, I get:

> Install-module -name SqlServer -Repository JLP -AllowClobber
PackageManagement\Install-Package : Access is denied
At C:\Program Files\WindowsPowerShell\M ...
Score: 0
Musfiq Sazal avatar
How to get cpu usage per core or normalize based on frequency in Windows?
de flag

We were able collect windows trace (ETW trace/ ETL) and it provides a lot of information about the system and resource usage by the processes. Is there any way to extract cpu usage time per core (not the total cpu usage)? Also, how to normalize the cpu usage based on frequency?

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.