<commit_before>package main

import (
	"github.com/golang/glog"
	"github.com/miekg/dns"
	"github.com/shane-kerr/ymmv/dnsstub"
	"math/rand"
	"net"
	"sort"
	"strings"
	"sync"
	"time"
)

// starting point to find Yeti root servers
var yeti_root_hints = []string{
	"bii.dns-lab.net.",
	"yeti-ns.wide.ad.jp.",
	"yeti-ns.tisf.net.",
}

// allowed server-selection algorithms
var server_algorithms = map[string]bool{
	"rtt":         true,
	"round-robin": true,
	"random":      true,
	"all":         true,
}

// maximum TTL to use
//const MAX_TTL = 30
//const MAX_TTL = 300
const MAX_TTL = 86400<commit_msg>Change priming to work with IPv6-only servers<commit_after>package main

import (
	"github.com/golang/glog"
	"github.com/miekg/dns"
	"github.com/shane-kerr/ymmv/dnsstub"
	"math/rand"
	"net"
	"sort"
	"strings"
	"sync"
	"time"
)

// starting point to find Yeti root servers
var yeti_root_hints = []string{
	// we use IPv6 literals here, since for some reason the Go
	// net.DialTimeout() function seems to have stopped working
	// for IPv6-only hostnames
	"[fdf8:f53e:61e4::18]:53",   // bii.dns-lab.net
	"[2fc00:db20:35b:7399::5]:53", // yeti-ns.wide.ad.jp
	"[2fc00:e968:6179::de52:7100]:53", // yeti-ns.tisf.net
}

// allowed server-selection algorithms
var server_algorithms = map[string]bool{
	"rtt":         true,
	"round-robin": true,
	"random":      true,
	"all":         true,
}

// maximum TTL to use
//const MAX_TTL = 30
//const MAX_TTL = 300
const MAX_TTL = 86400
{'fraction_non_alphanumeric': 0.15907545887151597, 'fraction_numerical': 0.04418762746430999, 'mean_word_length': 3.380952380952381, 'pattern_counts': {'":': 8, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6467859', 'n_tokens_mistral': 660, 'n_tokens_neox': 612, 'n_words': 133}