v1.6.3: Make TXT class generate a TXT record.
TXT class was generating a CNAME, not a TXT record.
This commit is contained in:
parent
3069ba6357
commit
cc5e7f7c58
3 changed files with 3 additions and 3 deletions
2
Doxyfile
2
Doxyfile
|
@ -48,7 +48,7 @@ PROJECT_NAME = DNScode
|
|||
# could be handy for archiving the generated documentation or if some version
|
||||
# control system is used.
|
||||
|
||||
PROJECT_NUMBER = 1.6.2
|
||||
PROJECT_NUMBER = 1.6.3
|
||||
|
||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
||||
# for a project that appears at the top of each page and should give viewer a
|
||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||
|
||||
[project]
|
||||
name = "dnscode"
|
||||
version = "1.6.2"
|
||||
version = "1.6.3"
|
||||
authors = [
|
||||
{ name="Minecraftchest1", email="me@minec1.us" },
|
||||
]
|
||||
|
|
|
@ -185,7 +185,7 @@ class TXT(Record):
|
|||
#target: str
|
||||
|
||||
def __init__(self, name: str = '@', ttl: int = 3600, text: str = 'example.com'):
|
||||
self.rtype = 'CNAME'
|
||||
self.rtype = 'TXT'
|
||||
self.name = str(name)
|
||||
self.ttl = ttl
|
||||
self.data = text
|
||||
|
|
Loading…
Add table
Reference in a new issue