From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net Date: Sun, 1 May 2016 15:48:39 -0700 From: Skip Tavakkolian <9nut@9netics.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-epjiaakzzuxudxtnbbivkzegyx" Subject: [9fans] a script to update DNS root hints Topicbox-Message-UUID: 8e13d1b4-ead9-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-epjiaakzzuxudxtnbbivkzegyx Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit the /lib/ndb/local.complicated database in the distribution has an outdated list of root servers. the attached script reads the latest list from InterNIC and outputs it in ndb format. there is a dns bug, that i believe is triggered by the outdated root server configuration. it seems like a use-after-free; i've seen panics due to 'assert(rp->magic == RRmagic)' failure and during poolcheck. -Skip --upas-epjiaakzzuxudxtnbbivkzegyx Content-Type: application/x-shar Content-Disposition: attachment; filename=roothints.sh Content-Transfer-Encoding: base64 IyEvYmluL3JjCgpoZ2V0IGh0dHBzOi8vd3d3LmludGVybmljLm5ldC9kb21haW4vbmFtZWQu cm9vdCB8IAphd2sgJwpCRUdJTiB7aSA9IDA7fQovXjskLyB7bmV4dDt9Ci9eOyAuLyB7Cglj b21tZW50ID0gc3Vic3RyKCQwLCAyKTsKfQp7CglpZiAoJDMgPT0gIk5TIikgewoJCU5TZXNb aSsrXSA9ICQ0OwoJCXJvb3RzWyQ0LCJjb21tZW50Il0gPSBjb21tZW50OwoJfSBlbHNlIGlm ICgkMyA9PSAiQUFBQSIpIHsKCQlyb290c1skMSwiaXB2NiJdID0gJDQ7Cgl9IGVsc2UgaWYg KCQzID09ICJBIikgewoJCXJvb3RzWyQxLCJpcCJdID0gJDQ7Cgl9Cn0KRU5EIHsKCXByaW50 ICJkb209IgoJZm9yIChqID0gMDsgaiA8IGk7IGorKykgewoJCXIgPSBOU2VzW2pdCgkJcHJp bnQgIglucz0iIHN1YnN0cihyLCAxLCBsZW5ndGgociktMSk7Cgl9Cglmb3IgKGogPSAwOyBq IDwgaTsgaisrKSB7CgkJciA9IE5TZXNbal07CgkJcHJpbnQgImRvbT0iIHN1YnN0cihyLCAx LCBsZW5ndGgociktMSksICJpcD0iIHJvb3RzW3IsImlwIl0sIChsZW5ndGgocm9vdHNbciwi aXB2NiJdKT8gKCJpcHY2PSIgcm9vdHNbciwgImlwdjYiXSkgOiAiIiksICIjICIgcm9vdHNb ciwgImNvbW1lbnQiXQoJfQp9Jwo= --upas-epjiaakzzuxudxtnbbivkzegyx--