主页

索引

模块索引

搜索页面

Inet Configuration

% erl -sname my_node -kernel inetrc '"./cfg_files/erl_inetrc"'

./cfg_files(Unix):

 1 %% -- ERLANG INET CONFIGURATION FILE --
 2 %% read the hosts file
 3 {file, hosts, "/etc/hosts"}.
 4 %% add a particular host
 5 {host, {134,138,177,105}, ["finwe"]}.
 6 %% do not monitor the hosts file
 7 {hosts_file, ""}.
 8 %% read and monitor nameserver config from here
 9 {resolv_conf, "/usr/local/etc/resolv.conf"}.
10 %% enable EDNS
11 {edns,0}.
12 %% disable caching
13 {cache_size, 0}.
14 %% specify lookup method
15 {lookup, [file, dns]}.

主页

索引

模块索引

搜索页面