#3085 server's resolv.conf should contain other DNS servers also
Closed: Fixed None Opened 11 years ago by pspacek.

IPA server installer creates /etc/resolv.conf file with line "nameserver 127.0.0.1". This file should contain IP adresses for other DNS servers also. This allows IPA server to run even if local named crashes.

See man resolv.conf and resolv.h for maximum number of nameserver lines.


Problem statement:

Each server has only itself as a nameserver in the resolve.conf this ticket is to add a note into the documentation that we recommend adding other servers manually to the resolve.conf as new replicas are deployed.

Another ticket https://fedorahosted.org/freeipa/ticket/3095 is opened to track a long term feature to keep this list automatically.

Documentation should mention maximum number of nameserver lines in /etc/resolv.conf. Please see man resolv.conf, paragraph nameserver around MAXNS constant:

Part of man page from my system:

       nameserver Name server IP address
              Internet address (in dot notation) of a name server that the resolver should query.  Up to MAXNS (currently  3,  see  <resolv.h>)  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.)

Posted patch for review on mailing list.

Metadata Update from @pspacek:
- Issue assigned to rga
- Issue set to the milestone: FreeIPA 3.x Documentation

7 years ago

Login to comment on this ticket.

Metadata