
function demo(domain, ban, msg) {
  let n = Number(domain[0]) || 0;
  if (0 < n && n < 255) {
    // return ip or [ ip1 , ip2 ];
    return `192.168.12.${n}`;
  }
  if (/^\d+$/.test(domain[0])) {
    // return null
    // No results found
    // Leave it to other steps to continue searching
    return null;
  }
  // End the search, the final result is empty;
  // no ip match
  return ban;
}

function i192(domain, ban, msg) {
    let n = Number(domain[0]) || 0;
    return `192.168.12.${n}`;
}
