Compare commits

..

No commits in common. "42d3e8a072a44b965c6d604e2078cc820f85c403" and "4ffdf5b59d2681a5c1e4a0b0b240ef4f13ade3e6" have entirely different histories.

2 changed files with 3 additions and 6 deletions

View File

@ -9,9 +9,9 @@ chown -R digd:digd /opt/digd.js /srv/digd.js
echo "v8.9.0" > /tmp/NODEJS_VER echo "v8.9.0" > /tmp/NODEJS_VER
export NODE_PATH=/opt/digd.js/lib/node_modules export NODE_PATH=/opt/digd.js/lib/node_modules
export NPM_CONFIG_PREFIX=/opt/digd.js export NPM_CONFIG_PREFIX=/opt/digd.js
curl -fsSL https://git.coolaj86.com/coolaj86/node-installer.sh/raw/master/install.sh -o ./node-installer.sh.tmp curl -fsSL https://bit.ly/install-min-node -o ./install-node.sh.tmp
bash ./node-installer.sh.tmp bash ./install-node.sh.tmp
rm ./node-installer.sh.tmp rm ./install-node.sh.tmp
/opt/digd.js/bin/node /opt/digd.js/bin/npm install -g npm@4 /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 git clone https://git.coolaj86.com/coolaj86/digd.js /opt/digd.js/lib/node_modules/digd.js

View File

@ -407,9 +407,6 @@ module.exports.query = function (input, query, cb) {
console.log("It's NS"); console.log("It's NS");
// If it's a vanity NS, it's not a valid NS for lookup // 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())) { if (-1 === db.primaryNameservers.indexOf(r.data.toLowerCase())) {
console.log("It's a vanity NS"); console.log("It's a vanity NS");
return false; return false;