-
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.
run cmd to log from single point, check module is installed
- Loading branch information
1 parent
c8eb492
commit 6446b93
Showing
2 changed files
with
52 additions
and
10 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 @@ | ||
from microsoftdnsserver.command_runner.powershell_runner import PowerShellRunner | ||
from microsoftdnsserver.dns.dnsserver import DnsServerModule | ||
|
||
if __name__ == '__main__': | ||
runner = PowerShellRunner() | ||
dns = DnsServerModule(runner) | ||
|
||
# dns.addARecord("zone", "bilalekrem.com", "192.168.100.150", ttl='10s') | ||
|
||
dns.addTxtRecord("bilalekrem.com", "bilalekrem.com", "testrecord", ttl='10s') |
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