bind9 como servidor de nome de armazenamento em cache local e /etc/resolv.conf

0

Estou tentando configurar o BIND9 como um servidor DNS de cache local. Estou prestes a fazer isso em todos os meus sistemas: Linux, SmartOS, Mac OS X. Parece que é muito fácil configurar o bind para isso. Minha pergunta é: Eu preciso adicionar "nameserver 127.0.0.1" ao meu /etc/resolv.conf para perguntar primeiro ao servidor de nomes local? Ou isso é automático?

    
por ServArt 04.06.2016 / 21:51

1 resposta

0

para as páginas do manual , não, você não precisa configurá-lo.

nameserver - Name server IP address Internet address of a name server that the resolver should query, either an IPv4 address (in dot notation), or an IPv6 address in colon (and possibly dot) notation as per RFC 2373. Up to MAXNS (currently 3, see ) name servers may be listed, one per keyword. If there are multiple servers, the resolver library queries them in the order listed. If no nameserver entries are present, the default is to use the name server on the local machine. (The algorithm used is to try a name server, and if the query times out, try the next, until out of name servers, then repeat trying all the name servers until a maximum number of retries are made.)

    
por 04.06.2016 / 22:51

Tags