From a1eca4f1a58ccd04d684d743e24a5cc185433aea Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 3 Nov 2017 12:23:56 -0600 Subject: [PATCH 1/2] clarify (kinda) vanity nameserver comment --- lib/dns-store.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/dns-store.js b/lib/dns-store.js index 547385c..1462354 100644 --- a/lib/dns-store.js +++ b/lib/dns-store.js @@ -407,6 +407,9 @@ module.exports.query = function (input, query, cb) { console.log("It's NS"); // If it's a vanity NS, it's not a valid NS for lookup + // NOTE: I think that the issue here is EXTERNAL vs INTERNAL vanity NS + // We _should_ reply for EXTERNAL vanity NS... but not when it's listed on the SOA internally? + // It's surrounding the problem of what if I do sub domain delegation to the same server. if (-1 === db.primaryNameservers.indexOf(r.data.toLowerCase())) { console.log("It's a vanity NS"); return false; From 50b335aa61ff18f1fa6e6745bdd62ffb9af7b991 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 3 Nov 2017 15:39:59 -0600 Subject: [PATCH 2/2] update urls --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 4e85c29..9d664a3 100644 --- a/install.sh +++ b/install.sh @@ -9,9 +9,9 @@ chown -R digd:digd /opt/digd.js /srv/digd.js echo "v8.9.0" > /tmp/NODEJS_VER export NODE_PATH=/opt/digd.js/lib/node_modules export NPM_CONFIG_PREFIX=/opt/digd.js -curl -fsSL https://bit.ly/install-min-node -o ./install-node.sh.tmp -bash ./install-node.sh.tmp -rm ./install-node.sh.tmp +curl -fsSL https://git.coolaj86.com/coolaj86/node-installer.sh/raw/master/install.sh -o ./node-installer.sh.tmp +bash ./node-installer.sh.tmp +rm ./node-installer.sh.tmp /opt/digd.js/bin/node /opt/digd.js/bin/npm install -g npm@4 git clone https://git.coolaj86.com/coolaj86/digd.js /opt/digd.js/lib/node_modules/digd.js