aboutsummaryrefslogtreecommitdiff
path: root/ascension
diff options
context:
space:
mode:
authorrexxnor <rexxnor+gnunet@brief.li>2019-05-13 09:42:32 +0200
committerrexxnor <rexxnor+gnunet@brief.li>2019-05-13 09:42:32 +0200
commit5e364c54a254b2240e16cfe65b379dd0ef791ff7 (patch)
tree243971b656af1892b661c8ca0b3577fd5788c03b /ascension
parent08018c06a24c213862b82d1894aaad0c51f9778e (diff)
downloadascension-5e364c54a254b2240e16cfe65b379dd0ef791ff7.tar.gz
ascension-5e364c54a254b2240e16cfe65b379dd0ef791ff7.zip
fixed a bug with CNAME records
Diffstat (limited to 'ascension')
-rw-r--r--ascension/ascension.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ascension/ascension.py b/ascension/ascension.py
index cd85872..9171f0a 100644
--- a/ascension/ascension.py
+++ b/ascension/ascension.py
@@ -454,7 +454,7 @@ class Ascender():
454 if value[-1] == ".": 454 if value[-1] == ".":
455 value = value[:-1] 455 value = value[:-1]
456 else: 456 else:
457 value = "%s.%s" % (value, zonename) 457 value = "%s.%s" % (value, self.domain)
458 elif rdtype == 'NS': 458 elif rdtype == 'NS':
459 nameserver = str(record.target) 459 nameserver = str(record.target)
460 if nameserver[-1] == ".": 460 if nameserver[-1] == ".":