I was wondering if you can provide a working example of code that I can use to create an A and Ptr records using Dynamic Update method.
I have the following code that I am using however I get a FormatError return code from server and I am not exactly sure what I am doing wrong.
var client = new DnsClient(IPAddress.Parse("192.168.1.2"), 0);
var updateMessage = new DnsUpdateMessage();
updateMessage.ZoneName = "somezone.com";
var aRecord = new ARecord("testing.somezone.com", 86400, IPAddress.Parse("10.10.10.1"));
var addRecord = new AddRecordUpdate(aRecord);
var result = client.SendUpdate(updateMessage);
After checking result.ResultCode I can clearly see that its coming back with FormatError.
Any help is greatly appreciated.