miekg / dns

DNS library in Go
https://miek.nl/2014/august/16/go-dns-package
BSD 3-Clause "New" or "Revised" License
8k stars 1.13k forks source link

Question: Can this library be used to script DNS changes on a Windows DNS server? #1451

Closed MarkKharitonov closed 1 year ago

MarkKharitonov commented 1 year ago

Given:

Assuming the go code would be run by the same build service is it possible to modify that same DNS zone using this library? For example, what would be the equivalent of the aforementioned Powershell command?

I have also asked this question here - https://stackoverflow.com/questions/76020621/how-to-update-windows-dns-using-golang-instead-of-powershell

tmthrgd commented 1 year ago

No idea honestly. You could disassemble the PowerShell command to see what it's doing.

I'm going to close this though as this library simply implemented the various DNS RFCs. However windows might do things is out of scope, sorry.