aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/inet_db.erl
AgeCommit message (Collapse)Author
2013-06-10Merge branch 'maint'Raimo Niskanen
Conflicts: lib/kernel/src/inet_db.erl
2013-06-07Improve case (in)sensitivity for host lookupsRaimo Niskanen
2013-05-06Fix unmatched_returns warnings in STDLIB and KernelHans Bolinder
2010-04-28kernel: Clean up as suggested by tidierKostis Sagonas
2010-03-07kernel: Add types and specsKostis Sagonas
2010-02-10Merge branch 'rani/inet_gethostbyname_fixes' into ccase/r13b04_devErlang/OTP
* rani/inet_gethostbyname_fixes: inet_res_SUITE: testcase fixes for legacy DNS resolver (Solaris 8) inet_res: /etc/resolv.conf: use domain as default search list inet: delayed/avoided read of /etc/resolv.conf and /etc/hosts inet_gethost_native: workaround for empty result hostname on MacOS X inet_res_SUITE: testcase fix for empty domain name inet:gethostbyname improved to parse IP strings and look up own hostname OTP-8426 The resolver routines failed to look up the own node name as hostname, if the OS native resolver was erroneously configured, bug reported by Yogish Baliga, now fixed. The resolver routines now tries to parse the hostname as an IP string as most OS resolvers do, unless the native resolver is used. The DNS resolver inet_res and file resolver inet_hosts now do not read OS configuration files until they are needed. Since the native resolver is default, in most cases they are never needed. The DNS resolver's automatic updating of OS configuration file data (/etc/resolv.conf) now uses the 'domain' keyword as default search domain if there is no 'search' keyword.
2010-02-09inet_res: /etc/resolv.conf: use domain as default search listRaimo Niskanen
When the search list option in /etc/resolv.conf was empty, the domain option was not used as default search domain. That has been fixed in this patch.
2010-02-09inet: delayed/avoided read of /etc/resolv.conf and /etc/hostsRaimo Niskanen
The 'file' and 'dns' lookup methods configuration files are now read and parsed at the time of the first lookup instead of at boot time when per default none of these lookup methods are used.
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP