ascension

Migrate DNS zones to the GNU Name System
Log | Files | Refs | README | LICENSE

commit d9073f8f4dac5ee6652ce4bc7d99ba3ed1469725
parent 11a548b7331d86dfee8f1601f4e077a963773d04
Author: rexxnor <rexxnor+gnunet@brief.li>
Date:   Fri, 24 May 2019 14:48:14 +0200

switched to namestore for SOA extraction from GNS

Diffstat:
Mascension/ascension.py | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/ascension/ascension.py b/ascension/ascension.py @@ -467,9 +467,14 @@ class Ascender(): :returns: serial of the SOA record in GNS """ try: - serial = sp.check_output([GNUNET_GNS_COMMAND, + #serial = sp.check_output([GNUNET_GNS_COMMAND, + # '-t', 'SOA', + # '-u', '%s' % self.domain,]) + serial = sp.check_output([GNUNET_NAMESTORE_COMMAND, + '-D', + '-z', self.domain, '-t', 'SOA', - '-u', '%s' % self.domain,]) + '-n', '@']) serial = serial.decode() except sp.CalledProcessError: serial = ""