This option is enabled by default. Network daemons should set this option. This option causes .Xr gethostbyname 3 to look for AAAA records before looking for A records if none are found. If no server is configured, the host running the resolver is tried. This is similar to the .Ic search command in the configuration file.
Initialization normally occurs on the first call to one of the other resolver routines.
They constructs a query, sends it to the local server, awaits a response, and makes preliminary checks on the reply. The query requests information of the specified .Fa type and .Fa class for the specified fully-qualified domain name .Fa dname . The domain name for the query is given by .Fa dname . Newrr is currently unused but is intended for making update messages. In this case, only one nameserver will be contacted.