openresolv (Português)

Openresolv é uma implementação de resolvconf, isto é, framework de gerenciamento de resolv.conf.

Status de tradução: Esse artigo é uma tradução de openresolv. Data da última tradução: 2020-04-07. Você pode ajudar a sincronizar a tradução, se houver alterações na versão em inglês.

Apesar do openresolv ser mais conhecido por permitir que vários aplicativos modifiquem o /etc/resolv.conf, ele atualmente é a única forma padrão de implementar:

Dica: Uma implementação alternativa é o systemd-resolvconf, mas ele só pode ser usado com systemd-resolved.

Instalação

Instale o pacote openresolv.

Uso

Openresolv fornece resolvconf(8) e é configurado no /etc/resolvconf.conf. Veja resolvconf.conf(5) para opções válidas.

A execução de vai gerar /etc/resolv.conf.

Usuários

Clientes DHCP:

Gerenciadores de rede:

Clientes VPN:

Assinantes

Openresolv pode ser configurado para passar servidores de nome e domínios de pesquisa para resolvedores de DNS. Há suporte aos seguintes resolvedores:

Veja a documentação oficial para instruções.

Dicas e truques

Definindo vários valores por opções

A página man não menciona isso, mas para definir vários valores, para opções que oferecem suporte a isso (p.ex., name_servers, /etc/resolv_conf_options etc.) no /etc/resolvconf.conf, você precisa escrevê-los separados por espaço entre aspas. Por exemplo:

gollark: Of course not.
gollark: If synapse runs out of file handles, it typically fails badly - live-locking at 100% CPU, and/or failing to accept new TCP connections (blocking the connecting client). Matrix currently can legitimately use a lot of file handles, thanks to busy rooms like #matrix:matrix.org containing hundreds of participating servers. The first time a server talks in a room it will try to connect simultaneously to all participating servers, which could exhaust the available file descriptors between DNS queries & HTTPS sockets, especially if DNS is slow to respond. (We need to improve the routing algorithm used to be better than full mesh, but as of March 2019 this hasn't happened yet).
gollark: Great idea and totally* practical via text to speech!
gollark: However, again, all is to be APIONET.
gollark: In theory, this is possible.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.