comparison make-tld-conf.py @ 307:c8144da09419

updated tld on 2015-10-15
author Carl Byington <carl@five-ten-sg.com>
date Fri, 27 May 2016 14:48:10 -0700
parents 3a3b0cbcaf6e
children 78eedbbce636
comparison
equal deleted inserted replaced
306:e71286542fbb 307:c8144da09419
33 rc = cmd("dig %s ns +short 2>&1" % x) 33 rc = cmd("dig %s ns +short 2>&1" % x)
34 if not rc: 34 if not rc:
35 rc = cmd("sleep 3; dig %s ns +short 2>&1" % x) 35 rc = cmd("sleep 3; dig %s ns +short 2>&1" % x)
36 if not rc: prefix = '// no ns record for ' 36 if not rc: prefix = '// no ns record for '
37 f.write('%s%s\n' % (prefix, x)) 37 f.write('%s%s\n' % (prefix, x))
38 f.write('\n')
39 f.write('// enable rdns as a tld, so *.reverse.softlayer.com is effective in the rpz zone\n')
40 f.write('reverse.softlayer.com\n')
41 f.write('sl-reverse.com\n')
38 f.close() 42 f.close()