How to replicate equivalent to PS cmdlets Get-DnsServerZone and Get-DnsServerResourceRecord #188
Replies: 3 comments 3 replies
-
maybe check this out: https://github.com/rmbolger/DnsClient-PS I personally don't do much with powershel, so I cannot really help you ;) |
Beta Was this translation helpful? Give feedback.
-
Ah ok, no that was not clear. Then I don't really get what the problem is. The documentation should have enough examples of how to query records. Just query for A type records or whatever you need using whatever server you want to use. Regarding zone information, the DNS protocol has a query type |
Beta Was this translation helpful? Give feedback.
-
Well, as I said, TCP mode must be enabled for AXFR, that's just required per RFC -> |
Beta Was this translation helpful? Give feedback.
-
Hi, great library. Been trying to replicate an existing PS script in C# that retrieves DNS zones and resource records e.g.
but am struggling to see how to do this using DnsClient.NET. Am I just being thick? (every possibility) :-)
Beta Was this translation helpful? Give feedback.
All reactions