Method code for $dns.startup()

[Turn off line numbering]
  1: arg @args;
  2: 
  3: (> .perms(sender(), 'system) <);
  4: .shutdown();
  5: if (!async)
  6:     return;
  7: catch any {
  8:     (> .startup_dns() <);
  9:     $sys.log("** Starting async DNS lookups at " + dnshost.join(":"));
 10: } with {
 11:     $sys.log("** Unable to startup async DNS lookups because:");
 12:     $sys.log("** => " + traceback()[1][2]);
 13: }

// Created 01-Jul-1997 as a part of ColdCore, see: @help Credit

Tlon