-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
module name changed to windowsdnsserver-py
- package name renamed to windowsdnsserver-py - more pythonic naming style - fix is_dns_server_module_installed
- Loading branch information
1 parent
4579f4f
commit bb70cde
Showing
21 changed files
with
179 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
## windowsdnsserver-py changelog | ||
|
||
### version 0.0.1 | ||
|
||
- DnsService implementation with PowerShell DNSServerModule | ||
- DnsService supports only TXT and A records for now | ||
- wrapper class to execute PowerShell commands on server -- PowerShellRunner | ||
- this version of module can be used as python library | ||
- implemented with pythonic naming style (underscores, lowercase words and etc.)`` | ||
- unit tests are written for current implementation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
microsoftdnsserver/command_runner/runner.py → windowsdnsserver/command_runner/runner.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
from typing import List | ||
|
||
from windowsdnsserver.dns.record import Record, RecordType | ||
from windowsdnsserver.exception.exception_common import MethodNotImplementedError | ||
|
||
|
||
class DNSService(object): | ||
|
||
def __init__(self): | ||
pass | ||
|
||
def get_dns_records(self, zone: str, name: str, record_type: RecordType) -> List[Record]: | ||
raise MethodNotImplementedError() | ||
|
||
def add_a_record(self, zone: str, name: str, ip: str, ttl: str) -> bool: | ||
raise MethodNotImplementedError() | ||
|
||
def remove_a_record(self, zone: str, name: str) -> bool: | ||
raise MethodNotImplementedError() | ||
|
||
def add_txt_record(self, zone: str, name: str, content, ttl: str) -> bool: | ||
raise MethodNotImplementedError() | ||
|
||
def remove_txt_record(self, zone: str, name: str) -> bool: | ||
raise MethodNotImplementedError() |
Oops, something went wrong.