Integración de Active Directory de SLES 15 con SSSD: Guía paso a paso
Une SLES 15 a Active Directory con SSSD usando YaST. Prepara el DNS y la hora, configura los inicios de sesión del dominio, verifica Kerberos y compara SSSD, Winbind y realmd.
The error Temporary failure in name resolution means an application could not turn a hostname such as deb.debian.org into an IP address. On Debian 12 (Bookworm), that does not automatically mean systemd-resolved is broken. Debian 12 does not install systemd-resolved by default, and DNS may instead be managed directly by NetworkManager, ifupdown, DHCP tooling, or another resolver. If you have deliberately enabled systemd-resolved, the fastest fix is to identify which layer is failing before changing configuration.
This practical reference focuses on systems that use, or are intended to use, systemd-resolved. Debian's Bookworm package documentation says installing systemd-resolved switches /etc/resolv.conf to systemd-resolved management. The service itself provides a local DNS stub on 127.0.0.53 and accepts upstream DNS information from global configuration, per-link network configuration, DHCP, resolvectl, and network-management services. See the Debian systemd-resolved package page and Debian systemd-resolved manual.
| Check | Command | What the result tells you |
|---|---|---|
| Basic network path | ping -c 3 1.1.1.1 | If an IP works but a hostname does not, investigate DNS. ICMP can be blocked, so do not treat a failed ping as proof that the network is down. |
| Resolver service | systemctl is-active systemd-resolved | active confirms the daemon is running; it does not prove upstream DNS is usable. |
| Effective DNS | resolvectl status | Shows global and per-link DNS servers, scopes, routing domains, and the active resolver mode. |
| glibc lookup path | getent ahosts debian.org | Tests hostname resolution through the system's Name Service Switch path rather than only a DNS-specific tool. |
| Resolver logs | journalctl -u systemd-resolved -b | Useful for unavailable DNS servers, fallback behavior, and protocol problems. |
Start by testing a hostname and then an IP address:
getent ahosts debian.org
ping -c 3 debian.org
ping -c 3 1.1.1.1
If the hostname lookup fails while the direct IP test succeeds, DNS is the likely fault domain. If both fail, first inspect the interface, route, gateway, VLAN, Wi-Fi association, firewall, or upstream network. A DNS change cannot repair a missing default route.

For a more deterministic routing check, also run:
ip address
ip route
You should normally have an address on the expected interface and a default route. The exact interface name may be enp1s0, ens160, eth0, or something else.
Do not assume it is present just because the machine uses systemd. Check both the package and service:
dpkg -s systemd-resolved 2>/dev/null | grep '^Status'
systemctl status systemd-resolved --no-pager
resolvectl status
If the package is absent and your machine has another working DNS-management design, installing systemd-resolved is not automatically the correct fix. If the system is supposed to use it and the service is installed but stopped, enable and start it:
sudo systemctl enable --now systemd-resolved
If that command fails, inspect the logs before repeatedly restarting the service:
journalctl -u systemd-resolved -b --no-pager
The most common configuration mistake is treating /etc/resolv.conf as an isolated file. With systemd-resolved, it can operate in several supported modes. The upstream-recommended stub mode links /etc/resolv.conf to /run/systemd/resolve/stub-resolv.conf, which points traditional DNS clients at 127.0.0.53. Another valid mode links to /run/systemd/resolve/resolv.conf, which exposes known upstream servers directly but loses systemd-resolved's per-link DNS routing for applications that read that file directly.
ls -l /etc/resolv.conf
cat /etc/resolv.conf

A regular file is not automatically wrong. NetworkManager or another resolver manager may intentionally own it. However, if this host is designed to use systemd-resolved stub mode, a stale regular file, dangling symlink, or file pointing at unreachable nameservers can cause lookup failures.
sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
sudo systemctl restart systemd-resolved
ls -l /etc/resolv.conf
cat /etc/resolv.conf

Seeing nameserver 127.0.0.53 in the stub file is expected. It is the local listener, not the upstream DNS server. Use resolvectl status to see which upstream servers systemd-resolved will actually contact. This distinction is documented in the systemd-resolved Bookworm manual.
Run:
resolvectl status
Focus on the link that carries the default route. A healthy configuration should normally show one or more DNS servers for that link or suitable global DNS servers. If no usable DNS server is present, fixing the symlink alone will not help: the local stub has nowhere useful to send queries.
You can test the resolver directly:
resolvectl query debian.org
The Debian resolvectl manual documents status, query, flush-caches, and the per-link DNS commands used for inspection and troubleshooting.
On desktop installations and many general-purpose Debian systems, NetworkManager may provide per-link DNS information to systemd-resolved. First identify the active profile and current DNS values:
nmcli connection show --active
nmcli device show

If DHCP is supplying a bad DNS server, change the NetworkManager profile rather than editing /etc/resolv.conf after every reboot. For example, if your network policy permits public resolvers:
sudo nmcli connection modify "Wired connection 1" ipv4.ignore-auto-dns yes ipv4.dns "1.1.1.1 9.9.9.9"
sudo nmcli connection up "Wired connection 1"
Reemplace el nombre del perfil y los servidores DNS con valores apropiados para su red. Las redes corporativas, las VPN, los entornos de Active Directory y las configuraciones de DNS dividido a menudo requieren resolvedores internos; el DNS público puede causar problemas con los nombres de host privados. La documentación de referencia de configuración oficial de NetworkManager describe su integración con systemd-resolved.
Para servidores que utilizan systemd-networkd, coloque la configuración DNS en el .networkarchivo correspondiente en /etc/systemd/network/. Un ejemplo sencillo basado en DHCP es:
[Match]
Name=ens160
[Network]
DHCP=yes
DNS=1.1.1.1
DNS=9.9.9.9
Domains=~.
[DHCPv4]
UseDNS=no
UseDNS=noEsto importa cuando se desea ignorar específicamente los servidores DNS proporcionados por DHCP. Sin él, se utiliza DHCP DNS por defecto. Domains=~.Es un dominio de solo enrutamiento para la raíz DNS, lo que hace que ese enlace sea adecuado para consultas que no coinciden con un dominio de enrutamiento más específico. No lo agregue indiscriminadamente en sistemas con múltiples conexiones o VPN donde la división de DNS es intencional.
sudo systemctl restart systemd-networkd
resolvectl status ens160

El comportamiento de DNS=, Domains=, y DHCP UseDNS=está documentado en el manual systemd.network de Debian Bookworm .
/etc/systemd/resolved.confo bien, se puede insertar un archivo /etc/systemd/resolved.conf.d/que defina los servidores DNS del sistema. Esto resulta útil para una política a nivel de host, pero es menos preciso que la configuración por enlace en máquinas con VPN, múltiples interfaces o zonas DNS privadas.
Generalmente, una solución local es más limpia que editar el archivo principal del proveedor:
sudo mkdir -p /etc/systemd/resolved.conf.d
sudoedit /etc/systemd/resolved.conf.d/10-dns.conf
Ejemplo:
[Resolve]
DNS=1.1.1.1 9.9.9.9
Luego aplícalo:
sudo systemctl restart systemd-resolved
resolvectl status
El manual resolved.conf de Debian explica que DNS=proporciona servidores DNS del sistema y que las configuraciones de administrador /etc/systemd/resolved.conf.d/tienen prioridad sobre las configuraciones de menor prioridad.
Una caché obsoleta puede dificultar la resolución de problemas, pero vaciar la caché no sustituye la reparación de un servidor ascendente inaccesible o una configuración de enlace rota. Después de realizar un cambio de configuración real, puede ejecutar:
sudo resolvectl flush-caches
resolvectl query debian.org

La propia documentación de Systemd señala que las cachés se vacían automáticamente cuando cambia la configuración de red, por lo que vaciarlas manualmente de forma repetida no debería ser la solución principal.
Si resolvectl statusparece razonable pero las consultas siguen agotando el tiempo de espera, inspeccione el registro del resolvedor local de arranque:
journalctl -u systemd-resolved -b --no-pager
journalctl -u systemd-resolved -b --no-pager | tail -n 50

Busque tiempos de espera del servidor repetidos, cambios en el servidor de reserva, fallos de validación DNSSEC o mensajes que indiquen funciones de protocolo reducidas. Un resolvedor puede estar funcionando con normalidad aunque su servidor ascendente configurado sea inaccesible a través de un cortafuegos, una VPN, una política de enrutamiento o una lista de control de acceso (ACL) de red.
No se detenga después de una resolvectlconsulta exitosa. Verifique la ruta utilizada por las aplicaciones normales:
getent ahosts debian.org
resolvectl query debian.org
sudo apt update

getentes útil porque las búsquedas de nombres de host de glibc siguen la hosts:línea en /etc/nsswitch.conf. Si resolvectl querytiene éxito pero getentfalla, inspeccione esa configuración de NSS. El manual de nss-resolve de Debian describe el módulo opcional libnss-resolvey un orden recomendado que puede enrutar las búsquedas de nombres de host de glibc a través de systemd-resolved manteniendo las alternativas.
| Síntoma | Área probable | Siguiente comprobación |
|---|---|---|
| La conectividad IP funciona; todos los nombres de host fallan. | Servidor DNS, servicio de resolución o resolv.conf | resolvectl statusyls -l /etc/resolv.conf |
resolvectl queryfunciona; las aplicaciones normales fallan | Ruta de resolución NSS o específica de la aplicación | getent ahostsy/etc/nsswitch.conf |
| El DNS falla después de reiniciar o reconectar. | Configuración propiedad del administrador de red | Perfil de NetworkManager o systemd-networkd |
| Los nombres públicos funcionan; los nombres internos fallan. | DNS dividido, VPN, dominios de enrutamiento | Servidores DNS por enlace y Domains=enresolvectl status |
| Solo falla una aplicación. | Resolutor de aplicación, contenedor, proxy o personalizado | Compara esa aplicación con getentyresolvectl query |
systemd-resolvedrealmente está destinado a administrar el DNS en este host.systemd-resolvedel estado del servicio y resolvectl status./etc/resolv.confla propiedad y el modo de enlace simbólico antes de modificarlo.stub-resolv.confenlace.resolvectl, getent, y la aplicación que falló originalmente.El principio fundamental es la propiedad: /etc/resolv.confsystemd-resolved y el gestor de red forman parte de una misma cadena de resolución. Una solución permanente modifica el DNS en la capa que lo gestiona, en lugar de reemplazar repetidamente el archivo final generado.
Une SLES 15 a Active Directory con SSSD usando YaST. Prepara el DNS y la hora, configura los inicios de sesión del dominio, verifica Kerberos y compara SSSD, Winbind y realmd.
Solucione el problema de Wi-Fi RTL8821CE en Pardus Linux revisando el controlador rtw88 integrado, el firmware de Realtek, rfkill, NetworkManager y las opciones de reserva segura.
Diagnose and fix Debian 12 DNS resolution failures with systemd-resolved, including resolv.conf, NetworkManager, networkd, cache, and verification.
Instale Pardus 25.2 junto a Windows 11 realizando una copia de seguridad, reduciendo el volumen de Windows, arrancando desde una unidad USB UEFI y protegiendo las particiones EFI y de recuperación existentes.
Diagnostica los fallos de actualización de Zypper con código HTTP 500 en SUSE Linux Enterprise Server. Identifica el repositorio que falla, comprueba los proxies y el registro, y actualiza los metadatos de forma segura.
Compare the so-called Pardus package manager “PETA” with APT, clarify current Pardus package tools, and choose the right interface for desktop use or administration.
Solucione los problemas de carga de los controladores NVIDIA tras una actualización del kernel de Ubuntu comprobando los módulos del kernel, el arranque seguro, DKMS, los encabezados, Nouveau y las discrepancias de versión.
Instale Pardus 23.4 XFCE en PC de 64 bits más antiguas con BIOS heredada, una unidad USB de arranque, particionamiento seguro y comprobaciones posteriores a la instalación para hardware de bajas especificaciones.
Aprende cómo Gooroom OS implementa capas de arranque seguro, protección de ejecutables y del sistema operativo, y controles del navegador, y qué deben verificar los usuarios sobre el entorno aislado (sandboxing).
Diagnostica la presión de memoria en Debian 12, ajusta el tamaño de MariaDB o MySQL, agrega espacio de intercambio con cuidado y verifica si tu VPS puede manejar su carga de trabajo.