* New instance in Chile

* Protection against timeouts
master
Stephane Bortzmeyer 9 years ago
parent cf84001fa9
commit 51a9093389
  1. 4
      db/dns-lg.yaml
  2. 4
      db/test-instances.py

@ -28,3 +28,7 @@
- endpoint: http://dnslg.verisignlabs.com/
contact: Duane Wessels <dwessels@verisign.com>
status: production
- endpoint: http://dns.vulcano.cl/
contact: hsalgado@vulcano.cl
status: besteffort

@ -75,7 +75,9 @@ if __name__ == '__main__':
except urllib2.URLError, e:
print "Can't connect to %s: %s" % (endpoint, str(e))
continue
except socket.timeout:
print "Can't connect to %s: timeout" % (endpoint)
continue
print endpoint
try:
reply = json.loads(content)

Loading…
Cancel
Save